cve.bz

CVE-2025-5994 (RebirthDay Attack) nlnet labs unbound

8.7 highEPSS 0.2%

Known as RebirthDay Attack

High (8.7) in nlnet labs unbound. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.7 high
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-07-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-5994 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5994?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5994?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-5994 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NLnet Labs Unboundfrom 1.6.2 before 1.23.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11unbound1.13.1-1+deb11u5DLA-4280-1
Debian12unbound1.17.1-2+deb12u3DEBIAN-CVE-2025-5994 DSA-5987-1
Debian13, 14unbound1.22.0-2DEBIAN-CVE-2025-5994
Ubuntu22.04:LTSunbound1.13.1-1ubuntu5.11UBUNTU-CVE-2025-5994 USN-7666-1
Ubuntu24.04:LTSunbound1.19.2-1ubuntu3.5UBUNTU-CVE-2025-5994 USN-7666-1
Ubuntu25.10unbound1.22.0-2ubuntu1UBUNTU-CVE-2025-5994
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 moreunboundno fix listedUBUNTU-CVE-2025-5994
Red Hatenterprise_linux:8::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.16.2-5.9.el8_10RHSA-2025:11884
Red Hatenterprise_linux:9::appstreamunbound, unbound-libs, unbound-dracut and 5 more0:1.16.2-19.el9_6.1RHSA-2025:11849
Red Hatenterprise_linux:9::crbunbound-devel, unbound-debuginfo, unbound-debugsource and 2 more0:1.16.2-19.el9_6.1RHSA-2025:11849
Red Hatenterprise_linux:10.0unbound, unbound-libs, unbound-devel and 9 more0:1.20.0-12.el10_0RHSA-2025:12064
Red Hatrhel_aus:8.2::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.7.3-12.el8_2.2RHSA-2025:13576
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.7.3-15.el8_4.2RHSA-2025:13575
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.7.3-17.el8_6.6RHSA-2025:13577
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.16.2-5.el8_8.5RHSA-2025:12929
Red Hatrhel_e4s:9.0::appstreamunbound, unbound-libs, python3-unbound and 4 more0:1.13.1-13.el9_0.5RHSA-2025:12520
Red Hatrhel_e4s:9.2::appstreamunbound, unbound-libs, python3-unbound and 4 more0:1.16.2-3.el9_2.5RHSA-2025:12523
Red Hatrhel_eus:9.4::appstreamunbound, unbound-libs, python3-unbound and 4 more0:1.16.2-8.el9_4.2RHSA-2025:12416
Red Hatrhel_eus:9.4::crbunbound-devel, unbound-debuginfo, unbound-debugsource and 2 more0:1.16.2-8.el9_4.2RHSA-2025:12416
openSUSETumbleweedunbound1.23.1-1.1openSUSE-SU-2025:15435-1
AlmaLinux8unbound, unbound-libs, unbound-devel and 1 more1.16.2-5.9.el8_10ALSA-2025:11884
AlmaLinux9unbound, unbound-libs, unbound-devel and 2 more1.16.2-19.el9_6.1ALSA-2025:11849
AlmaLinux10unbound, unbound-libs, unbound-devel and 3 more1.20.0-12.el10_0ALSA-2025:12064
Rocky Linux8unbound0:1.16.2-5.9.el8RLSA-2025:11884
Rocky Linux9unbound0:1.16.2-19.el9_6.1RLSA-2025:11849
Alpinev3.19, v3.20unbound1.20.0-r2ALPINE-CVE-2025-5994
Alpinev3.21unbound1.22.0-r1ALPINE-CVE-2025-5994
Alpinev3.22, v3.23, v3.24unbound1.23.1-r0ALPINE-CVE-2025-5994

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is considered Important rather than Moderate because it directly compromises the integrity of DNS caching mechanisms in resolvers supporting EDNS Client Subnet (ECS). The flaw allows an attacker to exploit the birthday paradox by generating a high volume of concurrent queries with different ECS values, thereby increasing the chance of a transaction ID collision with a spoofed response. If the resolver fails to properly segregate cache entries by ECS scope, it may accept and cache a malicious non-ECS response, effectively leading to DNS cache poisoning. Unlike typical poisoning attempts that require precise timing or privileged network positions, this attack can be carried out remotely with a high success rate, especially in resolvers that do not correctly isolate ECS queries.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10unbound-0:1.20.0-12.el10_0Fixed 2025-07-29RHSA-2025:12064
Red Hat Enterprise Linux 8unbound-0:1.16.2-5.9.el8_10Fixed 2025-07-28RHSA-2025:11884
Red Hat Enterprise Linux 8.2 Advanced Update Supportunbound-0:1.7.3-12.el8_2.2Fixed 2025-08-11RHSA-2025:13576
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunbound-0:1.7.3-15.el8_4.2Fixed 2025-08-11RHSA-2025:13575
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunbound-0:1.7.3-15.el8_4.2Fixed 2025-08-11RHSA-2025:13575
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunbound-0:1.7.3-17.el8_6.6Fixed 2025-08-11RHSA-2025:13577
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceunbound-0:1.7.3-17.el8_6.6Fixed 2025-08-11RHSA-2025:13577
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsunbound-0:1.7.3-17.el8_6.6Fixed 2025-08-11RHSA-2025:13577
Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunbound-0:1.16.2-5.el8_8.5Fixed 2025-08-05RHSA-2025:12929
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunbound-0:1.16.2-5.el8_8.5Fixed 2025-08-05RHSA-2025:12929
Red Hat Enterprise Linux 9unbound-0:1.16.2-19.el9_6.1Fixed 2025-07-28RHSA-2025:11849
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsunbound-0:1.13.1-13.el9_0.5Fixed 2025-08-04RHSA-2025:12520
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunbound-0:1.16.2-3.el9_2.5Fixed 2025-08-04RHSA-2025:12523
Red Hat Enterprise Linux 9.4 Extended Update Supportunbound-0:1.16.2-8.el9_4.2Fixed 2025-07-31RHSA-2025:12416
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202510291903-0Fixed 2025-11-13RHSA-2025:19894
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202510150118-0Fixed 2025-10-23RHSA-2025:18240
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202510211419-0Fixed 2025-10-30RHSA-2025:19041
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202609140326-0Fixed 2026-09-28RHSA-2026:67857
Red Hat Enterprise Linux 6unboundOut of support scope
Red Hat Enterprise Linux 7unboundOut of support scope
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-5994.

Attack patterns (CAPEC)

  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-141 Cache Poisoning Likelihood: High · Severity: High
  • CAPEC-142 DNS Cache Poisoning Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON