# GHSA-Q2QQ-HMJ6-3WPP

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-01 · Modified: 2026-10-12
- Aliases: RUSTSEC-2026-0119
- Record: https://cvemate.com/vulnerability/GHSA-Q2QQ-HMJ6-3WPP · JSON: https://cvemate.com/vulnerability/GHSA-Q2QQ-HMJ6-3WPP/json

## Description

```text
CPU exhaustion during message encoding due to O(n²) name compression

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.

A 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.

This is similar to
[CVE-2024-8508](https://www.nlnetlabs.nl/downloads/unbound/CVE-2024-8508.txt).

We recommend all affected users update to `hickory-proto` 0.26.1 for the fix.
```

## Signals

- CVSS: 6.9 medium (v4.0, OSV · Crates.io) 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
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io hickory-proto (Crates.Io): ≥ 0.3.1, \< 0.26.1

## 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>

---

Data as of 2026-12-05T13:04:42.928Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
