What’s Vulnerable › Vulnerabilities

CVE-2025-69227: AIOHTTP vulnerable to DoS when bypassing asserts

Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Versions 3.13.2 and below allow for an infinite loop to occur when assert statements are bypassed, resulting in a DoS attack when processing a POST body. If optimizations 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. This issue is fixed in version 3.13.3.

Affected products

How to fix

Upgrade to a fixed version: aio-libs aiohttp 3.13.3; Pypi Aiohttp 3.13.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-69227 or the next vulnerability affects your stack