{"schemaVersion":3,"id":"RUSTSEC-2026-0338","aliases":["GHSA-465w-v9q3-7j98"],"status":"published","duplicateOf":null,"title":null,"description":"Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads\n\nWhen a stream is read in unordered mode (for example through `RecvStream::read(false)` in\nquinn-proto or `read_unordered` in `quinn`), quinn-proto proactively deduplicates received data\nby recording received ranges in a `RangeSet` through its `replace` method. When an incoming\nSTREAM frame carried an empty payload, the `Drop` implementation of the iterator returned by\n`replace` inserted an empty range into the set, violating the invariant that stored ranges are\nnon-empty. Subsequent frames overlapping that region then caused a panic while processing the\nstream.\n\nA remote peer can trigger this with five small STREAM frames (two of them zero-length) once the\napplication has put the stream in unordered-read mode. The default ordered read path is not\naffected.\n\nThe flaw was corrected in 0.11.18 by ignoring empty ranges in `RangeSet::replace`.\n\nThanks to Otto Hermann ([@ojhermann](https://github.com/ojhermann)) for reporting this issue.","dates":{"published":"2026-09-14T12:00:00.000Z","modified":"2026-10-12T18:15:01.969Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"Crates.Io","product":"quinn-proto","name":"quinn-proto","label":"quinn-proto","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/quinn-proto","purlType":"cargo","versions":[{"text":"≥ 0.7.0, < 0.11.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.7.0, < 0.11.18","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://crates.io/crates/quinn-proto","label":"crates.io/crates/quinn-proto","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0338.html","label":"rustsec.org/advisories/RUSTSEC-2026-0338.html","hostname":"rustsec.org","tags":["Advisory"]},{"url":"https://github.com/quinn-rs/quinn/pull/2868","label":"github.com/quinn-rs/quinn/pull/2868","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-14T12:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-12T18:15:01.969Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:44:00.635Z","stale":false,"partial":false}}