GitHub Advisoryadvisory · crates.io
GHSA-4w2j-m93h-cj5j Quinn: Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
HIGH
Official page ↗
- Ecosystem
- crates.io
- Packages
- quinn-proto
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
- Reviewed
- 2026-07-24
Affected packages
• crates.io quinn-proto: >= 0.1.0, < 0.11.15 → fixed in 0.11.15
Description
Summary
The `Assembler` component that assembles unordered stream fragments into consecutive chunks of the stream incurs some overhead for non-contiguous fragments. Readers that read from a `RecvStream` in order (through an `AsyncRead` impl for example) will be sensitive to peers that send fragments while leaving out early parts of the stream, and in particular, fragments with many gaps (because these cannot be defragmented). In such a scenario, the receiving connection suffers from high buffer overhead, enabling memory exhaustion.
Related
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://github.com/quinn-rs/quinn/security/advisories/GHSA-4w2j-m93h-cj5j web
- https://github.com/quinn-rs/quinn/pull/2694 web
- https://github.com/quinn-rs/quinn/commit/fed0321a9a672819662caab37f5662f1ad91308e web
- https://github.com/quinn-rs/quinn package
- https://github.com/quinn-rs/quinn/releases/tag/quinn-proto-0.11.15 web
- https://rustsec.org/advisories/RUSTSEC-2026-0185.html web