Summary
AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages
Advisory 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
References
- https://github.com/advisories/GHSA-5rmc-48h2-hvcm
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm
- https://nvd.nist.gov/vuln/detail/CVE-2026-128132
- https://github.com/aio-libs/aiohttp/pull/13393
- https://github.com/aio-libs/aiohttp/pull/13545
- https://github.com/aio-libs/aiohttp/pull/13546
- https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6
- https://github.com/aio-libs/aiohttp/commit/5e54037933fa8422be5fa8a2002d118ed2d4e5e0
Related vulnerabilities
All Supply chain →- HIGHCVE-2026-68539
fulgur allows Unbounded string-set value accumulation causes memory/CPU exhaustion (denial of service)
- HIGHCVE-2026-119793
libp2p: gossipsub creates a permanent topics-map entry per distinct subscription with no cap in the default config
- HIGHCVE-2026-128089
dnspython has excessive memory and CPU use
- HIGHCVE-2026-102650
Nuxt Content: Unauthenticated SQLite Function DoS via Content Query API
- MEDIUMCVE-2026-59171
JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS
- HIGHCVE-2026-119208
pypdf has possible long runtimes/large memory usage for encrypted PDF files