Advisory

GHSA-3wq7-rqq7-wx6j

Also known as: CVE-2026-34517, PYSEC-2026-2099

Summary

AIOHTTP has late size enforcement for non-file multipart fields causes memory DoS

Details

Summary

For some multipart form fields, aiohttp read the entire field into memory before checking client_max_size.

Impact

If an application uses Request.post() an attacker can send a specially crafted multipart request to force significant temporary memory allocation even when the request is ultimately rejected.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/cbb774f38330563422ca0c413a71021d7b944145

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-04-01 21:47 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.13.4 (ecosystem)

Fixed versions

3.13.4

Fix

  • Fixed version 3.13.4
    pip install --upgrade aiohttp==3.13.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences