We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-5994

Cache poisoning via the ECS-enabled Rebirthday Attack



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.

Reserved 2025-06-11 | Published 2025-07-16 | Updated 2025-07-16 | Assigner NLnet Labs


HIGH: 8.7CVSS: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

Compiled and configured for ECS support

Problem types

CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data

Product status

Default status
unaffected

1.6.2 before 1.23.0
affected

Timeline

2025-01-02:Issue reported by Xiang Li
2025-01-03:Issue acknowledged by NLnet Labs
2025-01-08:Mitigation shared with Xiang Li
2025-07-16:Fix released with Unbound 1.23.1 (coordinated with other vendors)

Credits

Xiang Li (AOSP Lab, Nankai University) finder

References

nlnetlabs.nl/downloads/unbound/CVE-2025-5994.txt vendor-advisory

cve.org (CVE-2025-5994)

nvd.nist.gov (CVE-2025-5994)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-5994

Support options

Helpdesk Chat, Email, Knowledgebase