Summary
CVE-2026-128124 is a high-severity regular expression denial of service (ReDoS, CWE-1333) vulnerability in AIOHTTP, the Python asynchronous HTTP client/server framework. A remote, unauthenticated attacker can send a long, non-matching Host header to a server that uses multi-wildcard domain masks, stalling the event loop. The record carries a CVSS score of 8.2 (High).
Technical details
- Root cause:
Application.add_domain()converts every asterisk wildcard in a domain mask into a greedy regular-expression fragment. A mask containing two or more wildcards can therefore take polynomial time to reject a long Host header that does not match. - Trigger conditions: The application registers sub-applications with
add_domain()using a domain mask that contains two or more*wildcards. - Attack vector: Network. The attacker sends HTTP requests with a long, crafted Host header. No authentication or user interaction is required.
- Impact: The event loop stalls, which makes the service unavailable (availability impact only).
Affected software
- AIOHTTP (aio-libs) all versions prior to 3.14.4
Severity
- CVSS base score: 8.2 (High)
- Vector: 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 (CVSS v4.0, as published in the CVE record; no v3.1 vector was published)
Mitigation and recommended actions
- Immediate: upgrade AIOHTTP to 3.14.4 or later.
- If you cannot patch immediately: avoid domain masks with two or more wildcards in
add_domain(). Alternatively, restrict or validate the Host header length at a reverse proxy or WAF in front of the application. These are general hardening measures, not vendor-documented workarounds.

