Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify aiohttp server with multi-wildcard domain mask
-
ExploitSend long non-matching Host header
-
ExecutionTrigger polynomial-time regex backtracking
-
ImpactStall asyncio event loop (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity 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 | Exploitation requires that the target application was configured via aiohttp's Application.add_domain() with a domain mask containing two or more asterisk wildcards (e.g. '*.*.example.com'); masks with zero or one wildcard are not affected and the advisory's workaround is to use at most one '*'. Given that configuration, no authentication or user interaction is needed (CVSS PR:N/UI:N): a remote attacker simply sends requests with a long, non-matching Host header to drive polynomial-time regex matching. The decisive limiting factor is this non-default multi-wildcard configuration - this is captured by the vector's AT:P attack requirement - so the overwhelming majority of aiohttp deployments that use zero or one wildcard in domain masks cannot be exploited at all; affected versions are those at or below 3.14.3. |
| Impact | This is a CWE-1333 regular-expression denial-of-service (ReDoS) issue in aiohttp. The input CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) scores 8.2 and signals a network-reachable, unauthenticated, low-complexity attack with an attack requirement (AT:P) and a pure availability impact (VA:H; VC/VI/VA integrity and confidentiality are N). The critical limiting signal is AT:P plus the description and GHSA advisory: the stall only occurs when the application has been deployed with Application.add_domain() registering a domain mask containing two or more wildcards - a non-default, operator-chosen configuration - so the 8.2 does not translate into broad, default exposure. No EPSS score and no KEV status were provided in the input, and no exploit/PoC reference is listed; under the given precision rules this is therefore not confirmed actively exploited. The vuln.today decision label is 'this_week', consistent with a serious but non-emergency availability bug rather than act_now/emergency. Net: a genuine, remotely triggerable event-loop stall worth patching this week for anyone running a multi-wildcard domain mask, but of limited real-world reach for the large majority of aiohttp deployments that use zero or one wildcard, so the effective risk is lower than the raw 8.2 suggests for most operators. |
| Exploit ScenarioDerived | A server runs aiohttp (<= 3.14.3) and has registered a virtual-host domain mask with two or more asterisks (e.g. Application.add_domain('*.*.example.com')). A remote unauthenticated attacker repeatedly sends HTTP requests carrying a long Host header that does not match the mask, forcing the compiled greedy regex into polynomial-time matching that stalls the asyncio event loop and degrades or denies service to all clients. No public exploit was identified in the provided data, though the vendor's own benchmark test demonstrates the worst case using a maximal-length dotted Host header. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Event-loop stall in aiohttp through 3.14.3: a remote attacker can freeze a server whose operator registered a domain mask containing two or more asterisk wildcards via Application.add_domain() by repeatedly sending requests with a long, non-matching Host header, which drives polynomial-time backtracking in the compiled mask regex and blocks the asyncio event loop along with every other in-flight request. The issue is a CWE-1333 regular-expression denial of service scored 8.2 under CVSS 4.0, while the assessed CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects that only the non-default multi-wildcard configuration is reachable - masks with zero or one '*' cannot trigger it, and no authentication or user interaction is needed once such a mask is registered. It is fixed in 3.14.4, no public exploit code was identified at time of analysis and the CVE is not flagged as actively exploited (no CISA KEV entry), so it is prioritized for remediation this week.
RemediationAI
Upgrade to aiohttp 3.14.4 (for example pip install -U 'aiohttp>=3.14.4'), which replaces the wildcard regex with an fnmatch-based matcher and a separate port comparison; details are in advisory GHSA-jm3w-gw2p-xjfj, PR https://github.com/aio-libs/aiohttp/pull/13943 and commit https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43. If upgrading cannot happen immediately, the vendor's documented workaround is to use at most one '*' in every domain mask registered with Application.add_domain(), so any mask with two or more wildcards must be rewritten to a single-wildcard form, which can change which hosts match a route and should be re-tested. When deploying the fix, also re-check routing rules: the patched matcher splits the Host header at the first colon and requires an exact port match whenever the mask specifies a port, so masks that previously tolerated malformed multi-colon Host headers behave differently.
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 routes requests through its URL dispatcher, where Application.add_domain() builds a MaskDomain matcher by escaping dots in the configured mask and substituting each '*' with the greedy fragment [^:]* before compiling the result with re. A mask holding two or more wildcards (for example '*.*.example.com' or 'a*b.example.com') produces a pattern with overlapping quantifiers, so rejecting a long Host header that does not match the mask requires polynomial backtracking - the classic CWE-1333 ReDoS shape rather than a bug in parsing or protocol handling. Because mask matching is executed synchronously inside the event loop, the single-threaded asyncio worker is occupied while the regex runs and other connections queue behind it; llhttp's max_field_size (roughly 8 KB, with the upstream regression test using an 8186-byte host) bounds the header length but not the blow-up. The upstream fix in PR 13943 (commits 766b882820da0651c84090e366a3b024b4a263c9 and c6ac0e44c3c573ff9616f4a6a532992538b31e43) abandons the hand-assembled regex for host matching, compiles fnmatch.translate(host_mask) instead, splits the incoming Host at the first colon and validates any port in the mask separately, with new tests covering adjacent, infix and multi-wildcard masks. Exploitation requires the two-or-more-wildcard registration; the supplied sources describe no other path to the stall, and the trigger details beyond 'long Host header' are not further specified.
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:H/SC:N/SI:N/SA:N
Remote unauthenticated (AV:N/PR:N/UI:N) with availability-only impact (A:H); AC:H because exploitation depends on the non-default multi-wildcard domain-mask configuration, a condition outside the attacker's control.
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, Application.add_domain() converts every asterisk wildcard in a domain mask into a greedy regular-expression fragment, so a mask containing two or more wildcards can take polynomial time to reject a long Host header that does not match. A remote attacker can repeatedly send such headers to a server configured with a multi-wildcard domain mask and stall the event loop. 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-1333 (Inefficient Regular Expression Complexity).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in aiohttp versions through 3.14.3 can allow a remote attacker to freeze a server that uses domain masking with multiple wildcards, disrupting all in-flight requests and causing a denial of service. This impacts organizations running affected aiohttp servers with such configurations, potentially leading to service outages and reputational harm. Leadership should prioritize remediation due to the ease of triggering once the non-default configuration is in place.
Apply vendor patch.
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
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-125754
GHSA-jm3w-gw2p-xjfj
NVD
CVE.org
EPSS
VulDB
Exploit-DB