Advisory

GHSA-w2fm-2cpv-w7v5

Also known as: CVE-2026-22815, PYSEC-2026-2094

Summary

aiohttp allows unlimited trailer headers, leading to possible uncapped memory usage

Details

Summary

Insufficient restrictions in header/trailer handling could cause uncapped memory usage.

Impact

An application could cause memory exhaustion when receiving an attacker controlled request or response. A vulnerable web application could mitigate these risks with a typical reverse proxy configuration.

-----

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-01 19:45 UTC
Modified
2026-09-10 03:51 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