VDB
Sign up
—

PYSEC-2026-1106

AIOHTTP vulnerable to DoS through chunked messages

Quick fix

PYSEC-2026-1106 — aiohttp: upgrade to the fixed version with the command below.

pip install --upgrade 'aiohttp>=3.13.3'

Details

### Summary

Handling of chunked messages can result in excessive blocking CPU usage when receiving a large number of chunks.

### Impact

If an application makes use of the `request.read()` method in an endpoint, it may be possible for an attacker to cause the server to spend a moderate amount of blocking CPU time (e.g. 1 second) while processing the request. This could potentially lead to DoS as the server would be unable to handle other requests during that time.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/dc3170b56904bdf814228fae70a5501a42a6c712 Patch: https://github.com/aio-libs/aiohttp/commit/4ed97a4e46eaf61bd0f05063245f613469700229

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/aiohttp
Introduced in: 0Fixed in: 3.13.3
Fixpip install --upgrade 'aiohttp>=3.13.3'

References