GHSA-4w2j-m93h-cj5j: Quinn: Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
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.
References
- github.com/advisories/GHSA-4w2j-m93h-cj5j
- github.com/quinn-rs/quinn/commit/fed0321a9a672819662caab37f5662f1ad91308e
- github.com/quinn-rs/quinn/pull/2694
- github.com/quinn-rs/quinn/releases/tag/quinn-proto-0.11.15
- github.com/quinn-rs/quinn/security/advisories/GHSA-4w2j-m93h-cj5j
- rustsec.org/advisories/RUSTSEC-2026-0185.html
Code Behaviors & Features
Detect and mitigate GHSA-4w2j-m93h-cj5j with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →