All vulnerabilities

PyPI

CVE-2026-128132

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

Severity
High
Published
16 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.14.4
Exploit chance
0.5% in the next 30 daysHigher than 43% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Uncontrolled resource consumption (CWE-400)Allocation without limits (CWE-770)
Also known as
GHSA-5rmc-48h2-hvcm
Sources
OSV.dev and GitHub

Description

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.

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

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
aiohttpPyPI · osv:PyPI:aiohttp
  • Every version before 3.14.4

About aiohttp

Weekly downloads (PyPI)
133,681,616PyPI Stats, 24 Nov 2026

References