{"id":"RUSTSEC-2026-0119","revision":"241d1949f3964c7cb78fce9897e70be9","records":[{"revision":"241d1949f3964c7cb78fce9897e70be9","observedAt":"2026-11-09T10:04:30.609+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0119","aliases":["CVE-2026-123608","GHSA-q2qq-hmj6-3wpp"],"title":"CPU exhaustion during message encoding due to O(n²) name compression","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.","state":0,"publishedAt":"2026-05-01T12:00:00+00:00","modifiedAt":"2026-11-09T09:21:20+00:00","affected":[{"ecosystem":"crates.io","name":"hickory-proto","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.1"},{"kind":"fixed","version":"0.26.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/hickory-proto","https://rustsec.org/advisories/RUSTSEC-2026-0119.html","https://github.com/hickory-dns/hickory-dns/pull/3613"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0119","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0119","identifiers":["RUSTSEC-2026-0119","CVE-2026-123608","GHSA-q2qq-hmj6-3wpp"]},"retained":false,"historicalAffected":[]}],"coverage":[]}