In short
- CVE-2025-69227 is a HIGH (CVSS 7.5) vulnerability affecting aiohttp, aiohttp (aiohttp).
- Chance of exploitation in the next 30 days (EPSS): 0.40%, higher than 33.8% of all vulnerabilities.
- Fix: update to 3.13.3 or later.
| Package | Affected versions | Patched versions |
|---|
| aiohttp PyPI | < 3.13.3
| 3.13.3
|
| aiohttp | < 3.13.3
| 3.13.3
|
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
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free