HIGH7.5
PYSEC-2026-4389
Quick fix
PYSEC-2026-4389 — aiohttp: upgrade to the fixed version with the command below.
pip install --upgrade 'aiohttp>=3.14.4'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4[ADVISORY]
- https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f[FIX]
- https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f[FIX]
- https://github.com/aio-libs/aiohttp/pull/13352[FIX]
- https://github.com/aio-libs/aiohttp/pull/13612[FIX]
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5[FIX]