CVE-2025-5994 Details
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.
A cache poisoning vulnerability known as the 'Rebirthday Attack' has been identified in Unbound DNS resolver versions 1.6.2 prior to 1.23.0, when compiled with EDNS Client Subnet (ECS) support and configured to send ECS information to upstream name servers. This vulnerability allows a malicious actor to exploit the DNS transaction ID matching process, leading to the caching of non-ECS poisonous replies.
Users can upgrade to Unbound version 1.23.1, which includes a fix for the Rebirthday Attack vulnerability. The patched version can be downloaded from the NLnet Labs Unbound download page. For users on Unbound 1.23.0, a manual patch is available and can be applied by following the provided instructions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 16, 2025CISA-ADP
Assessed Jul 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/08/msg00019.html | CVE | |
| https://nlnetlabs.nl/downloads/unbound/CVE-2025-5994.txt | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-349 | Acceptance of Extraneous Untrusted Data With Trusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NLnet Labs Unbound | >= 1.6.2, <= 1.23.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 16, 2025 | New CVE Received | [email protected] |
Volerion