What’s Vulnerable › Vulnerabilities
CVE-2025-69227: AIOHTTP vulnerable to DoS when bypassing asserts
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-06 · updated 2026-10-11
- Weakness: CWE-835
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
- aio-libs aiohttp: before 3.13.3 — fixed in 3.13.3
- Pypi Aiohttp: before 3.13.3; 0.1, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.12.0 (+297) — fixed in 3.13.3
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
- https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23
Get alerted when CVE-2025-69227 or the next vulnerability affects your stack