CVE-2026-128129: AIOHTTP: Unbounded buffering of data received during an upgrade request

Published Nov 13, 2026
·
Updated

Summary

While a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.

Impact

An attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.

---

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

Other sources

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp buffers all additional connection data received while a request marked for upgrade, such as a WebSocket handshake, is being handled, without a size limit or flow control. A remote attacker can stream data behind an upgrade request to a handler that does not immediately accept or reject the upgrade and cause unbounded memory consumption. This issue is fixed in version 3.14.4.

— NVD

AIOHTTP: Unbounded buffering of data received during an upgrade request

— Microsoft

Affected Software

15 affected componentsFixes available
pypi/aiohttp<3.14.4
debian/python-aiohttp*
debian/python-aiohttp*
debian/python-aiohttp*
debian/python-aiohttp<=3.8.4-1+deb12u1, <=3.8.4-1+deb12u2, <=3.11.16-1+deb13u1, <=3.14.3-1
pip/aiohttp<=3.14.3
3.14.4
pip/aiohttp<3.14.4
3.14.4
ubuntu/python-aiohttp*
ubuntu/python-aiohttp*
ubuntu/python-aiohttp*
ubuntu/python-aiohttp*
ubuntu/python-aiohttp*
ubuntu/python-aiohttp*
ubuntu/python-aiohttp*
aiohttp aiohttp<3.14.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.14.4
  2. Upgrade

    Upgrade aiohttp to a version that resolves this vulnerability.

    Fixed in 3.14.4

Event History

Nov 13, 2026
CVE Published
via MITRE·08:33 PM
Data Sourced
via MITRE·08:33 PM
DescriptionWeakness
Data Sourced
via OSV·08:33 PM
DescriptionSeverityWeakness
Advisory Published
via OSV·09:17 PM
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness
Nov 14, 2026
Data Sourced
via OSV·11:00 AM
Affected Software
Nov 16, 2026
Advisory Published
via GitHub·02:52 PM
Data Sourced
via GitHub·02:52 PM
DescriptionWeaknessAffected Software
Nov 17, 2026
Data Sourced
via Microsoft·06:48 AM
DescriptionSeverityWeakness
Nov 23, 2026
Data Sourced
via NVD·02:09 PM
RemedyAffected Software
Updated
via NVD·02:09 PM
Severity
Nov 24, 2026
Updated
via OSV·10:00 AM
Severity
Updated
via OSV·10:48 PM
Severity
Dec 1, 2026
Updated
via Microsoft·09:05 AM
Severity
Dec 4, 2026
Updated
via Microsoft·02:58 AM
Severity

Frequently Asked Questions

1

Which deployments are realistically exposed to this issue?

Deployments using aiohttp versions earlier than 3.14.4 are exposed when they handle requests marked for protocol upgrade, such as WebSocket handshakes, and the handler does not promptly accept or reject the upgrade.

2

What does an attacker need to do to trigger the memory exhaustion?

A remote attacker can send an upgrade request and continuously stream additional data behind it while the server is handling the upgrade. No privileges or user interaction are required.

3

Are all aiohttp applications affected by default?

The issue affects aiohttp versions before 3.14.4, but exploitation depends on an upgrade request reaching a handler that delays its upgrade decision. Applications that do not handle upgrade requests are not described as exploitable by the provided information.

4

What should be done if patching cannot happen immediately?

Ensure upgrade-request handlers immediately accept or reject upgrade attempts, rather than leaving them pending while receiving additional connection data. Upgrade aiohttp to version 3.14.4 when possible.

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