PYSEC-2026-1107
AIOHTTP vulnerable to DoS when bypassing asserts
At a glance
- Published
- Updated
- CVE
- CVE-2025-69227
- Aliases
- GHSA-jj3x-wxrx-4x23
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
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 packages
| Package | Versions |
|---|---|
| PyPI · aiohttp | introduced 0, fixed 3.13.3 |
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23 WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-69227 ADVISORY
- https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259 WEB
- https://github.com/aio-libs/aiohttp PACKAGE
- https://pypi.org/project/aiohttp PACKAGE
- https://github.com/advisories/GHSA-jj3x-wxrx-4x23 ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |