CVE-2026-128131: AIOHTTP: Concatenated compressed streams cause excessive CPU use
Published 2026-11-13 · Updated 2026-11-24 · Also known as GHSA-h4cc-hm5h-fmm9, PYSEC-2026-4399
Summary
AIOHTTP suffers from a quadratic CPU complexity flaw when decompressing payloads containing many concatenated compressed streams. Engineering and security teams using the PyPI aiohttp library should update to version 3.14.4.
Who is affected
This vulnerability affects both AIOHTTP servers processing compressed request bodies or WebSocket messages and AIOHTTP clients consuming compressed server responses. Exploitation allows an attacker to cause extreme CPU resource consumption and block the application's event loop. Payload size controls such as client_max_size fail to prevent the attack because empty compressed members produce no output while still triggering quadratic processing overhead.
Exploitability
The vulnerability carries a CVSS 3.1 base score of 7.5 (High) with an attack vector requiring network access, low complexity, no privileges, and no user interaction (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). The current EPSS score is 0.006 (0.514th percentile). It is not listed in CISA's Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade the PyPI aiohttp dependency to version 3.14.4 or later.
- Apply the vendor patch commit d925a80539ffd227da1d93ab4a5bff123cc777db if backporting fixes to custom builds.
How to check your project
- Check Python environments using 'pip show aiohttp' or 'pip list' to verify whether the installed version is earlier than 3.14.4.
- Scan project lockfiles (such as poetry.lock, Pipfile.lock, or requirements.txt) for aiohttp versions prior to 3.14.4.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | aiohttp |
>= 0, < 3.14.4 | 3.14.4 | python -m pip install 'aiohttp>=3.14.4' |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
Why do standard payload limits like client_max_size fail to block this attack?
The flaw relies on concatenated compressed streams where empty members yield zero decompressed output. Because output size checks and backpressure triggers rely on decompressed data output, the input bypasses these mitigations while still consuming quadratic CPU time.
Can this vulnerability impact both client and server applications?
Yes. A malicious client can block a server's event loop via crafted request bodies or WebSocket messages, and a malicious server can block an AIOHTTP client via crafted response bodies.
Are there any documented temporary workarounds?
No temporary workarounds are documented in the vulnerability report. Upgrading to aiohttp 3.14.4 is the required resolution.
Original advisory description
References
- WEB https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-128131
- WEB https://github.com/aio-libs/aiohttp/pull/13362
- WEB https://github.com/aio-libs/aiohttp/pull/13391
- WEB https://github.com/aio-libs/aiohttp/commit/d041d4d0fd48c3f0832084d33be16cf1c4835f85
- WEB https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db
- PACKAGE https://github.com/aio-libs/aiohttp
- WEB https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
Source records: GHSA-h4cc-hm5h-fmm9, PYSEC-2026-4399 (OSV.dev) · EPSS by FIRST, 2026-11-26.