Advisory

RUSTSEC-2026-0504

Also known as: CVE-2026-123601, GHSA-588m-chg6-8jqj, RUSTSEC-2026-0506

Summary

Inverted NSEC3 comparison in DNSSEC validation (hickory-proto 0.25)

Details

In hickory-proto 0.25.0 through 0.26.0-alpha.1, DNSSEC validation handled the last NSEC3 record of a zone's hash chain with its two comparisons reversed. That record was treated as covering almost every hash it does not cover, so an attacker who can answer or modify DNS responses could replay it, with its RRSIG, to forge proofs that existing names have no records.

From 0.26.0-beta.1 the DNSSEC validation code lives in the hickory-net crate, where this was fixed in hickory-net 0.26.2. No hickory-proto release contains a fix. Users of DNSSEC validation in hickory-proto 0.25 (directly or through hickory-resolver or hickory-recursor 0.25) should move to the 0.26.2 or later releases, which validate through hickory-net.

Severity

Not rated by the source.

Dates

Published
2026-09-03 12:00 UTC
Modified
2026-11-12 14:10 UTC

Affected packages and fixes

hickory-proto

crates.io · All systems

Affected

  • introduced 0.25.0, fixed 0.26.0-beta.1 (semver)

Fixed versions

0.26.0-beta.1

Fix

  • Fixed version 0.26.0-beta.1
    cargo update -p hickory-proto --precise 0.26.0-beta.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences