Acceptance of Extraneous Untrusted Data With Trusted Data in Unbound - CVE-2025-5994

 

Acceptance of Extraneous Untrusted Data With Trusted Data in Unbound - CVE-2025-5994

Published: July 21, 2025


Vulnerability identifier: #VU113077
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N]
CVE-ID: CVE-2025-5994
CWE-ID: CWE-349
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform cache poisoning attacks.

The vulnerability exists due to a logic error in the EDNS Client Subnet (ECS) implementation. A remote attacker can perform cache poisoning attacks against Unbound servers with ECS support, a.k.a. Rebirthday Attack.

Successful exploitation of the vulnerability requires that the server is compiled with '--enable-subnet' and configured to send ECS information to upstream name servers with at least one of the 'send-client-subnet', 'client-subnet-zone' or 'client-subnet-always-forward' options.


Affected software

Unbound
Debian Linux
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
openEuler
Ubuntu
Fedora
Oracle Solaris
Netcool Operations Insight
IBM Qradar SIEM
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
unbound (Red Hat package)
unbound (Ubuntu package)
unbound-libs
unbound-help
unbound-devel
unbound-debugsource
unbound-debuginfo
unbound-anchor
unbound
python3-unbound
unbound (Debian package)
unbound-utils
Red Hat OpenShift Container Platform
Juniper Junos Space

How to mitigate CVE-2025-5994

Install updates from vendor's website.

Unbound - update to 1.23.1
Netcool Operations Insight - update to 1.6.15
IBM Qradar SIEM - update to 7.5.0 Update Pack 13 IF02
unbound (Red Hat package) - addressed in versions 1.7.3-12.el8_2.2, 1.7.3-15.el8_4.2, 1.7.3-17.el8_6.6, 1.13.1-13.el9_0.5, 1.16.2-3.el9_2.5, 1.16.2-5.el8_8.5, 1.16.2-5.9.el8_10, 1.16.2-8.el9_4.2, 1.16.2-19.el9_6.1, 1.20.0-12.el10_0
unbound (Ubuntu package) - addressed in versions 1.13.1-1ubuntu5.11, 1.19.2-1ubuntu3.5, 1.22.0-1ubuntu1.1
unbound-libs - update to 1.13.2-18
unbound-help - update to 1.13.2-18
unbound-devel - update to 1.13.2-18
unbound-debugsource - update to 1.13.2-18
unbound-debuginfo - update to 1.13.2-18
unbound-anchor - update to 1.13.2-18
unbound - update to 1.13.2-18
python3-unbound - update to 1.13.2-18
unbound-libs - addressed in versions 1.16.2-9, 1.17.1-8
unbound-devel - addressed in versions 1.16.2-9, 1.17.1-8
unbound - addressed in versions 1.16.2-9, 1.17.1-8
python3-unbound - addressed in versions 1.16.2-9, 1.17.1-8
unbound (Debian package) - update to 1.17.1-2+deb12u3
unbound-utils - update to 1.17.1-8
unbound-anchor - update to 1.17.1-8
unbound - update to 1.23.1-1.fc42
Red Hat OpenShift Container Platform - addressed in versions 4.12.82, 4.13.61, 4.14.55, 4.14.58, 4.15.56, 4.16.46, 4.17.42, 4.18.22, 4.18.27, 4.19.17, 4.20.0
Oracle Solaris - addressed in versions 11.3 ESU 36.35, 11.4 SRU 89
Juniper Junos Space - update to 26.1R1 Patch V1

External References

Related Security Bulletins