aiohttp
Affected
- introduced
0, fixed3.14.4(ecosystem)
Fixed versions
3.14.4
Fix
- Fixed version
3.14.4pip install --upgrade aiohttp==3.14.4
Advisory
Also known as: 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
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.
---
Patch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab
High Basis: The source's own band: HIGH
0, fixed 3.14.4 (ecosystem)3.14.4
3.14.4pip install --upgrade aiohttp==3.14.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0