Security mailing lists by PureSourceCode

GHSA-465w-v9q3-7j98

not scored yet

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

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.

Published
14 Sep 2026
Last modified
12 Oct 2026
Also known as
RUSTSEC-2026-0338
Sources
OSV RUSTSEC-2026-0338JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io quinn-proto >= 0.7.0, < 0.11.18 0.11.18

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.