← Vulnerabilities

HighAdvisoryPython

AIOHTTP: WebSocket max_msg_size bypass via integer overflow

Affected

PackageAffected versionsFixed in
pip:aiohttp<= 3.14.33.14.4

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 263 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 AIOHT…

Read on GitHub Advisory Database

On 11/16/2026, 11:52 PM, GitHub Advisory Database published "AIOHTTP: WebSocket max_msg_size bypass via integer overflow" (type: Advisory). Severity is "High" (high). Related technologies: Python. CVE: CVE-2026-128128.