Advisory

GHSA-g3cq-j2xw-wf74

Also known as: CVE-2026-54278, PYSEC-2026-2111

Summary

aiohttp: Unread Compressed Request Bodies Bypass client_max_size During Cleanup

Details

Summary

During cleanup it is possible for a compressed request body to be decompressed into memory in one chunk.

Impact

An attacker may be able to send a compressed payload in specific situations that could be decompressed into memory, potentially leading to DoS (a zip bomb edge case).

Workaround

Disable compression if unable to upgrade.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/4f7480e474cccc6a8cc2c92ad3f17a31dedf8232

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-15 20:09 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.14.1 (ecosystem)

Fixed versions

3.14.1

Fix

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

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