CVE-2025-69227AIOHTTP vulnerable to DoS when bypassing asserts
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.
What to do
Fixed builds are available from Alpine, Debian, PyPI, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | python-aiohttp | Fixed | 3.11.16-1ubuntu0.1 | UBUNTU-CVE-2025-69227 |
| Ubuntu 24.04 | python-aiohttp | Fix pending | 3.9.1-1ubuntu0.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-69227 |
| Ubuntu 22.04 | python-aiohttp | Fix pending | 3.8.1-4ubuntu0.2+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-69227 |
| Ubuntu 18.04 | python-aiohttp | Fix pending | UBUNTU-CVE-2025-69227 | |
| Ubuntu 16.04 | python-aiohttp | Fix pending | UBUNTU-CVE-2025-69227 | |
| Debian 14 | python-aiohttp | Fixed | 3.13.3-1 | DEBIAN-CVE-2025-69227 |
| Debian 13 | python-aiohttp | Fixed | 3.11.16-1+deb13u1 | DEBIAN-CVE-2025-69227 |
| Debian 12 | python-aiohttp | Fixed | 3.8.4-1+deb12u2 | DEBIAN-CVE-2025-69227 |
| Alpine Linux 3.24 | py3-aiohttp | Fixed | 3.13.3-r0 | ALPINE-CVE-2025-69227 |
| Alpine Linux 3.23 | py3-aiohttp | Fixed | 3.13.3-r0 | ALPINE-CVE-2025-69227 |
| PyPI library | aiohttp | Fixed | 3.13.3 | PYSEC-2026-1107 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- aio-libs aiohttp: affected: < 3.13.3
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23
- https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.