Vulnerability RUSTSEC-2026-0518

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
2 months ago
September 03, 2026 at 12:00 PM UTC
DNSSEC validation cache could reuse an Insecure result for a different name
>=0.0.0-0 <0.26.2
>=0.0.0-0 <0.26.2

Summary

DNSSEC validation cache could reuse an Insecure result for a different name

Details

The DNSSEC validation cache used a 64-bit hash of the query as its key, and two keys with the same hash counted as equal. The Hash implementation of Name hashed the bytes of the labels but not where one label ends and the next begins, so names that differ only in the placement of dots (such as ab.c. and a.bc.) hashed to the same value.

An attacker who controls an unsigned delegation whose name collides in this way with a name in a signed zone can first get an Insecure result cached for their own name. A forged response for the signed name is then served from that cache entry without signature checks and returned with the AD bit clear, where validation should have failed.

This affects DNSSEC validation through DnssecDnsHandle when built with dnssec-ring or dnssec-aws-lc-rs.

The fix stores the query in the cache key and compares it on lookup. The Hash implementations of Label, Name and LowerName in hickory-proto were also changed to include label boundaries. Both are in 0.26.2.

Impacted packages

Timeline

Published
2 months ago
September 03, 2026 at 12:00 PM UTC
Fixed (0.26.2)
2 months ago
September 03, 2026 at 07:35 PM UTC
Last Modified
2 days ago
November 12, 2026 at 02:30 PM UTC