CVE-2026-128127
AIOHTTP: Base64 multipart parts bypass client_max_size
- Severity
- high CVSS 8.7 (v4.0)
- Affects
- aiohttp · aio-libs
- Weakness
- CWE-400: Uncontrolled Resource Consumption
- Published
- 13 November 2026 by GitHub_M
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, BodyPartReader.read_chunk() processing a multipart part with Content-Transfer-Encoding set to base64 keeps reading until the chunk length is a multiple of four without enforcing a byte limit. A short Content-Length or a long run of whitespace can cause one call to read the remaining body into memory before the size check or spin on the event loop. A remote attacker can send such a multipart request to a handler that reads multipart data and bypass client_max_size. This issue is fixed in version 3.14.4.
Our coverage
We have not written about this one. Know why it matters? Send a tip.