{"id":"CVE-2025-5994","published":"2025-07-16T14:38:22Z","modified":"2025-11-03T18:13:56Z","title":"Cache poisoning via the ECS-enabled Rebirthday Attack","vendor":"NLnet Labs","product":"Unbound","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00218,"percentile":0.12583,"provenance":"source"},"cwes":[{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"}],"references":[{"url":"https://nlnetlabs.nl/downloads/unbound/CVE-2025-5994.txt","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00019.html","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":2.52},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"nlnet-labs","affectedVersions":[{"vendor":"NLnet Labs","product":"Unbound","versions":[">= 1.6.2, < 1.23.0"]}],"solutions":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-16T15:42:14.147972Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21730","exploited":false,"provenance":"source"}}