{"id":"RUSTSEC-2026-0119","revision":"477d6fbb32314134b3b6cacdea46a4ed","records":[{"revision":"477d6fbb32314134b3b6cacdea46a4ed","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0119","aliases":["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-10-12T18:00:13.5692238+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","GHSA-q2qq-hmj6-3wpp"]},"retained":false,"historicalAffected":[]}],"coverage":[]}