CVE-2026-123587
JSON

8.9high

Hickory-DNS 0.26.0 before 0.26.2 DNSSEC Nonexistence Forgery via Wraparound NSEC

Severity
8.9high CVSS:4.0 by VulnCheck
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
RUSTSEC-2026-0508GHSA-qw83-5pm2-ggp5

Description

The DNSSEC validation in the Hickory DNS hickory-net crate 0.26.0 before 0.26.2 identifies wraparound NSEC records by comparing the next domain name to an SOA record in the response, accepting that SOA even if it fails validation. Attackers who can supply DNS responses can combine a genuine NSEC record and its RRSIG with a crafted SOA record to forge nonexistence of any RRset.

Affected

Product or packageVersionsReported by
hickory-dns hickory-dnsfrom 0.26.0 before 0.26.2
Not affected: 0.26.2
CVE List
hickory-net (crates.io)from 0.26.0 before 0.26.2RustSec Advisory Database

All scores

VulnCheck8.9high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
VulnCheck6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N

Classification

CWE-290

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The DNSSEC validation in the Hickory DNS hickory-net crate 0.26.0 before 0.26.2 identifies wraparound NSEC records by comparing the next domain name to an SOA record in the response, accepting that SOA even if it fails validation. Attackers who can supply DNS responses can combine a genuine NSEC record and its RRSIG with a crafted SOA record to forge nonexistence of any RRset.

RustSec Advisory Database

The last NSEC record in a zone points back to the zone apex. To recognise it, DNSSEC validation treated an NSEC record as covering every name after its owner when its next domain name equalled the owner name of an SOA record in the response. That SOA record did not have to pass validation.

An attacker who can answer or modify DNS responses can replay a genuine NSEC record and its RRSIG, add a forged SOA record whose name equals that NSEC record's next domain name, and so make the validator accept that any name sorting after the NSEC owner does not exist.

This affects DNSSEC validation through DnssecDnsHandle when built with dnssec-ring or dnssec-aws-lc-rs.

The fix recognises a wraparound NSEC record from the chain itself (its next domain name sorts at or before its owner and is the zone of the queried name) and only uses validated SOA records. It is in 0.26.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-123587 changed 2026-11-13CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0508 changed 2026-11-12CC0-1.0
NVDCVE-2026-123587 changed 2026-11-13Public domain