{"id":"CVE-2025-69227","aliases":["CVE-2025-69227","GHSA-jj3x-wxrx-4x23","PYSEC-2026-1107"],"related":[],"kind":"vulnerability","state":"published","title":"AIOHTTP vulnerable to DoS when bypassing asserts","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nWhen assert statements are bypassed, an infinite loop can occur, resulting in a DoS attack when processing a POST body.\n\n### Impact\nIf 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.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259","format":"markdown","source":"ghsa"},{"lang":"es","text":"AIOHTTP es un framework HTTP cliente/servidor asíncrono para asyncio y Python. Las versiones 3.13.2 e inferiores permiten que se produzca un bucle infinito cuando se omiten las sentencias assert, lo que resulta en un ataque de DoS al procesar un cuerpo POST. Si las optimizaciones están habilitadas (-O o PYTHONOPTIMIZE=1), y la aplicación incluye un manejador que utiliza el método Request.post(), entonces un atacante podría ejecutar un ataque de DoS con un mensaje especialmente diseñado. Este problema está solucionado en la versión 3.13.3.","source":"nvd"}],"published":"2026-01-05T23:10:15.000Z","modified":"2026-10-11T20:10:00.200Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"version":"< 3.13.3","status":"affected"}],"vendor":"aio-libs","product":"aiohttp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.13.3"}],"ecosystem":"PyPI","package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.13.3"}],"vendor":"aiohttp","product":"aiohttp","cpe":"cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.13.3"}],"ecosystem":"PyPI","package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"pysec"}],"references":[{"url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69227","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/aio-libs/aiohttp","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/aiohttp","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-jj3x-wxrx-4x23","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-01-06T14:25:12.409Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-69227","url":"https://www.cve.org/CVERecord?id=CVE-2025-69227","licence":"CVE Terms of Use","modified":"2026-01-06T19:02:48.192Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jj3x-wxrx-4x23","url":"https://github.com/advisories/GHSA-jj3x-wxrx-4x23","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:33.308Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-69227","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69227","licence":"Public domain","modified":"2026-10-11T20:10:00.200Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1107","url":"https://osv.dev/vulnerability/PYSEC-2026-1107","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:27.143Z"}],"updatedAt":"2026-11-25T22:59:10.308Z","epss":{"score":0.00396,"percentile":0.35919,"date":"2026-12-01T12:00:22.000Z"}}