{"id":"CVE-2026-123608","aliases":["GHSA-q2qq-hmj6-3wpp","RUSTSEC-2026-0119"],"title":"hickory-proto vulnerable to CPU exhaustion during message encoding due to O(n²) name compression","titleSource":"OSV","descriptionSource":"OSV","description":"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.","severity":"high","score":8.7,"published":"2026-05-01T12:00:00.000Z","modified":"2026-11-12T13:38:37.673Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"hickory-proto","sources":[{"name":"OSV · GHSA-q2qq-hmj6-3wpp","url":"https://osv.dev/vulnerability/GHSA-q2qq-hmj6-3wpp"}],"ranges":[{"events":[{"introduced":"0.3.1"},{"fixed":"0.26.1"}],"type":"SEMVER"}],"versions":[],"fixed":["0.26.1"]},{"ecosystem":"crates.io","name":"hickory-proto","sources":[{"name":"OSV · RUSTSEC-2026-0119","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0119"}],"ranges":[{"events":[{"introduced":"0.3.1"},{"fixed":"0.26.1"}],"type":"SEMVER"}],"versions":[],"fixed":["0.26.1"]}],"sourceAffected":[],"references":["https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-q2qq-hmj6-3wpp","https://github.com/hickory-dns/hickory-dns","https://rustsec.org/advisories/RUSTSEC-2026-0119.html","https://crates.io/crates/hickory-proto","https://github.com/hickory-dns/hickory-dns/pull/3613","https://www.vulncheck.com/advisories/hickory-dns-hickory-proto-0.3.1-before-0.26.1-cpu-exhaustion-via-binencoder-name-compression"],"sources":[{"name":"OSV","id":"GHSA-q2qq-hmj6-3wpp","modified":"2026-11-08T10:56:05.969001606Z","url":"https://osv.dev/vulnerability/GHSA-q2qq-hmj6-3wpp"},{"name":"OSV","id":"RUSTSEC-2026-0119","modified":"2026-11-09T09:21:20Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0119"},{"name":"CVE","id":"CVE-2026-123608","modified":"2026-11-12T13:38:37.673Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-123608"}],"assessments":[{"source":"OSV","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","score":6.9},{"source":"VulnCheck","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},{"source":"VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5}],"cve":{"records":[{"id":"CVE-2026-123608","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-06T01:02:39.794Z","published":"2026-11-08T01:38:34.124Z","modified":"2026-11-12T13:38:37.673Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-11-08T01:38:34.124Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-12T13:38:37.673Z"}],"references":[{"url":"https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-q2qq-hmj6-3wpp","tags":["vendor-advisory"],"source":"VulnCheck"},{"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"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-407","description":"Inefficient Algorithmic Complexity","source":"VulnCheck"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-12T13:38:03.162843Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"hickory-dns","name":"hickory-dns","platforms":[],"versions":[{"version":"0.3.1","status":"affected","lessThan":"0.26.1","versionType":"semver"},{"version":"0.26.1","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:cargo/hickory-proto","packageIdentity":{"ecosystem":"crates.io","name":"hickory-proto"},"cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2026-123608"}],"remediation":[],"observedAt":"2026-11-12T21:52:33.637Z","kev":{"status":"not-listed","checkedAt":"2026-11-15T01:45:32.170Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-08T02:00:33.967Z","attemptedAt":"2026-11-08T02:00:33.967Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-08T02:00:31.792Z","attemptedAt":"2026-11-08T02:00:31.792Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-08T02:00:31.671Z","attemptedAt":"2026-11-08T02:00:31.671Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-08T02:00:31.956Z","attemptedAt":"2026-11-08T02:00:31.956Z"}],"evidence":[],"aiSummary":null}