Inefficient regular expression complexity in aiohttp - #VU162574
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to stall an aiohttp server's event loop and deny service to clients.
The vulnerability exists due to inefficient regular expression matching in Application.add_domain() when a registered domain mask contains two or more wildcards. An unauthenticated remote attacker can send requests with a long, nonmatching Host header to trigger polynomial-time processing and block the event loop.