Skip to main content

aiohttp EUVDEUVD-2026-125765

| CVE-2026-128132 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-13 GitHub_M GHSA-5rmc-48h2-hvcm
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open WebSocket connection to aiohttp endpoint
  2. Delivery
    Enable/negotiate permessage-deflate
  3. Exploit
    Flood many small or compressed frames
  4. Execution
    Bypass receive-queue high-water limit
  5. Impact
    Exhaust 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

aiohttp < 3.14.4

Affected Packages

pypi aiohttp fix: 3.14.4

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

Vendor (GitHub_M) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 21:04 EUVD
CVE Published
Nov 13, 2026 - 20:42 cve.org
HIGH 8.7

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 35 pypi packages depend on aiohttp (23 direct, 12 indirect)

Ecosystem-wide dependent count for version 3.14.4.

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
High
aiohttp is a very widely deployed Python async HTTP client/server library
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2023-47627 HIGH POC
7.5 Nov 14

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul

CVE-2023-37276 HIGH POC
7.5 Jul 19

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul

CVE-2026-69244 HIGH POC
7.1 Aug 03

Out-of-bounds heap read in aiohttp's C HTTP response parser (versions ≤ 3.14.2) allows an attacker-controlled server to

CVE-2026-59881 MEDIUM POC
6.9 Jul 30

Uncontrolled decompression in aiohttp's WebSocket client prior to version 3.14.2 allows a malicious server to exhaust CP

CVE-2023-47641 MEDIUM POC
6.5 Nov 14

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 6.5), this v

CVE-2026-69243 MEDIUM POC
6.3 Aug 03

HTTP request smuggling in aiohttp's server-side parser allows unauthenticated remote attackers to inject and misdirect H

CVE-2022-33124 MEDIUM POC
5.5 Jun 23

AIOHTTP 3.8.1 can report a "ValueError: Invalid IPv6 URL" outcome, which can lead to a Denial of Service (DoS). Rated me

CVE-2023-49082 MEDIUM POC
5.3 Nov 29

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v

CVE-2023-49081 MEDIUM POC
5.3 Nov 30

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v

CVE-2026-128127 HIGH
8.7 Nov 13

A remote attacker can exhaust server memory or stall the event loop through aiohttp's multipart parser in versions up to

CVE-2026-128131 HIGH
8.7 Nov 13

Quadratic CPU consumption in aiohttp before 3.14.4 lets a remote attacker stall a server's asyncio event loop by sending

CVE-2026-128126 HIGH
8.7 Nov 13

In aiohttp releases prior to 3.14.4, any unauthenticated POST that reaches a handler calling Request.post() can stall th

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy