Description
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.
Published: 2026-07-30
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in AIOHTTP's WebSocket client, which incorrectly processes frames marked with an RSV1 bit that indicates compression, even when the permessage-deflate extension was not negotiated. This allows a server to send compressed frames that the client will unexpectedly decompress, consuming significant CPU cycles and memory. The resulting resource exhaustion can lead to service slowdown or crash, depriving legitimate users of the affected application.

Affected Systems

The vulnerability affects the aio-libs AIOHTTP library for Python. Any deployment using aiohttp prior to version 3.14.2 is potentially exposed, including client applications that rely on WebSocket communication. All earlier releases that do not include the patch are impacted.

Risk and Exploitability

The CVSS score of 6.9 categorizes the weakness as medium severity, while the EPSS score of less than 1% indicates a very low to negligible probability of exploitation at the moment. The vulnerability is not listed in the CISA KEV catalog. The principal attack path requires a malicious WebSocket server that sends compressed frames with the RSV1 bit set. An attacker can trigger the resource exhaustion by sending numerous such frames, affecting availability of the client application. Given the remote nature of the communication, the threat can materialize without local access.

Generated by OpenCVE AI on August 2, 2026 at 05:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the aiohttp library to version 3.14.2 or newer, which contains the fix that rejects unused RSV1 frames.
  • If an immediate upgrade is impossible, limit the use of WebSocket connections from untrusted servers or implement runtime resource constraints to mitigate potential denial‑of‑service attacks.
  • Configure the application to run the WebSocket client in a sandboxed environment with CPU/memory quotas, and restart the client automatically if abnormal resource usage is detected.

Generated by OpenCVE AI on August 2, 2026 at 05:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mq44-7p77-q5h7 AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate
History

Thu, 30 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Aio-libs
Aio-libs aiohttp
Vendors & Products Aio-libs
Aio-libs aiohttp

Thu, 30 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate
Weaknesses CWE-20
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Aio-libs Aiohttp
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-30T18:35:40.624Z

Reserved: 2026-07-07T16:40:07.982Z

Link: CVE-2026-59881

cve-icon Vulnrichment

Updated: 2026-07-30T18:35:37.697Z

cve-icon NVD

Status : Deferred

Published: 2026-07-30T19:18:33.597

Modified: 2026-07-30T20:03:32.983

Link: CVE-2026-59881

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T05:15:15Z

Weaknesses
  • CWE-20

    Improper Input Validation