{"id":"CVE-2025-69227","published":"2026-01-05T23:19:31Z","modified":"2026-01-06T19:02:48Z","title":"AIOHTTP vulnerable to DoS when bypassing asserts","vendor":"aio-libs","product":"aiohttp","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00396,"percentile":0.34556,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259","tags":["x_refsource_MISC"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":6.91},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"aio-libs","affectedVersions":[{"vendor":"aio-libs","product":"aiohttp","versions":["< 3.13.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-06T14:25:12.409319Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"aiohttp","vulnerableRanges":["<3.13.3"],"patched":["3.13.3"],"from":["GHSA-jj3x-wxrx-4x23","PYSEC-2026-1107"],"provenance":"source"}],"summary":{"text":"A flaw in aiohttp, the asynchronous HTTP client/server framework for asyncio and Python, causes an infinite loop when assert statements are bypassed, in the handling of POST bodies via the Request.post() method. An attacker with network access and no authentication or user interaction can trigger a denial of service by sending a specially crafted message, but only when the application runs with Python optimizations enabled (-O or PYTHONOPTIMIZE=1) and includes a handler that uses Request.post().","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:14Z"},"euvd":{"id":"EUVD-2026-1045","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aio-libs-aiohttp-cve-2023-47627","parents":[{"from":"CVE-2025-69223","to":"CVE-2025-69227","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["aiohttp/multipart.py","aiohttp/web_request.py"],"commits":["https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a","https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259"],"basis":"shared function","functions":["post"]}]}],"children":[{"from":"CVE-2025-69227","to":"CVE-2025-69228","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["aiohttp/web_request.py"],"commits":["https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259","https://github.com/aio-libs/aiohttp/commit/b7dbd35375aedbcd712cbae8ad513d56d11cce60"],"basis":"shared function","functions":["post"]}]}]}}