Skip to main content

aiohttp CVE-2026-128124

| EUVDEUVD-2026-125754 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-11-13 GitHub_M GHSA-jm3w-gw2p-xjfj
8.2
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify aiohttp server with multi-wildcard domain mask
  2. Exploit
    Send long non-matching Host header
  3. Execution
    Trigger polynomial-time regex backtracking
  4. Impact
    Stall 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.

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

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

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

Vendor (GitHub_M) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/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
Present
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:22 cve.org
HIGH 8.2

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
High
aiohttp is a very widely-used Python async HTTP client/server framework
Threat Intel
1
1 source
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.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
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

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