GHSA-6w6g-hm98-mhgm: hickory-resolver Remote Code Execution Vulnerability
HIGHGHSA-6w6g-hm98-mhgm is a HIGH remote code execution vulnerability (CWE-406: Insufficient Control of Network Message Volume (Network Amplification)) affecting hickory-resolver libraries in the crates.io ecosystem. The issue involves unbounded tc-retry loop in `nameserverpool::try_send` (resource-exhaustion dos). Remediation is available by upgrading affected packages to version 0.26.2.
GHSA-6w6g-hm98-mhgm at a Glance
How to Fix GHSA-6w6g-hm98-mhgm
To remediate this vulnerability, upgrade all affected hickory-resolver 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-resolver to 0.26.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for hickory-resolver
How to Check if You Are Affected
To determine whether your application is affected by GHSA-6w6g-hm98-mhgm, inspect your project dependencies for hickory-resolver:
inspect dependencies for hickory-resolver
Analyze the terminal output to locate any version of hickory-resolver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.26.2), 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-406: Insufficient Control of Network Message Volume (Network Amplification), where the product does not sufficiently monitor or control transmitted network traffic volume, so that an actor can cause the product to transmit more traffic than should be allowed for that actor. In hickory-resolver, 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-6w6g-hm98-mhgm Affected hickory-resolver Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
hickory-resolver
|
crates.io |
≥ 0.26.0-beta.1
< 0.26.2
|
0.26.2
|
References
Frequently Asked Questions
What is GHSA-6w6g-hm98-mhgm?
Which hickory-resolver versions are affected?
What version fixes GHSA-6w6g-hm98-mhgm?
Is hickory-resolver affected?
What CWE is associated with GHSA-6w6g-hm98-mhgm?
How can I check crates.io dependencies for GHSA-6w6g-hm98-mhgm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6w6g-hm98-mhgm",
"modified" : "2026-10-05T22:55:10Z",
"published" : "2026-10-05T22:55:10Z",
"aliases" : [ ],
"summary" : "hickory-resolver: Unbounded TC-retry loop in `NameServerPool::try_send` (resource-exhaustion DoS)",
"details" : "When the `hickory-resolver` name server pool implementation receives an upstream response with the TC (truncated) header bit set, it re-queues the request to the same nameserver to retry with UDP transport disabled. However, the retry arm never inspects the transport that just answered and carries no iteration counter. An authoritative server that sets `TC=1` on **every** available transport keeps the resolver spinning on one persistent TCP connection until the 5s per-request wall-clock deadline expires.\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:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "hickory-resolver"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.26.0-beta.1"
}, {
"fixed" : "0.26.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-6w6g-hm98-mhgm"
}, {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/pull/3871"
}, {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/commit/0848d2e9e4183499343318a690d6dd5e48bc21c1"
}, {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/commit/5d37e2e04a36a87013a213b58b820345ef76a263"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hickory-dns/hickory-dns"
}, {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/releases/tag/v0.26.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-406", "CWE-835" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-05T22:55:10Z",
"nvd_published_at" : null
}
}