Advisory

GHSA-jj3x-wxrx-4x23

Also known as: CVE-2025-69227, PYSEC-2026-1107

Summary

AIOHTTP vulnerable to DoS when bypassing asserts

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-05 23:10 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.13.3 (ecosystem)

Fixed versions

3.13.3

Fix

  • Fixed version 3.13.3
    pip install --upgrade aiohttp==3.13.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences