Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen WebSocket connection to aiohttp endpoint
-
DeliveryEnable/negotiate permessage-deflate
-
ExploitFlood many small or compressed frames
-
ExecutionBypass receive-queue high-water limit
-
ImpactExhaust process memory (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption 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 | The target must use aiohttp's WebSocket functionality (server accepting WebSocket connections, or a client connecting to an attacker-controlled server) - this is the exact prerequisite, since the flaw is in the WebSocket reader's receive-queue accounting. Amplification is strongest when permessage-deflate compression is negotiated, because one read of compressed frames can decompress into many megabytes added to the queue; even without compression, a flood of many small/empty frames works because empty messages were not counted toward the queue size and the reader continued parsing already-received frames after the transport was paused. No authentication or user interaction is required (PR:N/UI:N per the CVSS 4.0 vector). Limiting factors: deployments that do not expose or use aiohttp WebSockets are not exploitable, and impact is limited to availability (memory exhaustion) - there is no confidentiality or integrity effect. The only complete fix stated by the vendor is upgrading to 3.14.4. |
| Impact | This is a genuine availability risk but not a drop-everything emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated issue whose impact is confined to availability (VA:H; VC:N/VI:N - no confidentiality or integrity effect), consistent with the CWE-400/CWE-770 resource-exhaustion (memory) nature described. The vuln.today Decision label is 'this_week', indicating prompt but not immediate (act_now/emergency) handling. There is no CISA KEV listing and no EPSS score in the input, so there is no signal of active or widespread exploitation - no public exploit identified at time of analysis (the referenced GitHub links are the advisory, fix PRs/commits and the 3.14.4 release, i.e. patch material, not exploit code). The signals are internally consistent: a high base score driven purely by an availability DoS, with low real-world exploitation evidence, meaning this warrants patching this week rather than crisis response. One caveat: exploitation requires that the target actually uses aiohttp's WebSocket functionality, which the CVSS AV:N/PR:N vector does not capture - raw score overstates risk for deployments that do not expose or use WebSockets. |
| Exploit ScenarioDerived | A remote peer opens a WebSocket connection to an aiohttp server (or a malicious server serves an aiohttp WebSocket client) and sends a flood of many small frames, or permessage-deflate compressed frames, faster than the application consumes them. Because the reader keeps parsing already-received frames after the queue pauses the transport and empty/tiny messages are not charged against the queue limit, a single read of compressed frames can inflate to many megabytes in the receive queue, exhausting server or client memory. No public exploit code is identified in the input, and no authentication or user interaction is required (PR:N/UI:N). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Memory exhaustion in aiohttp's WebSocket reader (versions prior to 3.14.4) lets an unauthenticated remote peer inflate the receive queue far beyond its configured limit by sending many small, empty, or permessage-deflate-compressed messages faster than the application consumes them. The flaw is exploitable only where aiohttp's WebSocket functionality is actually in use - a server accepting WebSocket connections, or a client connecting to an attacker-controlled server - and its impact is confined to availability (memory pressure, potential process termination); there is no confidentiality or integrity effect. No public exploit code was identified at time of analysis, and the vendor has released a fix in 3.14.4; the practical risk is real but should be scheduled into the current patch cycle rather than treated as an emergency.
RemediationAI
Upgrade to aiohttp 3.14.4, which the vendor identifies as the only complete fix (release: https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4; advisory: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm). Note one documented breaking change in the fix: code that constructs a WebSocketReader directly and passes it to set_parser() must now hold its own strong reference to the reader, because the receive queue only keeps a weak reference while parsing is stalled - otherwise frames the reader stopped short of parsing are lost and a RuntimeError is surfaced; both in-tree response classes already satisfy this via _parser. If an immediate upgrade is not possible, compensating controls must be chosen with the trade-off in mind: restrict WebSocket endpoints or outbound WebSocket client connections to trusted peers and networks, which removes reachability of the attack but limits functionality for public-facing services, and consider disabling permessage-deflate negotiation to remove the decompression amplification path - this lowers the amplification factor only, since the assessment notes that a flood of small or empty frames still works without compression.
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
The root cause is a receive-queue accounting defect in aiohttp's WebSocket reader (CWE-400 uncontrolled resource consumption, additionally tracked as CWE-770 allocation without limits). The queue's size counter only charged payload bytes, so a flood of empty or tiny frames pinned unbounded per-message object overhead in WebSocketDataQueue before the _limit high-water mark could fire; at the same time the reader continued parsing frames already received after the transport had been paused. permessage-deflate compounds this dramatically, because a single read of compressed frames can decompress into many megabytes of messages that are then queued. The upstream fix (PR #13393, plus #13545/#13546, commits 0ae507423f681161efa77d20052b4054397c7fb6, 5e54037933fa8422be5fa8a2002d118ed2d4e5e0 and b62321b6fa264a89f4aca084ad60fc38a59ffa51) introduces a 128-byte MSG_SIZE_OVERHEAD charge per queued message, stalls the reader at a frame boundary once the queue exceeds the mark (leaving the unparsed remainder compressed in _tail), keeps only a weak reference to the stalled reader, re-drives it at a low-water mark of _limit // 2 to avoid quadratic re-slicing on tiny-frame bursts, and keeps the transport paused until the stash is exhausted so the memory bound is not simply relocated into the tail. This is an unauthenticated, network-reachable condition per the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N); no special configuration beyond WebSocket usage and, for maximum amplification, compressed-message negotiation is required.
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, low-complexity, unauthenticated frame flood against a WebSocket endpoint with no user interaction (AV:N/AC:L/PR:N/UI:N); impact is memory-exhaustion DoS only, so A:H with C:N/I:N and unchanged scope.
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 continues parsing frames already received after the receive queue pauses the transport, and empty messages are not counted toward the queue size. With permessage-deflate, one read of compressed frames can add many megabytes of decompressed messages to the receive queue. A remote peer can send many small or compressed messages faster than the application consumes them and cause excessive memory use in a server or client. 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-400 (Uncontrolled Resource Consumption), additionally mapped by the vendor to CWE-770 (Allocation of Resources Without Limits or Throttling).
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 vulnerability in the aiohttp WebSocket library (CVE-2026-128132) allows unauthenticated remote attackers to exhaust server memory by flooding WebSocket connections, potentially causing service outages. This affects any internal or customer-facing service that uses aiohttp for WebSockets, and while no public exploit code exists, the availability risk to critical applications warrants prompt patching within the normal cycle.
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-125765
GHSA-5rmc-48h2-hvcm
NVD
CVE.org
EPSS
VulDB
Exploit-DB