Skip to main content

aiohttp EUVDEUVD-2026-125763

| CVE-2026-128131 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-13 GitHub_M GHSA-h4cc-hm5h-fmm9
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
    Craft compressed body with many concatenated empty members
  2. Exploit
    Send to compression-enabled aiohttp server or WebSocket endpoint
  3. Execution
    Quadratic decompression consumes CPU
  4. Impact
    Event loop blocked, denial of service

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

Exploitation requires that the target decode compressed input: for the server side, an aiohttp application that accepts and decompresses request bodies or WebSocket messages using gzip, deflate, or zstd (e.g., permessage-deflate enabled); for the client side, an aiohttp client connecting to a malicious server that returns such a payload. No authentication and no user interaction are required (CVSS PR:N/UI:N). The specific trigger is a payload of many concatenated compressed members, including empty members, which defeats the client_max_size limit and output backpressure because empty members produce no output. The primary limiting factor is that compression handling must be in the decode path; endpoints that do not decompress attacker-controlled compressed input are not exposed. The only complete fix per the vendor is upgrading to 3.14.4.

Impact

This is a genuine availability risk that warrants prompt patching but is not an emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N, score 8.7) is internally consistent with the description: a remote, unauthenticated attacker with low complexity can cause high availability impact and zero confidentiality/integrity impact - a textbook algorithmic-complexity DoS (CWE-400, with CWE-407 added in the vendor advisory). The vuln.today decision label is 'this_week', which aligns with patch-promptly rather than drop-everything urgency. No EPSS score, no CISA KEV listing, and no PoC/exploit reference are present in the input; the references are exclusively the vendor advisory, fix PRs, commits, and release - so exploitation status is 'no public exploit identified at time of analysis'. The practical risk is elevated by how trivial the attack is to construct (a crafted compressed body of many empty concatenated members defeats client_max_size and output backpressure), but tempered by the fact that the impact is confined to availability (event-loop blocking) with no data exposure or code execution. EPSS and KEV data are both absent - absence is not evidence of low risk, but there is no signal of active exploitation at this time.

Exploit ScenarioDerived

A remote unauthenticated attacker sends a single HTTP request (or WebSocket message) with a Content-Encoding of gzip, deflate, or zstd whose body consists of a very large number of concatenated empty compressed members. aiohttp hands the entire remaining buffer to a fresh decompressor at each member boundary, producing quadratic CPU work that blocks the asyncio event loop and stalls the server for all clients. No public exploit code is identified in the provided sources, but the technique is fully described in the vendor advisory and the fix commits.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Quadratic CPU consumption in aiohttp before 3.14.4 lets a remote attacker stall a server's asyncio event loop by sending a request body or WebSocket message built from a large number of concatenated gzip, deflate, or zstd members; the same payload returned by a malicious server stalls an aiohttp client. Because empty compressed members produce no output, the client_max_size cap and output backpressure never engage, so very little attacker bandwidth buys a large amount of CPU work (CWE-400/CWE-407). No public exploit identified at time of analysis, and the flaw only bites where attacker-controlled compressed input is actually decoded - endpoints that never decompress such data are not exposed. The vendor fix, 3.14.4, is available.

RemediationAI

Vendor-released patch: aiohttp 3.14.4. Upgrade Python environments to aiohttp 3.14.4 or later (pip install --upgrade 'aiohttp>=3.14.4'); the vendor states that upgrading is the only complete fix for this issue. The release is at https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4, the advisory at https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9, and the fix commits are d925a80539ffd227da1d93ab4a5bff123cc777db and d041d4d0fd48c3f0832084d33be16cf1c4835f85 (PRs 13362 and 13391). The patch bounds decompression work with a doubling member window, a decompression budget, and a hard cap of 1024 concatenated members, surfacing TooManyMembersError and closing WebSocket connections with MESSAGE_TOO_BIG; be aware that legitimate payloads concatenating more than 1024 members will now be rejected, so any unusual producer of highly fragmented compressed streams should be validated after upgrading. Prioritize internet-facing aiohttp services that decompress request bodies or accept compressed WebSocket traffic; endpoints that never decode attacker-controlled compressed input are outside the vulnerable path and can be scheduled later.

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

aiohttp is an asyncio-based HTTP client/server framework for Python, and the affected component is its compression layer (aiohttp/compression_utils.py) plus the pure-Python WebSocket frame reader (aiohttp/_websocket/reader_py.py). gzip, deflate and multi-frame zstd all permit a payload to concatenate independent members: a decompressor consumes one member, sets eof, and leaves everything after it in unused_data, requiring a fresh decompressor for the next member. The pre-fix code handed the entire remaining buffer to a new decompressor at every member boundary, so a stream of tiny members re-walked the same bytes repeatedly - quadratic time in the number of members. Empty members are the cheapest way to trigger this: they add boundaries without emitting output, which defeats both client_max_size and output backpressure, since neither limits work that produces nothing. The root cause class is CWE-400 (uncontrolled resource consumption), with the advisory also tagging CWE-407 (inefficient algorithmic complexity); the impact is strictly availability - the event loop blocks and unrelated requests on that worker stall. The upstream fix introduces ConcatDecompressionHandler, which walks the remaining buffer through a window that starts at 64 bytes and doubles to a 65536-byte ceiling, tracks a decompression budget, and enforces MAX_DECOMPRESS_MEMBERS = 1024 via TooManyMembersError; the WebSocket reader converts that error into a WSCloseCode.MESSAGE_TOO_BIG close, so a hostile compressed message terminates the connection instead of pinning the loop.

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, unauthenticated, low-complexity request triggers quadratic CPU blocking the event loop; impact is availability-only, so C:N/I:N/A:H and PR:N/UI:N.

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:39 cve.org
HIGH 8.7

DescriptionCVE.org

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining input to a new decompressor, causing quadratic CPU use. Empty members produce no output, so client_max_size and output backpressure do not limit the work. A remote attacker can block a server event loop with a crafted compressed request body or WebSocket message, and a malicious server can similarly block a 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) with CWE-407 (Inefficient Algorithmic Complexity) as the mechanism.

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

CVE-2026-128131 is a HIGH severity flaw in aiohttp (versions before 3.14.4) that allows remote attackers to cause excessive CPU consumption and stall server event loops by sending specially crafted compressed payloads. This impacts any service that decodes attacker-controlled gzip, deflate, or zstd data, including web APIs and WebSocket endpoints, potentially leading to denial-of-service and degraded user experience. Leadership should prioritize patching because the vulnerability is easy to trigger with minimal bandwidth, and exploitation could disrupt critical business services.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
High
aiohttp is a very widely deployed Python async HTTP client/server framework
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.5%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
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-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

CVE-2026-128132 HIGH
8.7 Nov 13

Memory exhaustion in aiohttp's WebSocket reader (versions prior to 3.14.4) lets an unauthenticated remote peer inflate t

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