Vulnerability GHSA-3rp8-rxj8-mvjw

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
5 days ago
November 16, 2026 at 02:52 PM UTC
AIOHTTP: WebSocket max_msg_size bypass via integer overflow
0.1 - 3.14.3
0.1 - 3.14.3

Summary

AIOHTTP: WebSocket max_msg_size bypass via integer overflow

Details

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

An attacker could bypass max_msg_size and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.

Workaround

If unable to upgrade, the Python reader is unaffected and can be used with AIOHTTP_NO_EXTENSIONS=1.

Impacted packages

Timeline

Published
5 days ago
November 16, 2026 at 02:52 PM UTC
Fixed (3.14.4)
1 month ago
October 05, 2026 at 05:38 PM UTC
Last Modified
2 days ago
November 20, 2026 at 10:10 AM UTC