Skip to main content

aiohttp CVE-2026-123817

| EUVDEUVD-2026-120454 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-09 GitHub_M GHSA-2g87-pp6c-29x5
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 peer
  2. Delivery
    Send size-legal frame in many 2-byte reads
  3. Exploit
    Reader retains one bytes object per read
  4. Execution
    Per-object overhead dwarfs payload, memory balloons
  5. Impact
    Host 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.

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

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

Alert me

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

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

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

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
Red Hat 7.5 HIGH

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 09, 2026 - 22:03 EUVD
CVE Published
Nov 09, 2026 - 21:17 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 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
† 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 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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% 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
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.3%
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

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

Vendor StatusVendor

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