Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInduce aiohttp client to connect to malicious server
-
DeliveryReturn Set-Cookie with many unknown name=value pairs
-
ExploitParser creates one cookie per pair, unbounded CookieJar stores them
-
ExecutionRepeat across redirects to amplify
-
ImpactExhaust client memory/CPU and bloat outbound Cookie header
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Improperly controlled sequential memory ops
|
| Exploitation Conditions | Exploitation requires the aiohttp client application to initiate a request to an attacker-controlled or compromised server (or one whose Set-Cookie responses the attacker can inject) while using a client session with the default CookieJar that stores cookies; the amplification depends on the client following redirects to the same domain so cookies accumulate repeatedly. Limiting factors: this is a client-side issue affecting only the vulnerable client's availability (memory/CPU) and the size of its outbound Cookie headers - it does not compromise confidentiality or integrity, grants no code execution, and only affects aiohttp versions <= 3.14.3. There is no authentication requirement on a target service, but the attacker must get the victim client to connect to the hostile endpoint, so it cannot be triggered purely remotely against a passive victim. |
| Impact | This is a medium-severity, client-side resource-exhaustion issue (CWE-1325), not a server-side or data-exposure flaw. The provided CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N, base 6.3) is internally consistent with the description: network reachable, no privileges or user interaction, an attack requirement present (AT:P - the aiohttp client must be induced to connect to and follow redirects to a server the attacker controls), and impact limited to availability (VA:L) with no confidentiality or integrity effect. No EPSS score and no KEV listing were supplied, and the references are the GHSA advisory, two fix PRs, two commits, and the v3.14.4 release - i.e. patch/advisory material, not exploit code - so there is no public exploit identified and no evidence of active exploitation. The vendor-priority label is 'this_month', not act_now/emergency, which matches a real-but-non-critical bug: the damage is degraded availability/memory and CPU on the client plus oversized outbound Cookie headers, not code execution or data theft. Conflicting signal to note: the input Tags include 'Information Disclosure', which contradicts the CVSS (VC:N, no confidentiality impact) and CWE-1325 - this is a denial-of-service/resource-consumption issue, so the information-disclosure framing is incorrect. Net: a genuine but moderate-priority hardening fix, worth patching on a normal cycle rather than treating as an emergency. |
| Exploit ScenarioDerived | An attacker who controls, compromises, or can inject responses from a server that an aiohttp client connects to returns Set-Cookie headers whose unrecognized name=value attributes are each parsed as additional cookies; because the pre-3.14.4 CookieJar imposes no limit on stored or sent cookies, the client accumulates a very large cookie set, repeated on every redirect, consuming memory and CPU. Subsequent requests to the same domain then build an excessively large Cookie header. No public exploit code was identified at time of analysis - only the advisory and patch references are available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Unbounded client-side cookie accumulation in aiohttp through 3.14.3 lets a malicious or compromised server exhaust memory and CPU in connecting Python clients and inflate the Cookie header of subsequent requests to that domain. The client's Set-Cookie parser creates extra cookies out of unrecognized name=value attributes, and CookieJar imposes no cap on how many cookies are stored or emitted, so the cost repeats on every redirect within the same domain. The CVSS vector requires some attacker-dependent precondition (AT:P) and the issue is limited to availability impact on the client (A:L) with no confidentiality or integrity loss, yielding a medium-severity rating; the vendor fixed it in aiohttp 3.14.4 and no public exploit was identified at time of analysis.
RemediationAI
Upgrade to aiohttp 3.14.4, which is the exact vendor-released fix and contains the parser rewrite and the cookie-jar/header limits. The upstream changes are in pull requests https://github.com/aio-libs/aiohttp/pull/13930 and https://github.com/aio-libs/aiohttp/pull/13942, landing as commits 6963ee0befec1502b6bb7b4db6c72d044c08f4fa and b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412; pinning to a commit instead of the 3.14.4 tag is not recommended because the parser change is documented as breaking and belongs with the release notes. No configuration toggle, limit setting or environment variable for capping cookie count is described in the available sources, so the complete fix is the version upgrade. As a stopgap for clients that cannot upgrade immediately, restrict session traffic to trusted hosts and avoid following redirects into untrusted or attacker-influenced domains (for example by disabling automatic redirect following and validating each Location before the next request), accepting the functional cost of breaking legitimate redirect chains; where the application controls the session, supplying a custom CookieJar implementation that bounds stored cookies and header size also reduces exposure, but it does not fix the underlying over-parsing of Set-Cookie fields. Because the parser semantics change in 3.14.4, regression-test any code that inspects session.cookie_jar contents after unusual or malformed Set-Cookie responses.
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 is an asyncio-based HTTP client/server framework for Python, and this issue lives in its client cookie handling in aiohttp/_cookie_helpers.py plus the CookieJar store. The parser was deliberately forgiving and based on a vendored SimpleCookie-style implementation: when a Set-Cookie field contained additional name=value segments or names it did not recognize, it materialized those as separate cookies rather than treating them as attributes of a single cookie, and CookieJar enforced no ceiling on the number of cookies retained per domain or on the size of the Cookie header it later serialized. That is a resource-consumption weakness in the CWE-1325 family (improperly controlled sequential allocation) - repeated Set-Cookie fields across redirects grow the jar, drive repeated parsing/eviction work, and eventually produce an oversized outbound Cookie header. The fix moves to strict RFC 6265 behavior of one cookie per Set-Cookie field, ignores unknown attributes, ignores legacy $Path/$Domain, and applies implementation limits permitted by RFC 6265 Section 6.1: 50 cookies per response, 4096 bytes per cookie pair, 1024 bytes per attribute value and 32 attributes, with Firefox-style eviction when the jar fills. It also corrects a separate bug where a replaced cookie kept the previous cookie's expiry when the new one carried none. The 3.14.4 release notes flag the parser change as breaking, since applications that implicitly relied on extra cookies being harvested from malformed or unusual Set-Cookie fields will now see only one cookie per field.
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:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Client must be induced to connect to and follow redirects to a malicious server (AC:H mirroring AT:P), no privileges or interaction on a target, and impact is limited availability only - no confidentiality or integrity.
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, Set-Cookie parsing treats unrecognized name=value attributes as additional cookies, while CookieJar does not limit the number of cookies stored or sent. A malicious server can make an aiohttp client accumulate a very large cookie set, consume memory and CPU repeatedly across redirects, and construct an excessively large Cookie header for later requests to the same domain. 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.
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
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
A remote attacker can exhaust server memory or stall the event loop through aiohttp's multipart parser in versions up to
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
EUVD-2026-125756
GHSA-5pv8-vvhc-h7jv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB