PyPI
CVE-2026-128124
AIOHTTP: Event loop stall in add_domain() wildcard matching
- Severity
- High
- Published
- 16 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.14.4
- Exploit chance
- 0.7% in the next 30 daysHigher than 54% of CVEs. EPSS by FIRST, 24 Nov 2026
- Also known as
- GHSA-jm3w-gw2p-xjfj, PYSEC-2026-4391
- Sources
- OSV.dev and GitHub
Description
Application.add_domain() compiled each in a host mask to [^:]. With two or more wildcards in a mask, matching a long Host` header that does not match the mask took polynomial time on the event loop.
An attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long Host header.
Workarounds
Use at most one * in a domain mask.
Patch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43
Affected software
| Software | Affected versions |
|---|---|
aiohttpPyPI · osv:PyPI:aiohttp |
|
About aiohttp
- Weekly downloads (PyPI)
- 133,681,616PyPI Stats, 24 Nov 2026
Vulnerabilities in aiohttp
- In our list
- 9
- Published in the last 12 months
- 9
- Critical, last 12 months
- 0
- High, last 12 months
- 8
- Known exploited
- 0
- CVE-2026-128125AIOHTTP: Unbounded cookie storage in client CookieJarMedium 16 Nov 2026
- CVE-2026-128126AIOHTTP: Too many URL-encoded form fields block the event loopHigh 16 Nov 2026
- CVE-2026-128127AIOHTTP: Base64 multipart parts bypass client_max_sizeHigh 7.5 16 Nov 2026
- CVE-2026-128128AIOHTTP: WebSocket max_msg_size bypass via integer overflowHigh 7.5 16 Nov 2026
- CVE-2026-128129AIOHTTP: Unbounded buffering of data received during an upgrade requestHigh 16 Nov 2026
- CVE-2026-128130AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgradeHigh 8.2 16 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-128124
- GitHub Advisory Database https://github.com/advisories/GHSA-jm3w-gw2p-xjfj