DNS cache poisoning via raced non-ECS replies
Published Jul 16, 2025 · Updated Nov 3, 2025
DNS cache poisoning in NLnet Labs Unbound 1.6.2 through 1.23.0 allows remote attackers to cache forged non-ECS replies. With ECS query segregation enabled, the resolver accepts a raced non-ECS reply whose guessed transaction ID matches an outstanding ECS query instead of preserving query aggregation. Exploitation requires an ECS-enabled build, outbound ECS configuration, attacker-triggered segregated queries, and a forged reply that wins the race; successful poisoning redirects later DNS resolutions.
Summary
What happened
DNS cache poisoning in NLnet Labs Unbound 1.6.2 through 1.23.0 allows remote attackers to cache forged non-ECS replies. With ECS query segregation enabled, the resolver accepts a raced non-ECS reply whose guessed transaction ID matches an outstanding ECS query instead of preserving query aggregation. Exploitation requires an ECS-enabled build, outbound ECS configuration, attacker-triggered segregated queries, and a forged reply that wins the race; successful poisoning redirects later DNS resolutions.
The record
- CVE
- CVE-2025-5994
- Published
- Jul 16, 2025
- Updated
- Nov 3, 2025
- Vendor
- NLnet Labs
- Product
- Unbound
- Classifications
- CWE-349, CAPEC-142, T1565.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 16, 2025CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.6.2 <1.23.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo