All vulnerabilities

PyPI

CVE-2026-128131

AIOHTTP: Concatenated compressed streams cause excessive CPU use

Severity
High 7.5
Published
16 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.14.4
Exploit chance
0.7% in the next 30 daysHigher than 54% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Uncontrolled resource consumption (CWE-400)Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Also known as
GHSA-h4cc-hm5h-fmm9
Sources
OSV.dev and GitHub

Description

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.

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

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
aiohttpPyPI · osv:PyPI:aiohttp
  • Every version before 3.14.4

About aiohttp

Weekly downloads (PyPI)
133,681,616PyPI Stats, 24 Nov 2026

References