AIOHTTP vulnerable to DoS when bypassing asserts
Description
Published to the GitHub Advisory Database
Jan 5, 2026
Reviewed
Jan 5, 2026
Published by the National Vulnerability Database
Jan 6, 2026
Last updated
Jan 6, 2026
Summary
When assert statements are bypassed, an infinite loop can occur, resulting in a DoS attack when processing a POST body.
Impact
If optimisations are enabled (
-OorPYTHONOPTIMIZE=1), and the application includes a handler that uses theRequest.post()method, then an attacker may be able to execute a DoS attack with a specially crafted message.Patch: aio-libs/aiohttp@bc1319e
References