# GHSA-53rm-773f-4q8c: MAX_STREAM_DATA frame can open streams beyond the stream limit

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-09-30T12:00:00.000Z
- Modified: 2026-11-13T12:45:04.789Z
- Also known as: RUSTSEC-2026-0523

## Description

When a MAX_STREAM_DATA frame named a peer-initiated bidirectional stream that was not open yet, `received_max_stream_data` treated the stream, and every lower-numbered stream, as opened without checking the stream ID against the limit advertised to the peer. RFC 9000 section 4.6 requires closing the connection with `STREAM_LIMIT_ERROR` in this case, and the STREAM and RESET_STREAM handlers already did so.

After the handshake, a peer can send one small MAX_STREAM_DATA frame naming a very large stream index, and `accept` then yields every stream up to that index. In `quinn`, a loop that keeps calling `accept_bi` can be handed more than 2^40 streams. Depending on the runtime, the endpoint runs out of memory, stops accepting new connections, or keeps busy indefinitely, even after the peer has gone away. Clients and servers that accept peer-initiated bidirectional streams are affected. Unidirectional streams are not.

The fix validates the stream ID in `received_max_stream_data` and adds a defensive check where streams are opened implicitly. It is in 0.11.19.

(As written by RustSec Advisory Database.)

## Affected

- quinn-proto (crates.io): from 0.11.0 before 0.11.19

## References

- <https://crates.io/crates/quinn-proto> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0523.html> (advisory)
- <https://github.com/quinn-rs/quinn/commit/3eb7465d9e11d7a245e99cde1a4eb872ec26d264> (web)
- <https://github.com/quinn-rs/quinn/commit/73114d8289d42bd536c790fa00a9beed05a4e5fa> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0523](https://rustsec.org/advisories/RUSTSEC-2026-0523.html), CC0-1.0, modified 2026-11-13

---

Page: https://cve.day/GHSA-53rm-773f-4q8c · Whole record: https://cve.day/GHSA-53rm-773f-4q8c.json · Rebuilt by cve.day 2026-11-25T22:56:43.499Z
