VulnWatch by ve1ve2
high 8.7 EPSS 0.80%

GHSA-24c4-3p7v-29cm: AIOHTTP: Base64 multipart parts bypass client_max_size

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
aiohttp

https://osv.dev/vulnerability/GHSA-24c4-3p7v-29cm ↗

osvpypifix-available

AIOHTTP: Base64 multipart parts bypass client_max_size ### Summary When reading a multipart part with `Content-Transfer-Encoding: base64`, `BodyPartReader.read_chunk()` kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short `Content-Length`, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop. ### Impact An attacker could bypass `client_max_size` to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data. --- Patch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd Affected: PyPI:aiohttp Fixed in: 3.14.4 References: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm https://nvd.nist.gov/vuln/detail/CVE-2026-128127 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 https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4

Linked vulnerabilities (2)

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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

AIOHTTP: Base64 multipart parts bypass client_max_size

CWE: CWE-400Aliases: CVE-2026-128127
CVE-2026-128127 high 8.7 EPSS 0.80% (p58) NVDCVE.orgGHSA
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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

AIOHTTP: Base64 multipart parts bypass client_max_size

CWE: CWE-400Aliases: GHSA-24c4-3p7v-29cmNVD: Analyzed

Also reported by (1)