CVE-2026-123571
JSON

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 packageVersionsReported by
hickory-dns hickory-dnsfrom 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.2RustSec Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-191

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

SourceRecordLicence
CVE ListCVE-2026-123571 changed 2026-11-13CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0488 changed 2026-11-12CC0-1.0
NVDCVE-2026-123571 changed 2026-11-13Public domain