Advisory

GHSA-h4cc-hm5h-fmm9

Also known as: CVE-2026-128131

Summary

AIOHTTP: Concatenated compressed streams cause excessive CPU use

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-11-16 14:51 UTC
Modified
2026-11-16 15:00 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.14.4 (ecosystem)

Fixed versions

3.14.4

Fix

  • Fixed version 3.14.4
    pip install --upgrade aiohttp==3.14.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences