VDB
Sign up
HIGH8.7

GHSA-5rmc-48h2-hvcm

AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages

Quick fix

GHSA-5rmc-48h2-hvcm — aiohttp: upgrade to the fixed version with the command below.

pip install --upgrade 'aiohttp>=3.14.4'

Details

### Summary

The WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.

### Impact

An attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.

---

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

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