Skip to main content

aiohttp EUVDEUVD-2026-125760

| CVE-2026-128128 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-13 GitHub_M GHSA-3rp8-rxj8-mvjw
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Open WebSocket connection to server
  2. Delivery
    Send small non-final fragment
  3. Exploit
    Send continuation header declaring length near 2**63
  4. Execution
    Overflow bypasses max_msg_size check
  5. Persist
    Stream oversized payload
  6. Impact
    Exhaust 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.

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

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

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

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
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

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

DescriptionCVE.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
† 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-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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 58% exploitable
Prevalence
High
aiohttp is a very widely used Python async HTTP framework
Threat Intel
1
1 source
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.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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