Base64 multipart parts bypass client_max_size in AIOHTTP
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
AIOHTTP, an asynchronous HTTP client and server framework for asyncio and Python, is affected before 3.14.4. When BodyPartReader.read_chunk() processes a multipart part with Content-Transfer-Encoding set to base64, it keeps reading without enforcing a byte limit, so a short Content-Length or long run of whitespace can make one call read the remaining body into memory or spin the event loop, which is a case of CWE-400 Uncontrolled Resource Consumption. A remote attacker can send such a multipart request to a handler that reads multipart data and bypass client_max_size, with no privileges or user interaction needed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| aio-libs | aiohttp | before 3.14.4 | 3.14.4 | Patch available | CNA |
| — | aiohttp (PyPI) | before 3.14.4 | 3.14.4 | Patch available | GHSA-24c4-3p7v-29cm |
- aiohttp Vendoraio-libs Affected before 3.14.4 Fixed in 3.14.4 Patch available CNA
- aiohttp (PyPI) Vendor— Affected before 3.14.4 Fixed in 3.14.4 Patch available GHSA-24c4-3p7v-29cm
Remediation
Upgrade aiohttp to version 3.14.4, which fixes the issue for the aio-libs aiohttp package and the PyPI aiohttp package.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA aiohttp (aio-libs) Fixed in 3.14.4
- Fix · GHSA-24c4-3p7v-29cm aiohttp (PyPI) Fixed in 3.14.4 Advisory →
Timeline
- 2026-11-13 Threatist record created from CVE-2026-128127
- 2026-11-16 Alias added: GHSA-24c4-3p7v-29cm
- 2026-11-16 Fix available: PyPI/[email protected] · GHSA-24c4-3p7v-29cm
- 2026-11-16 CVSS score added · GHSA-24c4-3p7v-29cm
- 2026-11-16 Weakness changed · GHSA-24c4-3p7v-29cm
- 2026-11-16 8 new references · GHSA-24c4-3p7v-29cm
- 2026-11-16 CISA SSVC decision points changed
References
Other 7
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm
- https://github.com/aio-libs/aiohttp/pull/13509
- https://github.com/aio-libs/aiohttp/pull/13513
- https://github.com/aio-libs/aiohttp/commit/2d9c5c1062eff0034fb3ab120897a6c1b3ff7041
- https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- https://github.com/aio-libs/aiohttp
More aio-libs vulnerabilities
- TI-2025-38826 aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server CVSS 4.0HIGH 8.2
- TI-2024-15436 aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal CVSS 3.1HIGH 7.5
- TI-2023-25769 Request smuggling in aiohttp CVSS 3.1HIGH 7.5
- TI-2023-18906 aiohttp vulnerable to HTTP request smuggling CVSS 3.1HIGH 7.5
- TI-2023-26746 aiohttp's ClientSession is vulnerable to CRLF injection via version CVSS 3.1HIGH 7.2
- TI-2026-66145 Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-128127 · CVE Program
- CVE-2026-128127 · NVD
- FIRST EPSS
- GHSA-24c4-3p7v-29cm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences