aiohttp: Unread Compressed Request Bodies Bypass client_max_size During Cleanup
Description
Published to the GitHub Advisory Database
Jun 15, 2026
Reviewed
Jun 15, 2026
Last updated
Jun 15, 2026
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: aio-libs/aiohttp@4f7480e
References