NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

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

mediumCVSS 4.0 6.6GHSA-jj3x-wxrx-4x23

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.

Published Jan 5, 2026 · Updated Jan 6, 2026

Affected packages

aiohttp

Ecosystem
PyPI
Affected
<= 3.13.2
Fixed in
3.13.3
Check
pip show aiohttp

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to ThomasRinsma, Dreamsorcerer, bdraco.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries