GitHub Advisoryadvisory · PyPI
GHSA-g3cq-j2xw-wf74 aiohttp: Unread Compressed Request Bodies Bypass client_max_size During Cleanup
MEDIUM
Official page ↗
- Aliases
- CVE-2026-54278
- Ecosystem
- PyPI
- Packages
- aiohttp
- Severity
- Moderate
- CVSS 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/E:U
- Weaknesses
- CWE-409
- Reviewed
- 2026-06-15
Affected packages
• PyPI aiohttp: < 3.14.1 → fixed in 3.14.1
Description
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
Related
Alias · CVE (1)
- CVE-2026-54278 AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. vulnerability
Weakness · CWE (1)
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) weakness