8.3high
Hickory DNS 0.26.0-beta.1 before 0.26.2 NSEC3 Proof of Nonexistence Forgery
- Severity
- 8.3high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.34% (higher than 29% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- RUSTSEC-2026-0504GHSA-588m-chg6-8jqjRUSTSEC-2026-0506
Description
Hickory DNS hickory-proto 0.25.0 through 0.26.0-alpha.1 and hickory-net 0.26.0-beta.1 before 0.26.2 invert the relational operators in the wrap-around branch of find_covering_record() in nsec3.rs, so the last NSEC3 record in a zone's hash ring covers every hash except its owner. Attackers able to inject DNS responses can replay that NSEC3 record and its RRSIG to forge DNSSEC-validated negative responses denying legitimate names.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| hickory-dns hickory-dns | from 0.26.0-beta.1 before 0.26.2, from 0.25.0 up to 0.26.0-alpha.1 Not affected: 0.26.2 | CVE List |
| hickory-proto (crates.io) | from 0.25.0 before 0.26.0-beta.1 | RustSec Advisory Database |
| hickory-net (crates.io) | from 0.0.0-0 before 0.26.2 | RustSec Advisory Database |
All scores
| VulnCheck | 8.3high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Hickory DNS hickory-proto 0.25.0 through 0.26.0-alpha.1 and hickory-net 0.26.0-beta.1 before 0.26.2 invert the relational operators in the wrap-around branch of find_covering_record() in nsec3.rs, so the last NSEC3 record in a zone's hash ring covers every hash except its owner. Attackers able to inject DNS responses can replay that NSEC3 record and its RRSIG to forge DNSSEC-validated negative responses denying legitimate names.
RustSec Advisory Database
In hickory-proto 0.25.0 through 0.26.0-alpha.1, DNSSEC validation handled the last NSEC3 record of a zone's hash chain with its two comparisons reversed. That record was treated as covering almost every hash it does not cover, so an attacker who can answer or modify DNS responses could replay it, with its RRSIG, to forge proofs that existing names have no records.
From 0.26.0-beta.1 the DNSSEC validation code lives in the hickory-net crate, where this was fixed in hickory-net 0.26.2. No hickory-proto release contains a fix. Users of DNSSEC validation in hickory-proto 0.25 (directly or through hickory-resolver or hickory-recursor 0.25) should move to the 0.26.2 or later releases, which validate through hickory-net.
RustSec Advisory Database
When DNSSEC validation looks for the NSEC3 record that covers a hashed name, the last record in the zone's hash chain needs special handling, because its next hashed owner name sorts before its own hash. For that record the two comparisons were reversed: it was treated as covering every hash below its owner hash or above its next hash, which is mostly the part of the chain it does not cover.
An attacker who can answer or modify DNS responses can replay that one signed NSEC3 record, with its RRSIG, from the target zone and use it in forged negative answers. The validator then accepts proof that names which do exist have no records.
This affects DNSSEC validation through DnssecDnsHandle (resolver, recursor and client) when built with dnssec-ring or dnssec-aws-lc-rs. The same code was in hickory-proto before it moved to hickory-net.
The fix corrects the comparison in find_covering_record. It is in 0.26.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-123601 changed 2026-11-10 | CVE Terms of Use |
| RustSec Advisory Database | RUSTSEC-2026-0504 changed 2026-11-12 | CC0-1.0 |
| RustSec Advisory Database | RUSTSEC-2026-0506 changed 2026-11-12 | CC0-1.0 |
| NVD | CVE-2026-123601 changed 2026-11-10 | Public domain |