Vulnerability RUSTSEC-2026-0338

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
28 days ago
September 14, 2026 at 12:00 PM UTC
Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
0.7.0 - 0.11.17
0.7.0 - 0.11.17

Summary

Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads

Details

When a stream is read in unordered mode (for example through RecvStream::read(false) in quinn-proto or read_unordered in quinn), quinn-proto proactively deduplicates received data by recording received ranges in a RangeSet through its replace method. When an incoming STREAM frame carried an empty payload, the Drop implementation of the iterator returned by replace inserted an empty range into the set, violating the invariant that stored ranges are non-empty. Subsequent frames overlapping that region then caused a panic while processing the stream.

A remote peer can trigger this with five small STREAM frames (two of them zero-length) once the application has put the stream in unordered-read mode. The default ordered read path is not affected.

The flaw was corrected in 0.11.18 by ignoring empty ranges in RangeSet::replace.

Thanks to Otto Hermann ( @ojhermann) for reporting this issue.

Impacted packages

Timeline

Published
28 days ago
September 14, 2026 at 12:00 PM UTC
Fixed (0.11.18)
28 days ago
September 14, 2026 at 10:08 AM UTC
Last Modified
1 hour ago
October 12, 2026 at 06:15 PM UTC