Summary
CVE-2026-128132 is an uncontrolled resource consumption (denial of service) vulnerability in the aiohttp WebSocket implementation. It affects aiohttp versions up to and including 3.14.3. An unauthenticated remote attacker can cause excessive memory use. The CVSS score is 8.7 (High).
Technical details
- Root cause: the WebSocket reader keeps parsing frames it has already received after the receive queue has paused the transport. Empty messages are also not counted toward the queue size, so the queue limits can be bypassed.
- Trigger conditions: an attacker sends many small or compressed messages faster than the application consumes them. With permessage-deflate compression enabled, a single read of compressed frames can add many megabytes of decompressed messages to the queue.
- Attack vector: network. No privileges or user interaction are required. A WebSocket server can be attacked by a client, and a client can be attacked by a malicious server.
- Impact: excessive memory consumption, causing a loss of availability. Weakness classes: CWE-400 and CWE-770.
Affected software
- aiohttp (aio-libs) versions up to and including 3.14.3 (all versions before 3.14.4)
Severity
- Base score: 8.7 (High). The published vector is CVSS v4.0:
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. No CVSS v3.1 vector was found in the sources reviewed.
Mitigation and recommended actions
- Immediate: upgrade aiohttp to 3.14.4 or later.
- Workarounds: the vendor advisory lists none. As a general precaution, limit exposure of aiohttp WebSocket endpoints to untrusted clients, and apply memory limits and monitoring to the affected services until they are patched.

