CVE-2026-123599
JSON

6.3medium

Hickory DNS before 0.26.0-beta.1 DNSSEC Validation Bypass via Non-IN Class Records

Severity
6.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
RUSTSEC-2026-0551GHSA-wjgj-fvg9-65w9RUSTSEC-2026-0558

Description

Hickory DNS hickory-proto before 0.26.0-beta.1 and hickory-net before 0.26.2 contain a DNSSEC validation bypass because verify_rrsets() ignores DNS class when partitioning RRsets, so non-IN records skip signature verification yet are marked secure when the IN records verify. Attackers able to supply DNS responses can include forged CH or HS class records, including DS records, to authenticate any DNSKEY and forge child zone responses.

Affected

Product or packageVersionsReported by
hickory-dns hickory-dnsbefore 0.26.0-beta.1, from 0.26.0-beta.1 before 0.26.2
Not affected: 0.26.0-beta.1, 0.26.2
CVE List
hickory-proto (crates.io)from 0.0.0-0 before 0.26.0-beta.1RustSec Advisory Database
hickory-net (crates.io)from 0.0.0-0 before 0.26.2RustSec Advisory Database

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-345

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

What each source says

CVE List

Hickory DNS hickory-proto before 0.26.0-beta.1 and hickory-net before 0.26.2 contain a DNSSEC validation bypass because verify_rrsets() ignores DNS class when partitioning RRsets, so non-IN records skip signature verification yet are marked secure when the IN records verify. Attackers able to supply DNS responses can include forged CH or HS class records, including DS records, to authenticate any DNSKEY and forge child zone responses.

RustSec Advisory Database

Before 0.26.0-beta.1, hickory-proto's DNSSEC validation ignored the DNS class when grouping records into RRsets and left records of a class other than IN out of signature checking, then marked them secure if the IN records validated. Someone who can answer or modify DNS responses could add forged records of another class, including a DS record, and have them returned as validated.

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 older hickory-proto releases (directly or through hickory-resolver or hickory-recursor) should move to the 0.26.2 or later releases, which validate through hickory-net.

RustSec Advisory Database

When DNSSEC validation grouped a response's records into RRsets, it did not take the DNS class into account, and records of a class other than IN were left out before signatures were checked. If the IN records validated, the records of other classes (such as CH or HS) were marked secure too.

An attacker who can answer or modify DNS responses can add forged records of another class to a response and have them returned as validated. A forged DS record of another class can also get past validation, which lets any DNSKEY for the child zone be accepted and any answer from that zone be forged. How much this matters depends on how the application treats records of an unexpected class.

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

The fix rejects a whole response if any record in its answer, authority or additional section has a class different from the query's.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-123599 changed 2026-11-13CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0551 changed 2026-11-17CC0-1.0
RustSec Advisory DatabaseRUSTSEC-2026-0558 changed 2026-11-17CC0-1.0
NVDCVE-2026-123599 changed 2026-11-13Public domain