CVE-2026-59881
NoneCVSS
—
EPSS
0.5%
Published
Jul 30, 2026
CISA due date
—
Cloudanix analysis
A Python library for web connections can be tricked by a malicious server into wasting computer resources, which may slow down or crash the affected program.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The WebSocket client accepts and attempts to decompress frames with the RSV1 bit set even when the permessage-deflate extension was never negotiated, causing unexpected CPU and memory consumption on the client.
Why it matters to the business
Clients connecting to untrusted or compromised WebSocket servers may experience denial of service through resource exhaustion, disrupting dependent Python applications and services.
How an attack unfolds
An attacker hosts a malicious WebSocket server that immediately sends frames with the RSV1 bit set. A vulnerable aiohttp client connects to the server and begins processing the frames, triggering repeated decompression attempts that exhaust CPU and memory.
How to fix it
Upgrade aiohttp to version 3.14.2 or later. If immediate upgrade is not possible, avoid connecting to untrusted WebSocket endpoints.
How to confirm the fix worked
Confirm the installed aiohttp version is 3.14.2 or newer; test by connecting to a server that sends RSV1 frames and verify resource usage remains stable.
Typical attack path
- Attacker deploys a WebSocket server that sends RSV1-marked frames without negotiating permessage-deflate
- Victim application initiates a WebSocket connection using the vulnerable aiohttp client
- Server responds with crafted frames containing the RSV1 bit
- Client performs unnecessary decompression, leading to sustained resource consumption
How to detect it
Review application logs and system metrics for sudden spikes in CPU or memory usage immediately after WebSocket connections; correlate with aiohttp client activity.
What your security team should do
- Upgrade all aiohttp installations to 3.14.2 or later as the primary remediation
- Restrict WebSocket client connections to trusted endpoints only
- Monitor Python processes using aiohttp for anomalous CPU or memory spikes
The record
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.2, the WebSocket client accepts and decompresses frames with the RSV1 bit set even when the permessage-deflate extension was not negotiated, allowing a malicious server to cause unexpected CPU and memory consumption. This issue is fixed in version 3.14.2.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-63339 IXP Manager is a full-stack web application for managing Internet Exchange Points. CWE-20
- CVE-2026-62958 libriscv is a RISC-V sandbox and emulator. CWE-20
- CVE-2026-119342 Stirling-PDF is a locally hosted web application that facilitates various operations on… CWE-20
- CVE-2026-119339 Tesseract is an open source OCR engine. CWE-20
- CVE-2026-62335 OpenVM is a performant and modular zkVM framework built for customization and… CWE-20
- CVE-2026-62337 SNARK Verifier is a generic (S)NARK verifier. CWE-20
- CVE-2026-62333 OpenVM is a performant and modular zkVM framework built for customization and… CWE-20
- CVE-2026-61618 SNARK Verifier is a generic (S)NARK verifier. CWE-20