GHSA-jj3x-wxrx-4x23Medium

AIOHTTP vulnerable to DoS when bypassing asserts

Published
January 5, 2026
Last Modified
January 6, 2026

🔗 CVE IDs covered (1)

📋 Description

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 (-O or PYTHONOPTIMIZE=1), and the application includes a handler that uses the Request.post() method, then an attacker may be able to execute a DoS attack with a specially crafted message.


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

🎯 Affected products1

  • pip/aiohttp:<= 3.13.2

🔗 References (4)