CVE-2026-123584
JSON

8.2high

Hickory-DNS 0.26.0 before 0.26.2 UDP Client Denial of Service via Spoofed Responses

Severity
8.2high CVSS:4.0 by VulnCheck
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
RUSTSEC-2026-0517GHSA-v44v-c8m4-gc43

Description

The hickory-net crate in Hickory DNS 0.26.0 before 0.26.2 stops listening and returns an error when a client UDP connection receives a datagram that cannot be parsed as a DNS message. Remote attackers who guess the query's source port, without knowing the transaction ID, can spoof malformed responses to abort client queries, 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-net (crates.io)from 0.26.0 before 0.26.2RustSec Advisory Database

All scores

VulnCheck8.2high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
RustSec Advisory Database5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-696

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The hickory-net crate in Hickory DNS 0.26.0 before 0.26.2 stops listening and returns an error when a client UDP connection receives a datagram that cannot be parsed as a DNS message. Remote attackers who guess the query's source port, without knowing the transaction ID, can spoof malformed responses to abort client queries, causing denial of service.

RustSec Advisory Database

While waiting for a reply on a UDP connection, the client parsed every datagram that arrived from the name server's address and port before checking its message ID. If parsing failed, the attempt ended with an error instead of dropping the datagram and waiting for the real reply. The receive loop also gave up after three datagrams.

An off-path attacker who can guess the client's source port, but not the transaction ID, can send one malformed datagram with a spoofed source address and make the pending lookup fail.

The fix reads the message ID from the first two bytes before parsing, ignores short datagrams and datagrams with the wrong ID, keeps listening until the outer timeout, and only then parses the response. It is in 0.26.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-123584 changed 2026-11-12CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0517 changed 2026-11-12CC0-1.0
NVDCVE-2026-123584 changed 2026-11-12Public domain