{"id":"CVE-2026-123596","aliases":["CVE-2026-123596","RUSTSEC-2026-0530","GHSA-3r6v-f3jh-vvqm","RUSTSEC-2026-0539"],"related":[],"kind":"vulnerability","state":"published","title":"Hickory DNS through 0.26.0-alpha.1 DNSSEC Validation Bypass via Ancestor-Delegation NSEC","summary":"Hickory DNS hickory-proto through 0.26.0-alpha.1 and hickory-net 0.26.0-beta.1 before 0.26.2 contain a DNSSEC validation flaw in the validating recursor's NSEC handler that accepts parent-side ancestor-delegation NSEC records as proof of nonexistence for names below the zone cut. An on-path attacker, rogue parent nameserver, or attacker winning a port and TXID race can deliver one forged NXDOMAIN response built from genuinely signed parent NSEC records, causing authenticated denial of existing child-zone names cached for the negative TTL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hickory DNS hickory-proto through 0.26.0-alpha.1 and hickory-net 0.26.0-beta.1 before 0.26.2 contain a DNSSEC validation flaw in the validating recursor's NSEC handler that accepts parent-side ancestor-delegation NSEC records as proof of nonexistence for names below the zone cut. An on-path attacker, rogue parent nameserver, or attacker winning a port and TXID race can deliver one forged NXDOMAIN response built from genuinely signed parent NSEC records, causing authenticated denial of existing child-zone names cached for the negative TTL.","source":"cvelist"},{"lang":"en","text":"Up to 0.26.0-alpha.1, hickory-proto's DNSSEC validation accepted the NSEC record that a parent zone signs at a delegation as proof that names below the zone cut, or other types at the cut, do not exist. Such a record only proves that no DS record exists there (RFC 6840 section 4.1). Someone who can answer or modify DNS responses could replay the parent's genuine signed records to get a denial for an existing name in the child zone accepted as secure.\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":"At a delegation, the parent zone signs an NSEC record for the child's name whose type bitmap has NS but not SOA (or has DNAME). RFC 6840 section 4.1 says such a record only proves that no DS record exists at that name. It says nothing about names below the cut or about other types at the cut, because those belong to the child zone.\n\nDNSSEC validation did not make this distinction. It used such a record as a covering NSEC for names below the cut, and as a direct match proving that other types did not exist at the cut. An attacker who can answer or modify DNS responses can replay the parent's genuine signed records to get an NXDOMAIN or NODATA response for an existing name in the child zone accepted as secure. A recursor caches that denial for the negative TTL.\n\nThis affects DNSSEC validation through `DnssecDnsHandle` when built with `dnssec-ring` or `dnssec-aws-lc-rs`.\n\nThe fix adds `NSEC::is_ancestor_delegation()` in hickory-proto. Validation no longer uses such a record to cover a name below its owner, and treats a direct match on it as bogus unless the query is for DS. It is in 0.26.2.","format":"markdown","source":"rustsec"}],"published":"2026-09-03T12:00:00.000Z","modified":"2026-11-13T12:55:36.653Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-345"],"affected":[{"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.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.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-3r6v-f3jh-vvqm","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hickory-dns-through-0.26.0-alpha.1-dnssec-validation-bypass-via-ancestor-delegation-nsec","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-0530.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/hickory-dns/hickory-dns/commit/2e3c829ea45000b1c409a64a03bd422618372471","tags":["web"],"sources":["rustsec"]},{"url":"https://crates.io/crates/hickory-net","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0539.html","tags":["advisory"],"sources":["rustsec"]}],"credits":["qifan-sailboat"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-12T13:29:11.074Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123596","url":"https://www.cve.org/CVERecord?id=CVE-2026-123596","licence":"CVE Terms of Use","modified":"2026-11-12T13:30:41.852Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0530","url":"https://rustsec.org/advisories/RUSTSEC-2026-0530.html","licence":"CC0-1.0","modified":"2026-11-13T12:55:36.653Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0539","url":"https://rustsec.org/advisories/RUSTSEC-2026-0539.html","licence":"CC0-1.0","modified":"2026-11-13T12:55:36.653Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123596","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123596","licence":"Public domain","modified":"2026-11-12T14:17:26.197Z"}],"updatedAt":"2026-11-25T22:59:49.493Z","epss":{"score":0.0022,"percentile":0.13388,"date":"2026-12-01T12:00:22.000Z"}}