⚠️

Disclaimer & Liability

The content provided on this website is for educational, research, and security awareness purposes only. Any unauthorized, illegal, or abusive use of the information, tools, and techniques discussed is solely the responsibility of the user. The author and publisher assume no liability for any damages, injuries, or consequences resulting from the misuse of this content.

CVE-2026-142232: Unbounded Memory Growth in quinn-proto Unordered Stream Receiver | Alireza Bolbolabadi - Red Team Security
LOADING

CVE-2026-142232: Unbounded Memory Growth in quinn-proto Unordered Stream Receiver

Executive Summary

CVE-2026-142232 describes a memory-exhaustion flaw in the quinn-proto Rust crate, reported by both the Microsoft Security Response Center and the NVD. A remote QUIC peer can inflate the receive-side recvd RangeSet of an unordered-reading stream without bound, ultimately starving the endpoint of memory when the technique is applied across many streams and connections. The vulnerability is reachable over the network with a completed QUIC handshake, requires no credentials, and is purely an availability defect — confidentiality and integrity are not exposed.

Background: Why QUIC Tracks Ranges

QUIC supports a stream mode in which the receiver does not require in-order delivery; this relieves head-of-line blocking at the transport layer and lets senders reorder chunks for latency reasons. The trade-off is that the receiver must track which byte spans have actually arrived. quinn-proto implements that tracking with a recvd RangeSet — a structure that records disjoint acknowledged ranges. The advisory indicates that, on the affected versions, neither the number of disjoint ranges nor the maximum offset a peer may advance is bounded by the Assembler or its surrounding connection logic.

Attack Path

The steps an unauthenticated remote peer can take to amplify the receiver's memory footprint are:

  1. Complete a QUIC handshake with the targeted endpoint.

  1. Open, or coerce the endpoint into opening, an unordered-reading stream.

  1. Submit STREAM frames that each carry a single byte of payload, but at deliberately non-adjacent offsets (for example 0, 1 000, 2 000, 3 000 ...).

  1. Each non-adjacent frame is registered as a separate entry in the recvd RangeSet.

  1. Repeat across many streams on one connection, then across many concurrent connections, to compound the in-memory state.

The per-entry cost inside the RangeSet is typically larger than the one byte carried on the wire, so memory consumed by the server exceeds bandwidth spent by the attacker. The peer also draws on flow-control credit to advance the stream's maximum offset; receivers commonly configure that credit in megabytes or gigabytes, leaving room for a deliberate attacker to burn the budget on sparse frames rather than on dense, useful data.

Affected Systems

  • The quinn-proto crate itself at version 0.11.19 and other 0.11.x releases up to and including 0.11.19. The advisory does not clarify whether older major or minor lines of the crate share the defect.

  • Any service that embeds quinn-proto directly or that uses the higher-level quinn crate on top of an affected version, and that accepts untrusted QUIC traffic while opening unordered-reading streams.

  • Microsoft products that depend on the affected crate: the existence of an MSRC advisory page implies at least one Microsoft artifact uses quinn-proto, but the supplied advisory does not enumerate specific products or versions.

  • Broader ecosystem exposure includes Cloudflare-style QUIC endpoints and any Rust application terminating QUIC traffic with Quinn.

Mitigation

The supplied advisory does not state the upstream fix version. Operators should watch the quinn-proto release notes and changelog for a release that curtails unbounded recvd RangeSet growth (expected to be a release newer than 0.11.19), and prioritize upgrading any deployment pinned to a 0.11.x line at or below 0.11.19. Where MSRC issues a coordinated patch advisory for an affected Microsoft product, apply that patch on the schedule it specifies.

Workarounds that can be applied immediately, in order of intrusiveness:

  • Reduce the receive flow-control window. Shrink per-stream and per-connection max_data limits so a peer cannot advance offsets far enough to populate a large sparse RangeSet. This trades throughput for safety and is reversible once the upstream fix lands.

  • Disable unordered receive mode. Where the application protocol allows, avoid recv_ordered=false and use ordered streams, which do not maintain a RangeSet and therefore do not exhibit this defect.

  • Bound concurrency. Cap the number of concurrent QUIC connections and the number of streams per connection accepted from a single peer.

  • Apply edge controls. Front the QUIC endpoint with a reverse proxy or firewall enforcing per-source connection caps and per-connection frame-rate limits.

Detection

Operators can look for the following signals while a fixed version is being deployed:

  • Sudden, sustained growth in the resident memory of any process terminating QUIC via quinn-proto or quinn.

  • Streams whose maximum offset grows far faster than the number of bytes effectively delivered.

  • Increasing count of entries in the receive-side recvd RangeSet under load, where that count is much larger than expected for the legitimate payload shape.

  • At the network edge, UDP/443 (or other configured QUIC ports) traffic in which peers emit many small STREAM frames separated by large offset gaps.

Treat sustained, anomalous memory growth on a Quinn-based service as an incident trigger; throttle or block the offending source IP while correlating with QUIC connection logs.

References

  • https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-142232

  • https://nvd.nist.gov/vuln/detail/CVE-2026-142232

advisory medium CVE-2026-142232
·
← Back to Writeups