8.7high
Hickory DNS from 0.26.0 before 0.26.2 Panic via TSIG RDATA Decoding
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- RUSTSEC-2026-0488GHSA-x962-5xwx-fr8x
Description
Hickory DNS from 0.26.0 before 0.26.2 contains an integer underflow vulnerability in TSIG RDATA decoding that allows remote attackers to trigger a panic via malformed records. Attackers can send a crafted TSIG record in DNS wire format to cause unchecked subtraction underflow, crashing builds with overflow checks enabled and causing denial of service.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| hickory-dns hickory-dns | from 0.26.0 before 0.26.2 Not affected: 0.26.2 | CVE List |
| hickory-proto (crates.io) | from 0.26.0 before 0.26.2 | RustSec Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Hickory DNS from 0.26.0 before 0.26.2 contains an integer underflow vulnerability in TSIG RDATA decoding that allows remote attackers to trigger a panic via malformed records. Attackers can send a crafted TSIG record in DNS wire format to cause unchecked subtraction underflow, crashing builds with overflow checks enabled and causing denial of service.
RustSec Advisory Database
When a TSIG record is decoded from the DNS wire format, its MAC length and "other data" length are checked against the end of the record data. If a check failed, the error value was built from end_idx - decoder.index(). For a malformed record the decoder can already be past end_idx, so this unsigned subtraction underflows.
In builds with overflow checks enabled (the dev profile by default) the underflow panics, so a peer that sends a crafted TSIG record can crash the process. In builds without overflow checks the result wraps and is only used in the returned error.
The fix returns a plain "insufficient bytes" error without the subtraction. It is in 0.26.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-123571 changed 2026-11-13 | CVE Terms of Use |
| RustSec Advisory Database | RUSTSEC-2026-0488 changed 2026-11-12 | CC0-1.0 |
| NVD | CVE-2026-123571 changed 2026-11-13 | Public domain |