VDB

CVE-2025-5994

CVE-2025-5994 PUBLISHED CVSS 8.7 HIGH

Cache poisoning via the ECS-enabled Rebirthday Attack

Reported by nlnet labs · Published July 16, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
unboundAlpine1.23.1-r0, 1.22.0-r1, 1.20.0-r2
unbound-develerrata.rockylinux.org1.16.2-5.9.el8.x86, 1.16.2-5.9.el8.i686, 1.16.2-5.9.el8.aarch64
unbound-develAmazon Linux1.17.1-1.amzn2023.0.8, 1.7.3-15.amzn2.0.10
unbounderrata.rockylinux.org1.16.2-5.9.el8.x86, 1.16.2-5.9.el8.src, 1.16.2-5.9.el8.aarch64
unbound-libsAmazon Linux1.17.1-1.amzn2023.0.8, 1.7.3-15.amzn2.0.10
unbound-anchorAmazon Linux1.17.1-1.amzn2023.0.8
unbound-libserrata.rockylinux.org1.16.2-5.9.el8.x86, 1.16.2-5.9.el8.i686, 1.16.2-5.9.el8.aarch64
unbound-libs-debuginfoerrata.rockylinux.org1.16.2-5.9.el8.aarch64
unbound-utilsAmazon Linux1.17.1-1.amzn2023.0.8
python3-unbounderrata.rockylinux.org1.16.2-5.9.el8.x86, 1.16.2-5.9.el8.aarch64
unboundAmazon Linux1.17.1-1.amzn2023.0.8, 1.7.3-15.amzn2.0.10
python3-unboundAmazon Linux1.17.1-1.amzn2023.0.8, 1.7.3-15.amzn2.0.10

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
8.7
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

Affected products

VendorProductVersions
NLnet LabsUnbound1.6.2
alpineunbound0, 0, 0
amazon:2023unbound-devel0
amazon:2023unbound-libs0
amazon:2023unbound-anchor0
amazon:2023unbound-utils0
amazon:2unbound0
amazon:2python3-unbound0
amazon:2023python3-unbound0
amazon:2023unbound0
amazon:2unbound-devel0
NLnet LabsUnbound1.6.2
amazon:2unbound-libs0
amazon:2python2-unbound0

Timeline

  • Jul 16, 2025 CVE Published
  • Jul 17, 2025 EPSS Score (30 in total, the first dated here)
  • Nov 3, 2025 CVE Updated
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • May 30, 2026 Security Advisory (18 in total, the first dated here)
  • Jun 8, 2026 Distribution Patch (18 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-5994
vulnetix vdb fixes CVE-2025-5994

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5994/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›