Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen WebSocket connection to server
-
DeliverySend small non-final fragment
-
ExploitSend continuation header declaring length near 2**63
-
ExecutionOverflow bypasses max_msg_size check
-
PersistStream oversized payload
-
ImpactExhaust server memory (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an aiohttp WebSocket server built with the compiled Cython C extension (the default) at version 3.14.3 or earlier; the attacker must be able to establish a WebSocket connection and send a small non-final fragment followed by a continuation frame header declaring a length close to 263 (RFC 6455 permits up to 263-1). The decisive limiting factor is that only the C extension performs the vulnerable signed 64-bit addition - deployments running the pure-Python reader via AIOHTTP_NO_EXTENSIONS=1 are not affected, which is also the vendor's stated workaround for those who cannot upgrade. No authentication or user interaction is required (PR:N/UI:N). Updating to 3.14.4 is the complete fix. |
| Impact | This is a genuine, well-characterized availability issue but not a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) is internally consistent with the mechanism: a remote, unauthenticated peer on a WebSocket endpoint sends a small non-final fragment then a continuation frame whose declared length near 2**63 overflows the signed 64-bit addition in the Cython reader, bypassing the max_msg_size guard (CWE-770) and causing unbounded memory consumption. Impact is confined to availability - C:N/I:N makes clear there is no data exposure or code execution, so this is a denial-of-service only. There is NO KEV listing and NO EPSS score in the provided data, so exploitation probability cannot be quantified from these signals; absence of EPSS is a data gap, not evidence of low risk. No SSVC fields are supplied; the only decision signal present is the vuln.today priority label 'this_week', indicating prompt but non-emergency patching. There is no exploit reference in the input - only the advisory, fix PRs, commits, and a regression test - so no public exploit identified at time of analysis, though the patch and regression test publicly document the exact trigger, which lowers the effort to reproduce. The key scoping caveat defenders must weigh: only the compiled C extension is affected; the pure-Python reader is immune, so real exposure depends on whether the C extension is in use (it is the default build). |
| Exploit ScenarioDerived | An attacker who can open a WebSocket connection to an aiohttp server (built with the default C extension, version <= 3.14.3) sends a one-byte non-final text fragment, then a continuation frame header declaring a payload length near 2**63. The signed 64-bit addition of the declared length to the buffered partial overflows, the max_msg_size check passes, and the attacker streams an oversized message that exhausts server memory. No public working exploit is referenced, but the fix PR and regression test publicly document the precise frame sequence needed to trigger it. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Unbounded memory consumption in aiohttp's compiled WebSocket reader (all versions through 3.14.3) lets a remote peer bypass the max_msg_size limit by declaring a frame length close to 2**63, which overflows a signed 64-bit size check once a small non-final fragment is already buffered. Only servers running the default Cython C extension are affected; the pure-Python reader is not, and no public exploit code was identified at time of analysis. The result is a straightforward remote denial of service against WebSocket endpoints, rated CVSS 7.5 with availability-only impact and prioritized as a 'this_week' item rather than an emergency.
RemediationAI
Vendor-released patch: aiohttp 3.14.4 - upgrade to that version or later (pip install --upgrade aiohttp>=3.14.4), which implements the subtraction-based size comparison in the C reader and carries a regression test for the oversized declared length; the fix is documented in the advisory at https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw (PR https://github.com/aio-libs/aiohttp/pull/13415, commits 8cfbe9abe5e11b84006a10f9bdf82bf607671dab and 8c8906a19f64e52ef6a7d44d65217eb3c5af413f, release https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4). If upgrading is not immediately possible, the vendor-stated workaround is to set AIOHTTP_NO_EXTENSIONS=1 so the unaffected pure-Python WebSocket reader is used; the trade-off is the loss of the C extension's performance benefits, and the setting must be present in the environment of every affected server process (a restart is required for it to take effect), after which the CVE-2026-128128 path is no longer reachable. Updating to 3.14.4 is the complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
aiohttp is an asyncio HTTP client/server framework for Python whose WebSocket support ships two readers: a pure-Python implementation (reader_py.py) and a Cython-compiled C extension (reader_c), the latter being the default in normal installs. In the C reader, the frame header's declared payload length (payload_bytes_to_read) is held as a signed 64-bit C value, and RFC 6455 permits a declared length as large as 263-1. Before reading a continuation frame, the code validated the message size by adding that declared length to the number of bytes already buffered in the partial message (projected_size = payload_bytes_to_read + len(self._partial)). With a length near 263, that addition wraps to a negative value in the compiled reader, so the comparison against max_msg_size passed and the size guard was defeated - the resource-exhaustion class CWE-770, Allocation of Resources Without Limits or Throttling. The upstream fix (PR 13415, commits 8cfbe9ab and 8c8906a1) replaces the addition with a subtraction-based comparison (payload_bytes_to_read >= max_msg_size - partial_len) and declares partial_len as Py_ssize_t in reader_c.pxd so the arithmetic stays in C, with a regression test that buffers one byte via a non-final fragment and then feeds a continuation header declaring 2**63-1. The Python reader is unaffected because its arithmetic does not wrap the same way. The trigger requires the compiled extension to be in use; deployments forced onto the pure-Python reader via AIOHTTP_NO_EXTENSIONS=1 are outside the vulnerable path.
Know when Aiohttp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated WebSocket peer triggers the overflow with no interaction (AV:N/AC:L/PR:N/UI:N); impact is memory-exhaustion DoS only, so C:N/I:N/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the C WebSocket reader adds a declared frame length to the size of an already buffered partial message using signed 64-bit arithmetic. A length near two to the power of 63 can overflow, allowing the max_msg_size check to pass. A remote peer can send a small non-final fragment followed by an oversized message and cause unbounded memory consumption. The Python WebSocket reader is unaffected. This issue is fixed in version 3.14.4.
Blast Radius
ecosystem impact- 35 pypi packages depend on aiohttp (23 direct, 12 indirect)
Ecosystem-wide dependent count for version 3.14.4.
Articles & Coverage 1
Technical POC Analysis
CWE-770 (Allocation of Resources Without Limits or Throttling), realized as a signed 64-bit integer overflow in a length-accumulation check.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity flaw in the widely used aiohttp Python library (a popular open-source web framework component) can allow a remote attacker to crash any WebSocket-enabled service by exhausting server memory with a single malformed request. Any internet-facing application built on aiohttp's default compiled reader is at risk of an availability outage that could disrupt customers and business operations until the service is manually restarted. Leadership should care because aiohttp underpins many customer-facing APIs and real-time features, and a successful attack could cause unplanned downtime without any credentials or special access required.
No vendor-released patch identified at time of analysis; interim mitigations include disabling the Cython extensions via the AIOHTTP_NO_EXTENSIONS environment variable to use the unaffected pure-Python reader, enforcing WebSocket frame and message-size limits at the reverse proxy or load-balancer layer, rate-limiting WebSocket connections, and monitoring memory usage with automatic restarts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul
Out-of-bounds heap read in aiohttp's C HTTP response parser (versions ≤ 3.14.2) allows an attacker-controlled server to
Uncontrolled decompression in aiohttp's WebSocket client prior to version 3.14.2 allows a malicious server to exhaust CP
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 6.5), this v
HTTP request smuggling in aiohttp's server-side parser allows unauthenticated remote attackers to inject and misdirect H
AIOHTTP 3.8.1 can report a "ValueError: Invalid IPv6 URL" outcome, which can lead to a Denial of Service (DoS). Rated me
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v
A remote attacker can exhaust server memory or stall the event loop through aiohttp's multipart parser in versions up to
Quadratic CPU consumption in aiohttp before 3.14.4 lets a remote attacker stall a server's asyncio event loop by sending
In aiohttp releases prior to 3.14.4, any unauthenticated POST that reaches a handler calling Request.post() can stall th
EUVD-2026-125760
GHSA-3rp8-rxj8-mvjw
NVD
CVE.org
EPSS
Exploit-DB