GHSA-q2qq-hmj6-3wpp: Hickory proto Hickory-proto Vulnerable To CPU Exhaustion Vulnerability
MODERATEGHSA-q2qq-hmj6-3wpp is a MODERATE hickory-proto vulnerable to cpu exhaustion vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Hickory proto libraries in the crates.io ecosystem. The issue involves hickory-proto vulnerable to cpu exhaustion during message encoding due to o(n²) name compression. Remediation is available by upgrading affected packages to version 0.26.1.
GHSA-q2qq-hmj6-3wpp at a Glance
How to Fix GHSA-q2qq-hmj6-3wpp
To remediate this vulnerability, upgrade all affected Hickory proto dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade hickory-proto to 0.26.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for hickory-proto
How to Check if You Are Affected
To determine whether your application is affected by GHSA-q2qq-hmj6-3wpp, inspect your project dependencies for Hickory proto:
inspect dependencies for hickory-proto
Analyze the terminal output to locate any version of Hickory proto in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.26.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Hickory proto, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-q2qq-hmj6-3wpp Affected Hickory proto Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
hickory-proto
|
crates.io |
≥ 0.3.1
< 0.26.1
|
0.26.1
|
References
Frequently Asked Questions
What is GHSA-q2qq-hmj6-3wpp?
Which Hickory proto versions are affected?
What version fixes GHSA-q2qq-hmj6-3wpp?
Is hickory-proto affected?
What CWE is associated with GHSA-q2qq-hmj6-3wpp?
How can I check crates.io dependencies for GHSA-q2qq-hmj6-3wpp?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q2qq-hmj6-3wpp",
"modified" : "2026-05-07T02:59:48Z",
"published" : "2026-05-07T02:59:48Z",
"aliases" : [ ],
"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.\n\nA 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.\n\nThis is similar to [CVE-2024-8508](https://www.nlnetlabs.nl/downloads/unbound/CVE-2024-8508.txt).\n\n### Reporter\n\nQifan Zhang, Palo Alto Networks",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "hickory-proto"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.3.1"
}, {
"fixed" : "0.26.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.26.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-q2qq-hmj6-3wpp"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hickory-dns/hickory-dns"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0119.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-407", "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-07T02:59:48Z",
"nvd_published_at" : null
}
}