CVE-2026-123817
JSON

8.7high

AIOHTTP WebSocket frame reassembly permits excessive memory consumption from tiny reads

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2g87-pp6c-29x5PYSEC-2026-4389

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.

Affected

Product or packageVersionsReported by
aio-libs aiohttp< 3.14.4CVE List
aiohttp (PyPI)before 3.14.4GitHub Advisory Database, PyPA Advisory Database
aiohttp aiohttpfrom 3.11.17 before 3.14.4NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

While reassembling a WebSocket frame that arrived across many small transport reads, the reader kept one bytes object per read with no bound on the count. The per-object overhead is many times larger than the payload bytes, so a frame delivered a few bytes at a time could use far more memory than max_msg_size allows.

Impact

An attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending a frame in a large number of tiny segments.

References

https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5fix, patch, vendor-advisory, web
https://github.com/aio-libs/aiohttp/pull/13352fix, patch
https://github.com/aio-libs/aiohttp/pull/13612fix, patch
https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141ffix, patch, web
https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4ffix, patch, web
https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4advisory, release-notes, web
https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6web
https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4dfweb
https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7web
https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53web
https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4faweb
https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dabweb

Sources

SourceRecordLicence
CVE ListCVE-2026-123817 changed 2026-11-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-2g87-pp6c-29x5 changed 2026-11-19CC-BY-4.0
NVDCVE-2026-123817 changed 2026-11-30Public domain
PyPA Advisory DatabasePYSEC-2026-4389 changed 2026-11-19CC-BY-4.0