VDB
Sign up
HIGH8.2

GHSA-pw86-h8fm-j323

AIOHTTP: Unbounded buffering of data received during an upgrade request

Quick fix

GHSA-pw86-h8fm-j323 — aiohttp: upgrade to the fixed version with the command below.

pip install --upgrade 'aiohttp>=3.14.4'

Details

### 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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/aiohttp
Introduced in: 0Fixed in: 3.14.4
Fixpip install --upgrade 'aiohttp>=3.14.4'

References