CVE-2026-123817

AIOHTTP WebSocket frame reassembly permits excessive memory consumption from tiny reads

Published Nov 9, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the WebSocket reader retains one bytes object for each transport read while reassembling an incomplete frame. A malicious peer can split a frame into many tiny reads so per-object overhead substantially exceeds the payload bytes allowed by max_msg_size. The condition affects a server receiving frames from a malicious client and a client receiving frames from a malicious server, and can cause excessive memory consumption or denial of service. This issue is fixed in version 3.14.4.

Analysis

AI-generated

Technical impact

The flaw forces the WebSocket reader to create an independent Python bytes object for every transport read while reconstructing a partial frame. When a malicious peer fragments a single frame into many tiny reads, each object's overhead far exceeds the configured maximum message size, causing the victim process to consume disproportionate amounts of memory. This unchecked growth can lead to a complete denial of service by exhausting system memory and potentially crashing the application.

Affected Systems

aio-libs:aiohttp, an asynchronous HTTP client and server framework for Python and asyncio. All releases earlier than version 3.14.4 are vulnerable. Any deployment that has not upgraded to at least 3.14.4 and accepts WebSocket connections from external peers is affected.

Risk and Exploitability

The CVSS score of 8.7 signals high severity. Although there is no EPSS score and the vulnerability is not yet listed in CISA's KEV catalog, the missing classification does not reduce the risk; the exploit requires only a basic WebSocket connection. An attacker can trigger the issue remotely by opening a WebSocket to a vulnerable service and sending a large payload fragmented into numerous small reads. No elevated privileges are needed, and the attack can be performed through any standard WebSocket port from an external network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the aiohttp package to at least version 3.14.4, which removes the reassembly bug.
  • If upgrading is not immediately possible, configure the application to reject WebSocket connections that exceed a stricter maximum message size or to close the connection after consecutive small fragmented reads.
  • Deploy memory‑usage monitoring and set alerts so that the service can auto‑restart or de‑serve the channel when excessive memory allocation is detected.

Generated by OpenCVE AI on November 9, 2026 at 22:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2g87-pp6c-29x5 aiohttp: Multiple instances of excessive or unbounded memory/CPU use
History
Type Values Removed Values Added
First Time appeared Aiohttp
Aiohttp aiohttp
CPEs cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*
Vendors & Products Aiohttp
Aiohttp aiohttp
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Aio-libs
Aio-libs aiohttp
Vendors & Products Aio-libs
Aio-libs aiohttp
Type Values Removed Values Added
Description AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the WebSocket reader retains one bytes object for each transport read while reassembling an incomplete frame. A malicious peer can split a frame into many tiny reads so per-object overhead substantially exceeds the payload bytes allowed by max_msg_size. The condition affects a server receiving frames from a malicious client and a client receiving frames from a malicious server, and can cause excessive memory consumption or denial of service. This issue is fixed in version 3.14.4.
Title AIOHTTP WebSocket frame reassembly permits excessive memory consumption from tiny reads
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 8.7, '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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 14, 2026, 2:19 AM
Reserved
Nov 6, 2026, 3:27 PM
Status
Analyzed
Published
Nov 9, 2026, 10:18 PM
Modified
Nov 30, 2026, 7:58 PM
Severity
Important
Public date
Nov 9, 2026, 9:17 PM