CVE-2026-22815: AIOHTTP: Uncapped memory usage possible through aiohttp allowing unlimited trailer headers

Published Apr 1, 2026
·
Updated

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

Other sources

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, insufficient restrictions in header/trailer handling could cause uncapped memory usage. This issue has been patched in version 3.13.4.

MITRE

Affected Software

3 affected componentsFixes available
pip/aiohttp<=3.13.3
3.13.4
aiohttp aiohttp<3.13.4
debian/python-aiohttp<=3.7.4-1, <=3.8.4-1+deb12u1, <=3.11.16-1+deb13u1
3.7.4-1+deb11u23.14.1-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/aiohttp to a version that resolves this vulnerability.

    Fixed in 3.13.4
  2. Upgrade

    Upgrade debian/python-aiohttp to a version that resolves this vulnerability.

    Fixed in 3.7.4-1+deb11u2Fixed in 3.14.1-4
  3. Upgrade

    Upgrade aiohttp to a version that resolves this vulnerability.

    Fixed in 3.13.4Patch 0c2e9da51126238a421568eb7c5b53e5b5d17b36
  4. Compensating control

    Use a typical reverse proxy configuration to mitigate uncapped memory usage via attacker-controlled requests/responses (uncapped trailer headers) when using aiohttp before 3.13.4.

Event History

Apr 1, 2026
Advisory Published
via GitHub·07:45 PM
Data Sourced
via GitHub·07:45 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·08:08 PM
Data Sourced
via MITRE·08:08 PM
DescriptionWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 23, 2026
Data Sourced
via Ubuntu·12:18 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·12:20 AM
Description
Data Sourced
via Debian·12:20 AM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203