Vulnerability GHSA-q2qq-hmj6-3wpp
Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
5 months ago
May 07, 2026 at 02:59 AM UTC
hickory-proto vulnerable to CPU exhaustion during message encoding due to O(n²) name compression
0.24.0 - 0.24.4 and 0.25.0 - 0.25.2 and 0.26.0
0.24.0 - 0.24.4 and 0.25.0 - 0.25.2 and 0.26.0
Summary
hickory-proto vulnerable to CPU exhaustion during message encoding due to O(n²) name compression
Details
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.
Reporter
Qifan Zhang, Palo Alto Networks
Related Vulnerabilities
Other vulnerabilities affecting the same packages
High Risk
5 months ago
hickory-proto: NSEC3 closest-encloser proof validation enters unbounded loop on cross-zone responses
0.25.0-alpha.3 - 0.25.2 GHSA-3v94-mw7p-v465
0.25.0-alpha.3 - 0.25.2 GHSA-3v94-mw7p-v465
Unknown
5 months ago
NSEC3 closest-encloser proof validation enters unbounded loop on cross-zone responses
0.25.0-alpha.3 - 0.26.0-alpha.1 RUSTSEC-2026-0118
0.25.0-alpha.3 - 0.26.0-alpha.1 RUSTSEC-2026-0118
Unknown
5 months ago
CPU exhaustion during message encoding due to O(n²) name compression
0.24.0 - 0.24.4 and 0.25.0 - 0.25.2 and 0.26.0 RUSTSEC-2026-0119
0.24.0 - 0.24.4 and 0.25.0 - 0.25.2 and 0.26.0 RUSTSEC-2026-0119
Medium Risk
1 year ago
Hickory DNS failure to verify self-signed RRSIG for DNSKEYs
0.24.0 - 0.24.2 and 0.25.0-alpha.1 - 0.25.0-alpha.4 GHSA-v7pc-74h8-xq2h
0.24.0 - 0.24.2 and 0.25.0-alpha.1 - 0.25.0-alpha.4 GHSA-v7pc-74h8-xq2h
Medium Risk
1 year ago
Hickory DNS's DNSSEC validation may accept broken authentication chains
0.24.0 - 0.24.2 GHSA-37wc-h8xc-5hc4
0.24.0 - 0.24.2 GHSA-37wc-h8xc-5hc4
Impacted packages
Timeline
Published
5 months ago
May 07, 2026 at 02:59 AM UTC
Fixed (0.26.1)
5 months ago
May 01, 2026 at 01:52 PM UTC
Last Modified
1 month ago
September 10, 2026 at 03:51 AM UTC