Advisory

GHSA-jm3w-gw2p-xjfj

Also known as: CVE-2026-128124

Summary

AIOHTTP: Event loop stall in add_domain() wildcard matching

Details

Summary

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.

Impact

An attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long Host header.

Workaround

Use at most one * in a domain mask.

---

Patch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-11-16 14:56 UTC
Modified
2026-11-16 15:15 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.14.4 (ecosystem)

Fixed versions

3.14.4

Fix

  • Fixed version 3.14.4
    pip install --upgrade aiohttp==3.14.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences