{"id":"CVE-2026-123608","aliases":["CVE-2026-123608","GHSA-q2qq-hmj6-3wpp","RUSTSEC-2026-0119"],"related":["CVE-2024-8508"],"kind":"vulnerability","state":"published","title":"Hickory DNS hickory-proto 0.3.1 before 0.26.1 CPU Exhaustion via BinEncoder Name Compression","summary":"Hickory DNS hickory-proto from 0.3.1 before 0.26.1 contains a denial of service vulnerability in BinEncoder that allows remote attackers to exhaust CPU through quadratic-time name compression. Attackers can send malicious DNS messages with many records that add many candidate labels and trigger repeated linear scans during encoding, amplifying CPU exhaustion.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hickory DNS hickory-proto from 0.3.1 before 0.26.1 contains a denial of service vulnerability in BinEncoder that allows remote attackers to exhaust CPU through quadratic-time name compression. Attackers can send malicious DNS messages with many records that add many candidate labels and trigger repeated linear scans during encoding, amplifying CPU exhaustion.","source":"cvelist"},{"lang":"en","text":"During message encoding, `hickory-proto`'s `BinEncoder` stores pointers to labels that are candidates for name compression in a `Vec<(usize, Vec<u8>)>`. The name compression logic then searches for matches with a linear scan.\n\nA malicious message with many records can both introduce many candidate labels, and invoke this linear scan many times. This can amplify CPU exhaustion in DoS attacks.\n\nThis is similar to [CVE-2024-8508](https://www.nlnetlabs.nl/downloads/unbound/CVE-2024-8508.txt).\n\n### Reporter\n\nQifan Zhang, Palo Alto Networks","format":"markdown","source":"ghsa"},{"lang":"en","text":"During message encoding, `hickory-proto`'s `BinEncoder` stores pointers to\nlabels that are candidates for name compression in a `Vec<(usize, Vec<u8>)>`.\nThe name compression logic then searches for matches with a linear scan.\n\nA malicious message with many records can both introduce many candidate labels,\nand invoke this linear scan many times. This can amplify CPU exhaustion in DoS\nattacks.\n\nThis is similar to\n[CVE-2024-8508](https://www.nlnetlabs.nl/downloads/unbound/CVE-2024-8508.txt).\n\nWe recommend all affected users update to `hickory-proto` 0.26.1 for the fix.","format":"markdown","source":"rustsec"}],"published":"2026-05-01T12:00:00.000Z","modified":"2026-11-12T14:17:26.630Z","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:L/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-407","CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0.3.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.3.1","status":"affected","fixed":"0.26.1"}],"ecosystem":"crates.io","package":"hickory-proto","purl":"pkg:cargo/hickory-proto","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.3.1","status":"affected","fixed":"0.26.1"}],"ecosystem":"crates.io","package":"hickory-proto","purl":"pkg:cargo/hickory-proto","source":"rustsec"}],"references":[{"url":"https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-q2qq-hmj6-3wpp","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/hickory-dns-hickory-proto-0.3.1-before-0.26.1-cpu-exhaustion-via-binencoder-name-compression","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-0119.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/3613","tags":["web"],"sources":["rustsec"]}],"credits":["qifan-sailboat"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-12T13:38:03.162Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123608","url":"https://www.cve.org/CVERecord?id=CVE-2026-123608","licence":"CVE Terms of Use","modified":"2026-11-12T13:38:37.673Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q2qq-hmj6-3wpp","url":"https://github.com/advisories/GHSA-q2qq-hmj6-3wpp","licence":"CC-BY-4.0","modified":"2026-11-08T10:56:05.969Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0119","url":"https://rustsec.org/advisories/RUSTSEC-2026-0119.html","licence":"CC0-1.0","modified":"2026-11-09T09:21:20.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123608","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123608","licence":"Public domain","modified":"2026-11-12T14:17:26.630Z"}],"updatedAt":"2026-11-25T22:59:49.497Z","epss":{"score":0.00501,"percentile":0.44465,"date":"2026-12-01T12:00:22.000Z"}}