AIOHTTP: WebSocket max_msg_size bypass via integer overflow
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.14.4 and aiohttp 3.14.4.
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the C WebSocket reader adds a declared frame length to the size of an already buffered partial message using signed 64-bit arithmetic. A length near two to the power of 63 can overflow, allowing the max_msg_size check to pass. A remote peer can send a small non-final fragment followed by an oversized message and cause unbounded memory consumption. The Python WebSocket reader is unaffected. This issue is fixed in version 3.14.4.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| aio-libs | <3.14.4 | ||
| aiohttp | aiohttp | <3.14.4 | 3.14.4 |
| pypi: aiohttp | <3.14.4, <=3.14.3 | 3.14.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in aiohttp (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket