{"id":"CVE-2026-123591","aliases":["CVE-2026-123591","RUSTSEC-2026-0531","GHSA-7php-9j59-g3ch","RUSTSEC-2026-0540"],"related":[],"kind":"vulnerability","state":"published","title":"Hickory DNS 0.26.0-beta.1 before 0.26.2 DNSSEC Validation Bypass via Missing RFC 6840 Checks","summary":"Hickory DNS hickory-net 0.26.0-beta.1 before 0.26.2 and hickory-proto through 0.26.0-alpha.1 fail to verify, per RFC 6840 §4.4, that an NSEC or NSEC3 record denying a DS RRset also proves the delegation's NS record exists. Attackers can reuse child-side NSEC or NSEC3 records to fake an insecure delegation and forge child-zone records.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hickory DNS hickory-net 0.26.0-beta.1 before 0.26.2 and hickory-proto through 0.26.0-alpha.1 fail to verify, per RFC 6840 §4.4, that an NSEC or NSEC3 record denying a DS RRset also proves the delegation's NS record exists. Attackers can reuse child-side NSEC or NSEC3 records to fake an insecure delegation and forge child-zone records.","source":"cvelist"},{"lang":"en","text":"Up to 0.26.0-alpha.1, hickory-proto's DNSSEC validation accepted an NSEC or NSEC3 record from the child side of a zone cut, which has the SOA bit set, as proof that the parent has no DS record for the delegation (RFC 4035 section 5.2, RFC 6840 section 4.4). Someone who can answer or modify DNS responses could make a secure delegation look insecure and then forge records in the child zone.\n\nFrom 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.","format":"markdown","source":"rustsec"},{"lang":"en","text":"To show that a delegation is insecure, a validator needs proof that the parent zone has no DS record for it. That proof must come from the parent side of the zone cut: RFC 4035 section 5.2, RFC 5155 section 8.9 and RFC 6840 section 4.4 require the matching NSEC or NSEC3 record not to have the SOA bit set, since a record with SOA comes from the child zone's apex.\n\nDNSSEC validation did not check this. An attacker who can answer or modify DNS responses can answer a DS query with the child zone's own signed NSEC or NSEC3 record for its apex, which does not list DS, and have the validator accept that the delegation is insecure. Records in the child zone can then be forged without any signature.\n\nThis affects DNSSEC validation through `DnssecDnsHandle` when built with `dnssec-ring` or `dnssec-aws-lc-rs`.\n\nThe fix treats a NODATA proof for a DS query as bogus when the directly matching NSEC or NSEC3 record has SOA in its type bitmap. It is in 0.26.2.","format":"markdown","source":"rustsec"}],"published":"2026-09-03T12:00:00.000Z","modified":"2026-11-13T12:55:54.316Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"type":"semver","introduced":"0.26.0-beta.1","fixed":"0.26.2","status":"affected"},{"type":"semver","version":"0.26.2","status":"unaffected"}],"vendor":"hickory-dns","product":"hickory-dns","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.26.0-alpha.1","status":"affected"}],"vendor":"hickory-dns","product":"hickory-dns","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.26.0-beta.1"}],"ecosystem":"crates.io","package":"hickory-proto","purl":"pkg:cargo/hickory-proto","source":"rustsec"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.26.2"}],"ecosystem":"crates.io","package":"hickory-net","purl":"pkg:cargo/hickory-net","source":"rustsec"}],"references":[{"url":"https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-7php-9j59-g3ch","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hickory-dns-0.26.0-beta.1-before-0.26.2-dnssec-validation-bypass-via-missing-rfc-6840-checks","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/hickory-proto","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0531.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/hickory-dns/hickory-dns/commit/ec98851f4d175d97b61701bc539523ff63ddbb00","tags":["web"],"sources":["rustsec"]},{"url":"https://crates.io/crates/hickory-net","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0540.html","tags":["advisory"],"sources":["rustsec"]}],"credits":["qifan-sailboat"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-13T03:08:25.254Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123591","url":"https://www.cve.org/CVERecord?id=CVE-2026-123591","licence":"CVE Terms of Use","modified":"2026-11-13T03:08:40.153Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0531","url":"https://rustsec.org/advisories/RUSTSEC-2026-0531.html","licence":"CC0-1.0","modified":"2026-11-13T12:55:54.316Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0540","url":"https://rustsec.org/advisories/RUSTSEC-2026-0540.html","licence":"CC0-1.0","modified":"2026-11-13T12:55:54.316Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123591","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123591","licence":"Public domain","modified":"2026-11-13T04:17:37.920Z"}],"updatedAt":"2026-11-25T22:59:49.491Z","epss":{"score":0.0016,"percentile":0.05381,"date":"2026-12-01T12:00:22.000Z"}}