Vulnerability RUSTSEC-2026-0488

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
Integer underflow when reporting a malformed TSIG record
>=0.26.0 <0.26.2
>=0.26.0 <0.26.2

Summary

Integer underflow when reporting a malformed TSIG record

Details

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.

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
19 hours ago
November 11, 2026 at 12:30 PM UTC