CVE-2025-5994

Cache poisoning via the ECS-enabled Rebirthday Attack

State
Published
Severity
8.7 High
Published
Jul 16, 2025
Updated
Nov 3, 2025
Reserved
Jun 11, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS: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:CNLnet Labs

Weaknesses

  • CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data

Affected Products

ProductVersions
UnboundNLnet Labs
  • 1.6.2 to before 1.23.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.