Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen WebSocket connection to aiohttp peer
-
DeliverySend size-legal frame in many 2-byte reads
-
ExploitReader retains one bytes object per read
-
ExecutionPer-object overhead dwarfs payload, memory balloons
-
ImpactHost exhausts memory, denial of service
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 that the target use aiohttp's WebSocket support: a server exposing a WebSocket endpoint, or an aiohttp client connecting to an attacker-controlled WebSocket server - both directions are explicitly in scope. No authentication and no special configuration are needed; the default max_msg_size of 4 MiB is affected, and the attacker simply splits one frame into many tiny transport reads so per-read bytes-object overhead exceeds the byte budget. Limiting factors: the application must actually speak WebSockets (plain HTTP endpoints are unaffected), the peer must be able to open and hold a WebSocket connection, and deployments on aiohttp 3.14.4 or later are not vulnerable. Setting a smaller max_msg_size reduces, but the full fix is the fragment-count cap added in 3.14.4. |
| Impact | All severity signals point to a genuine but bounded availability risk. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remote, low-complexity, unauthenticated trigger with no attack requirements, and the impact is purely availability (VA:H; VC:N/VI:N) - consistent with the CWE-770 (unbounded resource consumption) classification and the description's memory-exhaustion/DoS outcome. There is no confidentiality or integrity exposure, so this is not an RCE-class issue despite the 8.7 score. The vuln.today decision label is 'this_week' (not act_now/emergency), it is NOT in CISA KEV, and no EPSS figure was provided; no public exploit code is referenced, so exploitation is unproven in the wild. Note a nuance a defender should weigh: the attack is bidirectional - a malicious client can attack a server AND a malicious server can attack a connecting client - which widens the exposure beyond typical server-only DoS. Net: a real, prioritize-this-week memory-exhaustion DoS in a very widely deployed library, but not an emergency and not a confidentiality/integrity threat; the 8.7 reflects availability severity, not breach risk. |
| Exploit ScenarioDerived | An attacker establishes a WebSocket connection to a vulnerable aiohttp endpoint (or lures an aiohttp client to connect to a malicious server) and sends a single size-legal frame dribbled in as a large number of tiny transport reads. Because the reader retained one bytes object per read with no cap, per-object overhead (~28x the on-wire payload per the advisory) pins far more memory than max_msg_size permits, exhausting the host and causing denial of service. No public exploit code is referenced, but the mechanism is fully documented in the vendor advisory, PR #13352, and regression tests. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Memory exhaustion denial of service in aiohttp's WebSocket reader affects releases through 3.14.3: an unauthenticated remote peer can split a single WebSocket frame into many tiny transport reads, forcing the reader to retain one bytes object per read so per-object overhead far exceeds the max_msg_size byte budget. Both directions are affected - a WebSocket server receiving from a malicious client and an aiohttp client receiving from a malicious server - and the default 4 MiB max_msg_size does not prevent the amplification. Version 3.14.4 fixes the issue by capping retained fragments; no public exploit identified at time of analysis.
RemediationAI
Upgrade to aiohttp 3.14.4 or later, which is the complete fix: it adds the retained-fragment count cap and pauses reading for backpressure. The vendor advisory is https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5, the fixed release is https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4, and the upstream fix is carried in commits 09bcaa73ff084a0c539bbf16a0a78743acb7141f and 6a4f6682817839313b04b8e5cea2b39c1a88ab4f via pull requests 13352 and 13612. Until upgrading, setting a smaller max_msg_size reduces but does not eliminate the amplification because the defect is the unbounded number of per-read fragments, not the byte limit; deployments that do not need WebSocket functionality can avoid the affected path because plain HTTP endpoints are unaffected.
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-based Python HTTP client/server framework that implements WebSocket framing in WebSocketReader. The flaw is CWE-770, allocation of resources without limits or throttling: while reassembling an incomplete frame, _payload_fragments retained a separate bytes object for every transport read with no cap on fragment count. The max_msg_size setting only bounds the declared payload byte size before FIN and during assembly, so a frame that is legal by byte count can be dribbled in tiny reads and pin roughly 28 times its on-wire size in per-read object overhead, according to the project's threat model. The 3.14.4 fix adds _max_fragments = max(1024, max_msg_size // 256) and pauses reading for backpressure once the retained fragment count is exceeded, mirroring the StreamReader chunk-splits limit; the change is present in both the pure-Python reader and the C extension reader interface.
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
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
Remote unauthenticated WebSocket peer (AV:N/AC:L/PR:N/UI:N) with memory-exhaustion DoS only, so A:H and C:N/I:N; no scope change.
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 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.
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 in aiohttp's WebSocket frame reader.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-123817 is a high-severity memory exhaustion vulnerability in aiohttp (up to 3.14.3), a widely used Python asynchronous web framework. Both servers and clients that handle WebSocket traffic are affected, allowing unauthenticated remote attackers to cause service unavailability through resource exhaustion. Leadership should prioritize remediation for any customer-facing or internal services relying on aiohttp WebSockets, as successful exploitation could lead to downtime, degraded user experience, and potential SLA breaches.
Apply vendor patch.
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-120454
GHSA-2g87-pp6c-29x5
NVD
CVE.org
EPSS
VulDB
Exploit-DB