{"id":"CVE-2026-123599","aliases":["CVE-2026-123599","RUSTSEC-2026-0551","GHSA-wjgj-fvg9-65w9","RUSTSEC-2026-0558"],"related":[],"kind":"vulnerability","state":"published","title":"Hickory DNS before 0.26.0-beta.1 DNSSEC Validation Bypass via Non-IN Class Records","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\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":"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.\n\nAn 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.\n\nThis affects DNSSEC validation through `DnssecDnsHandle` when built with `dnssec-ring` or `dnssec-aws-lc-rs`.\n\nThe fix rejects a whole response if any record in its answer, authority or additional section has a class different from the query's.","format":"markdown","source":"rustsec"}],"published":"2026-09-03T12:00:00.000Z","modified":"2026-11-17T10:25:38.558Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.26.0-beta.1","status":"affected"},{"type":"semver","version":"0.26.0-beta.1","status":"unaffected"}],"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-wjgj-fvg9-65w9","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hickory-dns-before-0.26.0-beta.1-dnssec-validation-bypass-via-non-in-class-records","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-0551.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/hickory-dns/hickory-dns/commit/d5349ba13a2bd356239c39a6cc9caa10abe06c55","tags":["web"],"sources":["rustsec"]},{"url":"https://crates.io/crates/hickory-net","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0558.html","tags":["advisory"],"sources":["rustsec"]}],"credits":["qifan-sailboat"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-13T03:10:05.115Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123599","url":"https://www.cve.org/CVERecord?id=CVE-2026-123599","licence":"CVE Terms of Use","modified":"2026-11-13T03:10:14.878Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0551","url":"https://rustsec.org/advisories/RUSTSEC-2026-0551.html","licence":"CC0-1.0","modified":"2026-11-17T10:25:38.558Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0558","url":"https://rustsec.org/advisories/RUSTSEC-2026-0558.html","licence":"CC0-1.0","modified":"2026-11-17T10:25:38.558Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123599","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123599","licence":"Public domain","modified":"2026-11-13T04:17:38.210Z"}],"updatedAt":"2026-11-25T22:59:49.493Z","epss":{"score":0.00147,"percentile":0.04094,"date":"2026-12-01T12:00:22.000Z"}}