# PYSEC-2026-4391: AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python

- Database: PyPA
- Published: 2026-11-13
- Modified: 2026-11-20

## Tracked as

- [CVE-2026-128124](https://cve.now/CVE-2026-128124.md): aiohttp denial of service in add\_domain() wildcard matching

## Also published as

- [GHSA-JM3W-GW2P-XJFJ](https://cve.now/GHSA-JM3W-GW2P-XJFJ.md) (GitHub)

## Affected versions

- aiohttp (PyPI): fixed in 3.14.4

## Description

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.

## References

- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- https://github.com/aio-libs/aiohttp/commit/766b882820da0651c84090e366a3b024b4a263c9
- https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43
- https://github.com/aio-libs/aiohttp/pull/13943
- https://github.com/aio-libs/aiohttp/pull/13945
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jm3w-gw2p-xjfj

Page: https://cve.now/PYSEC-2026-4391

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
