Read the docs

Excessive CPU use in aiohttp from concatenated compressed streams

Priority MEDIUM 44CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

aio-libs aiohttp before 3.14.4 decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining input to a new decompressor, which causes quadratic CPU use (CWE-407). Empty members produce no output, so client_max_size and output backpressure do not limit the work. An unauthenticated 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.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0052 44th percentileScored 2026-11-16
Fix Fixed aiohttp (aio-libs): 3.14.4aiohttp (PyPI): 3.14.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
aio-libsaiohttpbefore 3.14.43.14.4Patch availableCNA
—aiohttp (PyPI)before 3.14.43.14.4Patch availableGHSA-h4cc-hm5h-fmm9
  • aiohttp Vendoraio-libs Affected before 3.14.4 Fixed in 3.14.4 Patch available CNA
  • aiohttp (PyPI) Vendor— Affected before 3.14.4 Fixed in 3.14.4 Patch available GHSA-h4cc-hm5h-fmm9

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*——Aiohttp
  • cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:* Versions — — ·Aiohttp

Remediation

Upgrade aiohttp to version 3.14.4, which fixes this issue in the PyPI package aiohttp.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA aiohttp (aio-libs) Fixed in 3.14.4
  • Fix · GHSA-h4cc-hm5h-fmm9 aiohttp (PyPI) Fixed in 3.14.4 Advisory →

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-128131
  2. 2026-11-16 Alias added: GHSA-h4cc-hm5h-fmm9
  3. 2026-11-16 Fix available: PyPI/[email protected] · GHSA-h4cc-hm5h-fmm9
  4. 2026-11-16 CVSS score added · GHSA-h4cc-hm5h-fmm9
  5. 2026-11-16 Weakness changed · GHSA-h4cc-hm5h-fmm9
  6. 2026-11-16 8 new references · GHSA-h4cc-hm5h-fmm9
  7. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2025-38826 aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server CVSS 4.0HIGH 8.2
  • TI-2024-15436 aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal CVSS 3.1HIGH 7.5
  • TI-2023-25769 Request smuggling in aiohttp CVSS 3.1HIGH 7.5
  • TI-2023-18906 aiohttp vulnerable to HTTP request smuggling CVSS 3.1HIGH 7.5
  • TI-2023-26746 aiohttp's ClientSession is vulnerable to CRLF injection via version CVSS 3.1HIGH 7.2
  • TI-2026-66145 Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction CVSS 3.1MEDIUM 5.3
See all 69 →

Sources