AIOHTTP: WebSocket Receive Queue Limits Bypassed by Small or Compressed Messages
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
What to do
Upgrade aiohttp to version 3.14.4 or later, or apply patch https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | aiohttp | < 3.14.4 | 3.14.4 |
References
- 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
- https://github.com/aio-libs/aiohttp/commit/b62321b6fa264a89f4aca084ad60fc38a59ffa51
- https://github.com/aio-libs/aiohttp
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-400, CWE-770- Platform
- Python (PyPI)
- Package
aiohttp- Disclosed
- 16.11.2026
- Updated
- 17.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - GHSA-5rmc-48h2-hvcm - CC BY 4.0
Vulnerability history: aiohttp
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 64
- First → latest
- 02.2021 11.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 15
- Medium 31
- Low 18
Disclosures per year
- 2021: 1
- 2022: 0
- 2023: 6
- 2024: 7
- 2025: 1
- 2026: 49
-
AIOHTTP: WebSocket Receive Queue Limits Bypassed by Small or Compressed Messages this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.