GHSA-24c4-3p7v-29cm

    Dashboard / Vulnerabilities / GHSA-24c4-3p7v-29cm

    GHSA-24c4-3p7v-29cm

    Published: 16 Nov 2026Last Modified: 20 Nov 2026

    Summary: AIOHTTP: Base64 multipart parts bypass client_max_size

    Details: ### 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 packages

    Package

    Name: aiohttp

    Purl: pkg:pypi/aiohttp

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.14.4

    Affected versions

    0.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High