Summary
CVE-2026-123817 is a high-severity denial-of-service vulnerability (CWE-770, Allocation of Resources Without Limits or Throttling) in the AIOHTTP asynchronous HTTP client/server framework for Python. The WebSocket reader can be forced to consume excessive memory. The CVSS score is 8.7 (High). All versions prior to 3.14.4 are affected.
Technical details
- Root cause: While reassembling an incomplete WebSocket frame, the WebSocket reader keeps one bytes object for each transport read. Per-object overhead can far exceed the payload bytes that
max_msg_sizeallows, so that limit does not bound real memory use. - Trigger conditions: A malicious peer splits a single frame into many tiny reads.
- Attack vector: Network. No authentication or user interaction is required. Both WebSocket servers that receive frames from malicious clients and WebSocket clients that receive frames from malicious servers are affected.
- Impact: Excessive memory consumption, leading to denial of service (high availability impact).
Affected software
- aio-libs AIOHTTP: all versions prior to 3.14.4
Severity
- CVSS v4.0 base score: 8.7 (High)
- 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 - The published score is CVSS v4.0. No CVSS v3.1 vector was found in the sources reviewed.
Mitigation and recommended actions
- Immediate: Upgrade AIOHTTP to version 3.14.4 or later.
- If no patch is possible: The sources reviewed list no workarounds. As a general precaution, limit exposure of WebSocket endpoints to untrusted clients and avoid connecting AIOHTTP WebSocket clients to untrusted servers until you can upgrade.

