{
  "id": "CVE-2025-5994",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-5994",
  "published_at": "2025-07-16T14:38:22.738Z",
  "title": "Cache poisoning via the ECS-enabled Rebirthday Attack",
  "vendor": "NLnet Labs",
  "product": "Unbound",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/R:U/V:C"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A multi-vendor cache poisoning vulnerability named 'Rebirthday Attack' has been discovered in caching resolvers that support EDNS Client Subnet (ECS). Unbound is also vulnerable when compiled with ECS support, i.e., '--enable-subnet', AND configured to send ECS information along with queries to upstream name servers, i.e., at least one of the 'send-client-subnet', 'client-subnet-zone' or 'client-subnet-always-forward' options is used. Resolvers supporting ECS need to segregate outgoing queries to accommodate for different outgoing ECS information. This re-opens up resolvers to a birthday paradox attack (Rebirthday Attack) that tries to match the DNS transaction ID in order to cache non-ECS poisonous replies.",
  "cwe": "CWE-349",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "NLnet Labs",
        "product": "Unbound",
        "ranges": [
          "\u003e= 1.6.2, \u003c 1.23.0"
        ],
        "fixed_in": [
          "1.23.0"
        ]
      }
    ],
    "solutions": [
      "This issue is fixed in 1.23.1 and all later versions. Not using EDNS Client Subnet (ECS) is also a mitigation for affected versions."
    ],
    "upgrade": [
      "Upgrade Unbound to 1.23.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://nlnetlabs.nl/downloads/unbound/CVE-2025-5994.txt"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
