Skip to main content

aiohttp CVE-2026-128127

| EUVDEUVD-2026-125759 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-13 GitHub_M GHSA-24c4-3p7v-29cm
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
    Send crafted base64 multipart request to multipart handler
  2. Exploit
    read_chunk() reads unbounded body, bypassing client_max_size
  3. Impact
    Memory exhaustion or event-loop stall (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 application must expose at least one handler that reads multipart request data using aiohttp (e.g. calls that drive BodyPartReader), and the attacker must send a multipart part with the header Content-Transfer-Encoding: base64. The trigger is a base64 part combined with either a short Content-Length or a long run of whitespace, which makes read_chunk() read the remaining body in one call before the client_max_size check. Exploitation is remote and unauthenticated per the CVSS vector (PR:N/UI:N). The chief limiting factor is that endpoints which never parse multipart bodies are not affected; the flaw applies to aiohttp server versions <= 3.14.3 and is removed in 3.14.4.

Impact

This is a real, actionable denial-of-service issue but not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, low-complexity, unauthenticated exploitation with no attack requirements, and the only impact is availability (VA:H; VC:N/VI:N), consistent with the CWE-400 resource-exhaustion classification - there is no confidentiality or integrity exposure. The vuln.today priority of 'this_week' aligns with a high-severity DoS in a popular library. However, key exploitation-probability signals are missing from the input: no EPSS score, no CISA KEV listing, and no proof-of-concept/exploit flag were provided, so there is no confirmed-exploitation signal to elevate urgency. The references supplied are all vendor patch artifacts (GHSA advisory, two PRs, two commits, the 3.14.4 release) rather than exploit code, so this is not evidence of a working public exploit. One material caveat: although the vector is AV:N/PR:N, exploitation is not universal against every aiohttp deployment - it only affects applications whose handlers actually read multipart data, which tempers the real-world blast radius relative to the raw 8.7 score.

Exploit ScenarioDerived

A remote, unauthenticated attacker sends a single multipart HTTP request to any aiohttp endpoint that parses multipart bodies, including a part with Content-Transfer-Encoding: base64 crafted with a short Content-Length or a long run of whitespace. Because BodyPartReader.read_chunk() keeps reading to reach a multiple of four with no byte-limit enforcement, that one call reads the remaining body into memory before the size check (bypassing client_max_size) or spins on the event loop, exhausting memory or blocking request processing. No public exploit was identified at time of analysis; only vendor patch references were provided.

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

A remote attacker can exhaust server memory or stall the event loop through aiohttp's multipart parser in versions up to and including 3.14.3. A multipart part carrying Content-Transfer-Encoding: base64, combined with either a short Content-Length or a long run of whitespace, drives BodyPartReader.read_chunk() to keep pulling data until the chunk length is a multiple of four, so the remainder of the body lands in memory inside a single call before the client_max_size check runs, or the loop spins instead. Any endpoint that reads multipart request bodies is affected; the assessed impact is availability-only (CVSS 8.7, AV:N/AC:L/PR:N/UI:N, A:H with no confidentiality or integrity impact). No public exploit code was identified at time of analysis, and the issue is resolved in 3.14.4.

RemediationAI

Vendor-released patch: upgrade aiohttp to 3.14.4 or later (release tag https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4), which is the version the advisory lists as fixed; the underlying change is in commit a555ab6 (PRs 13509 and 13513) and replaces the unbounded base64 realignment loop with a bounded carry buffer. The advisory documents no configuration workaround, and because the defect sits ahead of the client_max_size accounting, raising or lowering that limit does not mitigate it - updating is the complete fix. Interim exposure reduction is scoping rather than patching: services that never drive BodyPartReader over multipart input are not affected, so auditing which handlers accept multipart uploads and deferring the upgrade only on those paths limits exposure, at the cost of leaving upload endpoints on a vulnerable parser until 3.14.4 is deployed.

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's multipart module implements BodyPartReader on top of the asyncio StreamReader; when a part declares Content-Transfer-Encoding: base64, each chunk is decoded independently, which forces the reader to align chunk boundaries to base64 quartets. The pre-3.14.4 implementation looped, appending bytes read directly from the underlying content stream, until the non-whitespace character count was divisible by four - with no byte ceiling on that loop. Because the alignment happened inside read_chunk() ahead of the client_max_size accounting, a part with a small declared Content-Length or a long whitespace run could pull the whole remaining body into memory in one call (CWE-400, uncontrolled resource consumption) or busy-loop the event loop. The fix (PRs 13509 and 13513, commit a555ab6) replaces the unbounded loop with a carry buffer: read_chunk() reads at most the requested size, moves any trailing partial quartet into _b64_carry for the next call, and uses a frozenset of the base64 alphabet plus '=' to count only real base64 characters, so no read exceeds the requested size and no loop can spin. The CPE cpe:2.3:a:aio-libs:aiohttp tracks the package as a whole, while the advisory scopes vulnerable code to releases <= 3.14.3.

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 multipart request with no user interaction (AV:N/AC:L/PR:N/UI:N); only availability is affected via memory exhaustion/event-loop blocking, 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
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:30 cve.org
HIGH 8.7

DescriptionCVE.org

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, BodyPartReader.read_chunk() processing a multipart part with Content-Transfer-Encoding set to base64 keeps reading until the chunk length is a multiple of four without enforcing a byte limit. A short Content-Length or a long run of whitespace can cause one call to read the remaining body into memory before the size check or spin on the event loop. A remote attacker can send such a multipart request to a handler that reads multipart data and bypass client_max_size. 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 in aiohttp's multipart parser, specifically BodyPartReader.readchunk().

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-128127 is a high-severity availability vulnerability in the aiohttp Python library affecting versions up to 3.14.3, which could allow a remote, unauthenticated attacker to exhaust server memory or stall request processing by sending a crafted multipart request body. Any service that uses aiohttp to parse multipart form data is exposed, potentially leading to service disruption or slowdown for customers and internal users. Leadership should prioritize patching to version 3.14.4 where feasible, as the flaw can be triggered without authentication and impacts system availability.

Business Impact: High
Compensating Controls

If upgrade to 3.14.4 is not immediately possible, enforce strict request size limits and rate limiting on multipart endpoints at the network edge, monitor for abnormal memory growth or event loop delays, and consider temporarily disabling multipart parsing if business processes allow.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
High
aiohttp is a very widely deployed Python asyncio HTTP framework
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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-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

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