AIOHTTP WebSocket frame reassembly permits excessive memory consumption from tiny reads
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 WebSocket reader retains one bytes object for each transport read while reassembling an incomplete frame. A malicious peer can split a frame into many tiny reads so per-object overhead substantially exceeds the payload bytes allowed by max_msg_size. The condition affects a server receiving frames from a malicious client and a client receiving frames from a malicious server, and can cause excessive memory consumption or denial of service. 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