Vulnerability RUSTSEC-2026-0119

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
5 months ago
May 01, 2026 at 12:00 PM UTC
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

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.

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

Impacted packages

Timeline

Published
5 months ago
May 01, 2026 at 12:00 PM UTC
Fixed (0.26.1)
5 months ago
May 01, 2026 at 01:52 PM UTC
Last Modified
1 hour ago
October 12, 2026 at 06:00 PM UTC