THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-3rp8-rxj8-mvjw (high) — AIOHTTP: WebSocket max_msg_size bypass via integer overflow

[GHSA] GHSA-3rp8-rxj8-mvjw (high) — AIOHTTP: WebSocket max_msg_size bypass via integer overflow

highgithub_advisoriesPublished 2026-11-16

GHSA-3rp8-rxj8-mvjw Severity: high CVE: CVE-2026-128128

AIOHTTP: WebSocket max_msg_size bypass via integer overflow

### Summary

The `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed.

### Impact

Indicators of compromise

Original source: https://github.com/advisories/GHSA-3rp8-rxj8-mvjw