AIOHTTP WebSocket frame reassembly permits excessive memory consumption from tiny reads (aio-libs aiohttp)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.49 % · percentile 44 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- aio-libs · aiohttp
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-770 — Allocation of Resources Without Limits or Throttling
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5
- https://github.com/aio-libs/aiohttp/pull/13352
- https://github.com/aio-libs/aiohttp/pull/13612
- https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f
- https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | GitHub_M |
| CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-2g87-pp6c-29x5 — aiohttp: Multiple instances of excessive or unbounded memory/CPU use
- PYSEC-2026-4389 — 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 transpor
European references
- ENISA EUVD · EUVD-2026-120454
- GCVE · GCVE-0-2026-123817
CERT-FR advisories
- CERTFR-2026-AVI-1527 — Multiples vulnérabilités dans VMware Tanzu Greenplum · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*≥ 3.11.17 < 3.14.4
Affected products
| Product | Affected versions |
|---|---|
| aio-libs · aiohttp | affected : < 3.14.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |