Summary
CVE-2026-128131 is an uncontrolled resource consumption (algorithmic complexity) vulnerability in AIOHTTP, the asynchronous HTTP client/server framework for Python. A remote, unauthenticated attacker can exhaust server CPU with a crafted compressed request body or WebSocket message. The CVE record rates it 8.7 (High).
Technical details
- Root cause: When a payload contains many concatenated gzip, deflate, or zstd streams, AIOHTTP decompresses each member by passing the entire remaining input to a new decompressor. This causes quadratic CPU use.
- Trigger conditions: The server processes a compressed request body or WebSocket message made of many concatenated compressed streams.
- Attack vector: Network. No authentication or user interaction is required.
- Impact: High availability impact through CPU exhaustion (denial of service). The CVE record lists no confidentiality or integrity impact.
- Weaknesses: CWE-400 (Uncontrolled Resource Consumption) and CWE-407 (Inefficient Algorithmic Complexity).
Affected software
- aiohttp versions prior to 3.14.4
Severity
- CVSS base score 8.7 (High), as published in the CVE record, which uses CVSS v4.0 rather than v3.1.
- Vector:
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
Mitigation and recommended actions
- Immediate: Upgrade aiohttp to version 3.14.4 or later.
- If you cannot patch immediately: The advisory sources reviewed did not list workarounds. Consider limiting request body sizes and per-request CPU time at a reverse proxy or WAF in front of exposed services.
- Identify internet-facing Python services built on aiohttp and confirm their installed version.

