# PYSEC-2026-4389: AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python

- Database: PyPA
- Published: 2026-11-09
- Modified: 2026-11-19

## Tracked as

- [CVE-2026-123817](https://cve.now/CVE-2026-123817.md): aiohttp memory exhaustion in WebSocket frame reassembly

## Also published as

- [GHSA-2G87-PP6C-29X5](https://cve.now/GHSA-2G87-PP6C-29X5.md) (GitHub)

## Affected versions

- aiohttp (PyPI): fixed in 3.14.4

## Description

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.

## References

- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f
- https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f
- https://github.com/aio-libs/aiohttp/pull/13352
- https://github.com/aio-libs/aiohttp/pull/13612
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5

Page: https://cve.now/PYSEC-2026-4389

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
