8.7high
AIOHTTP: Concatenated compressed streams cause excessive CPU use
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.70% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-h4cc-hm5h-fmm9PYSEC-2026-4399
Description
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining input to a new decompressor, causing quadratic CPU use. Empty members produce no output, so client_max_size and output backpressure do not limit the work. A remote attacker can block a server event loop with a crafted compressed request body or WebSocket message, and a malicious server can similarly block a client. This issue is fixed in version 3.14.4.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| aio-libs aiohttp | < 3.14.4 | CVE List |
| aiohttp (PyPI) | before 3.14.4 | GitHub Advisory Database, PyPA Advisory Database |
| aiohttp aiohttp | from 3.14.0 before 3.14.4 | NVD |
All scores
| GitHub_M | 8.7high CVSS:4.0 | 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 | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | 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 | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining input to a new decompressor, causing quadratic CPU use. Empty members produce no output, so client_max_size and output backpressure do not limit the work. A remote attacker can block a server event loop with a crafted compressed request body or WebSocket message, and a malicious server can similarly block a client. This issue is fixed in version 3.14.4.
GitHub Advisory Database
Summary
When decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so client_max_size and output backpressure did not limit the work.
Impact
An attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.
Patch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db
References
| https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9 | fix, patch, vendor-advisory, web | |
| https://github.com/aio-libs/aiohttp/pull/13362 | fix, patch, web | |
| https://github.com/aio-libs/aiohttp/pull/13391 | fix, patch, web | |
| https://github.com/aio-libs/aiohttp/commit/d041d4d0fd48c3f0832084d33be16cf1c4835f85 | fix, patch, web | |
| https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db | fix, patch, web | |
| https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4 | advisory, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-128131 | advisory | |
| https://github.com/aio-libs/aiohttp | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-128131 changed 2026-11-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h4cc-hm5h-fmm9 changed 2026-11-24 | CC-BY-4.0 |
| NVD | CVE-2026-128131 changed 2026-11-30 | Public domain |
| PyPA Advisory Database | PYSEC-2026-4399 changed 2026-11-24 | CC-BY-4.0 |