low · CVSS v3 3.7 · EPSS 0.0011
CVE-2026-35501
Unbound DNS resolver versions 1.0.1 through 1.26.1 can incorrectly accept forged NSEC records when configured with a root trust anchor and a
Overview
Unbound DNS resolver versions 1.0.1 through 1.26.1 can incorrectly accept forged NSEC records when configured with a root trust anchor and an island‑of‑security zone, allowing a malicious actor to bypass DNSSEC validation. This flaw arises from legacy handling of DS and NSEC queries at the trust anchor apex. The vulnerability could lead to DNS spoofing or cache poisoning in misconfigured deployments.
Description
When NLnet Labs Unbound 1.0.1 up to and including version 1.26.1 is configured with both a root trust anchor and an additional 'trust-anchor:' for an island-of-security zone whose parent is provably insecure under the root chain, a malicious actor with a forged NSEC reply with the SOA bit cleared can trick Unbound to treat the configured trust island as insecure. This happens because the DNSSEC validator in Unbound accepts and caches the NSEC insecure response bypassing the RRSIG validation that the validator was supposed to do. The acceptance of the NSEC record at the trust anchor apex was allowed due to and old fix for type DS and NSEC queries from clients when trust anchor for that name existed.
Impact
The flaw compromises DNSSEC integrity by allowing forged NSEC responses to be cached, potentially enabling attackers to redirect or spoof domain name resolutions. Network operators relying on Unbound for DNSSEC validation are at risk of serving incorrect records to clients, undermining trust in the DNS infrastructure.
Remediation
Upgrade Unbound to version 1.26.2 or later where the NSEC handling bug is fixed. If upgrading is not immediately possible, remove or correct any island‑of‑security trust‑anchor configurations and ensure that only valid DS records are trusted. Verify that the validator is not accepting NSEC records with the SOA bit cleared and monitor logs for unexpected NSEC responses.
Risk context
The CVSS v3 score is 3.7 (low) and the EPSS is 0.0011, indicating a very low probability of exploitation in the wild. Nonetheless, defenders should apply the patch promptly to eliminate the possibility of DNS spoofing in misconfigured environments.
Affected products
- Unbound 1.0.1
- Unbound 1.26.1
- Unbound 1.26.0
- Unbound 1.25.0
- Unbound 1.24.0
- Unbound 1.23.0
- Unbound 1.22.0
- Unbound 1.21.0
Scores
- Severity
- low
- CVSS v2
- 2.6
- CVSS v3
- 3.7
- CVSS v4
- —
- EPSS
- 0.0011