UNKNOWN PyPI

aiohttp: Unread Compressed Request Bodies Bypass client_max_size During Cleanup

GHSA-g3cq-j2xw-wf74 · CVE-2026-54278 · PYSEC-2026-2111

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes