{"id":"CVE-2026-123607","aliases":["CVE-2026-123607","GHSA-3v94-mw7p-v465","RUSTSEC-2026-0118","RUSTSEC-2026-0120"],"related":[],"kind":"vulnerability","state":"published","title":"Hickory DNS NSEC3 Closest-Encloser Proof Unbounded Loop Denial of Service","summary":"Hickory DNS hickory-proto 0.25.0-alpha.3 through 0.25.2 and hickory-net before 0.26.1 contain an unbounded loop vulnerability in DnssecDnsHandle NSEC3 closest-encloser proof validation when the SOA owner is not an ancestor of the QNAME. Upstream attackers can return NoData or NXDomain responses with a cross-zone SOA record to panic debug builds or exhaust memory in release builds.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hickory DNS hickory-proto 0.25.0-alpha.3 through 0.25.2 and hickory-net before 0.26.1 contain an unbounded loop vulnerability in DnssecDnsHandle NSEC3 closest-encloser proof validation when the SOA owner is not an ancestor of the QNAME. Upstream attackers can return NoData or NXDomain responses with a cross-zone SOA record to panic debug builds or exhaust memory in release builds.","source":"cvelist"},{"lang":"en","text":"The NSEC3 closest-encloser proof validation in `hickory-proto`'s (0.25.0-alpha.3 ... 0.25.2) and `hickory-net`'s (0.26.0-alpha.1 .. 0.26.0)  `DnssecDnsHandle` walks from the QNAME up to the SOA owner name, building a list of candidate encloser names. The iterator used assumes the QNAME is a descendant of the SOA owner, terminating only when the current candidate equals the SOA name. When the SOA in a response's authority section is not an ancestor of the QNAME, the loop stalls at the DNS root and never terminates, repeatedly calling `Name::base_name()` and pushing newly allocated `Name` and hashed-name entries into the candidate `Vec`.\n\nThe bug is reachable by any caller of `DnssecDnsHandle`, including the resolver, recursor, and client, when built with the `dnssec-ring` or `dnssec-aws-lc-rs` feature and configured to perform DNSSEC validation. It is triggered while validating a NoData or NXDomain response whose authority section contains an SOA record from a zone other than an ancestor of the QNAME, on a code path that requires NSEC3 closest-encloser proof. In practice this can be reached through an insecure CNAME chain that crosses zone boundaries into a DNSSEC-signed zone returning NoData, but the minimum condition is just a mismatched SOA owner on a response requiring NSEC3 validation.\n\nA `debug_assert_ne!(name, Name::root())` guards the loop body, so debug builds abort with a panic on the first iteration past the root. Release builds compile the assertion out and run the loop unbounded, allocating until the process exhausts available memory. A reachable upstream attacker who can return such a response can therefore crash a debug build or exhaust memory on a release build, for the affected configurations.\n\nThe affected code was migrated from `hickory-proto` to `hickory-net` as part of the 0.26.0 release. Hickory DNS recommends that all affected users update to `hickory-net` 0.26.1 for the fix.\n\n### Reporter\n\nDavid Cook, ISRG","format":"markdown","source":"ghsa"},{"lang":"en","text":"The NSEC3 closest-encloser proof validation in `hickory-proto`'s\n`DnssecDnsHandle` walks from the QNAME up to the SOA owner name, building a\nlist of candidate encloser names. The iterator used assumes the\nQNAME is a descendant of the SOA owner, terminating only when the current\ncandidate equals the SOA name. When the SOA in a response's authority section\nis not an ancestor of the QNAME, the loop stalls at the DNS root and never\nterminates, repeatedly calling `Name::base_name()` and pushing newly allocated\n`Name` and hashed-name entries into the candidate `Vec`.\n\nThe bug is reachable by any caller of `DnssecDnsHandle` — including the\nresolver, recursor, and client — when built with the `dnssec-ring` or\n`dnssec-aws-lc-rs` feature and configured to perform DNSSEC validation. It is\ntriggered while validating a NoData or NXDomain response whose authority\nsection contains an SOA record from a zone other than an ancestor of the\nQNAME, on a code path that requires NSEC3 closest-encloser proof. In practice\nthis can be reached through an insecure CNAME chain that crosses zone\nboundaries into a DNSSEC-signed zone returning NoData, but the minimum\ncondition is just a mismatched SOA owner on a response requiring NSEC3\nvalidation.\n\nA `debug_assert_ne!(name, Name::root())` guards the loop body, so debug builds\nabort with a panic on the first iteration past the root. Release builds\ncompile the assertion out and run the loop unbounded, allocating until the\nprocess exhausts available memory (OOM). A reachable upstream attacker who\ncan return such a response can therefore crash a debug-built validator or\nexhaust memory on a release-built one.\n\nThe affected code was migrated from `hickory-proto` to `hickory-net` as part of\nthe 0.26.0 release. The `hickory-proto` 0.26.x release no longer offers\n`DnssecDnsHandle` and so we recommend all affected users update to `hickory-net`\n0.26.1 when the implementation of that type is required.","format":"markdown","source":"rustsec"},{"lang":"en","text":"The NSEC3 closest-encloser proof validation in `hickory-net`'s\n`DnssecDnsHandle` walks from the QNAME up to the SOA owner name, building a\nlist of candidate encloser names. The iterator used assumes the\nQNAME is a descendant of the SOA owner, terminating only when the current\ncandidate equals the SOA name. When the SOA in a response's authority section\nis not an ancestor of the QNAME, the loop stalls at the DNS root and never\nterminates, repeatedly calling `Name::base_name()` and pushing newly allocated\n`Name` and hashed-name entries into the candidate `Vec`.\n\nThe bug is reachable by any caller of `DnssecDnsHandle` — including the\nresolver, recursor, and client — when built with the `dnssec-ring` or\n`dnssec-aws-lc-rs` feature and configured to perform DNSSEC validation. It is\ntriggered while validating a NoData or NXDomain response whose authority\nsection contains an SOA record from a zone other than an ancestor of the\nQNAME, on a code path that requires NSEC3 closest-encloser proof. In practice\nthis can be reached through an insecure CNAME chain that crosses zone\nboundaries into a DNSSEC-signed zone returning NoData, but the minimum\ncondition is just a mismatched SOA owner on a response requiring NSEC3\nvalidation.\n\nA `debug_assert_ne!(name, Name::root())` guards the loop body, so debug builds\nabort with a panic on the first iteration past the root. Release builds\ncompile the assertion out and run the loop unbounded, allocating until the\nprocess exhausts available memory (OOM). A reachable upstream attacker who\ncan return such a response can therefore crash a debug-built validator or\nexhaust memory on a release-built one.\n\nWe recommend all affected users update to `hickory-net` 0.26.1 for the fix.","format":"markdown","source":"rustsec"}],"published":"2026-05-01T12:00:00.000Z","modified":"2026-11-13T04:17:38.567Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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:N/UI:N/VC:N/VI:N/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:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"0.25.0-alpha.3","lastAffected":"0.25.2","status":"affected"}],"vendor":"hickory-dns","product":"hickory-dns","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.26.0-alpha.1","fixed":"0.26.1","status":"affected"},{"type":"semver","version":"0.26.1","status":"unaffected"}],"vendor":"hickory-dns","product":"hickory-dns","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.25.0-alpha.3","status":"affected","lastAffected":"0.25.2"}],"ecosystem":"crates.io","package":"hickory-proto","purl":"pkg:cargo/hickory-proto","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.26.0-alpha.1","status":"affected","fixed":"0.26.1"}],"ecosystem":"crates.io","package":"hickory-net","purl":"pkg:cargo/hickory-net","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.25.0-alpha.3","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.1"}],"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-3v94-mw7p-v465","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/hickory-dns-nsec3-closest-encloser-proof-unbounded-loop-denial-of-service","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/hickory-dns/hickory-dns","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0118.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0120.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/hickory-proto","tags":["package"],"sources":["rustsec"]},{"url":"https://github.com/hickory-dns/hickory-dns/pull/3597","tags":["web"],"sources":["rustsec"]},{"url":"https://crates.io/crates/hickory-net","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-13T03:11:32.756Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123607","url":"https://www.cve.org/CVERecord?id=CVE-2026-123607","licence":"CVE Terms of Use","modified":"2026-11-13T03:11:42.671Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3v94-mw7p-v465","url":"https://github.com/advisories/GHSA-3v94-mw7p-v465","licence":"CC-BY-4.0","modified":"2026-11-08T10:55:55.393Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0118","url":"https://rustsec.org/advisories/RUSTSEC-2026-0118.html","licence":"CC0-1.0","modified":"2026-11-09T09:21:20.000Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0120","url":"https://rustsec.org/advisories/RUSTSEC-2026-0120.html","licence":"CC0-1.0","modified":"2026-11-09T09:21:20.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123607","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123607","licence":"Public domain","modified":"2026-11-13T04:17:38.567Z"}],"updatedAt":"2026-11-25T22:59:49.496Z","epss":{"score":0.0042,"percentile":0.38262,"date":"2026-12-01T12:00:22.000Z"}}