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](https://github.com/ojhermann)) for reporting this issue.
- Products
- quinn-proto
- Affected versions
- Not specified
- Fixed versions
- 0.11.18
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 08:44 UTC · Revision 1
Source evidence
Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
core-osv · Original sourcePublished 14 Sept 2026, 12:00 UTC
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](https://github.com/ojhermann)) for reporting this issue.
osv:RUSTSEC-2026-0338
quinn-proto
Fixed versions: 0.11.18
Complete source record
{
"id": "a4675152bc35768ace22cc931c6afbf7502d700d13756b74dadd4146d9a2cc17",
"url": "https://osv.dev/vulnerability/RUSTSEC-2026-0338",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads",
"summary": "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](https://github.com/ojhermann)) for reporting this issue.",
"evidence": "osv:RUSTSEC-2026-0338",
"products": [
{
"name": {
"value": "quinn-proto",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.11.18",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "RUSTSEC-2026-0338",
"aliases": [
"GHSA-465w-v9q3-7j98",
"RUSTSEC-2026-0338"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.7.0"
},
{
"fixed": "0.11.18"
}
]
}
],
"package": {
"name": "quinn-proto",
"purl": "pkg:cargo/quinn-proto",
"ecosystem": "crates.io"
},
"database_specific": {
"cvss": null,
"source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0338.json",
"categories": [
"denial-of-service"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": []
},
"affected_functions": null
}
}
],
"modified": "2026-10-12T18:15:01.969514645Z",
"provider": "osv",
"references": [
"https://crates.io/crates/quinn-proto",
"https://rustsec.org/advisories/RUSTSEC-2026-0338.html",
"https://github.com/quinn-rs/quinn/pull/2868"
],
"provider_metadata": {
"license": "CC0-1.0"
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 306471,
"published_at": "2026-09-14T12:00:00+00:00"
}