Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted base64 multipart request to multipart handler
-
Exploitread_chunk() reads unbounded body, bypassing client_max_size
-
ImpactMemory 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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- 35 pypi packages depend on aiohttp (23 direct, 12 indirect)
Ecosystem-wide dependent count for version 3.14.4.
Articles & Coverage 1
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul
Out-of-bounds heap read in aiohttp's C HTTP response parser (versions ≤ 3.14.2) allows an attacker-controlled server to
Uncontrolled decompression in aiohttp's WebSocket client prior to version 3.14.2 allows a malicious server to exhaust CP
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 6.5), this v
HTTP request smuggling in aiohttp's server-side parser allows unauthenticated remote attackers to inject and misdirect H
AIOHTTP 3.8.1 can report a "ValueError: Invalid IPv6 URL" outcome, which can lead to a Denial of Service (DoS). Rated me
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v
Quadratic CPU consumption in aiohttp before 3.14.4 lets a remote attacker stall a server's asyncio event loop by sending
In aiohttp releases prior to 3.14.4, any unauthenticated POST that reaches a handler calling Request.post() can stall th
Memory exhaustion in aiohttp's WebSocket reader (versions prior to 3.14.4) lets an unauthenticated remote peer inflate t
EUVD-2026-125759
GHSA-24c4-3p7v-29cm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB