AIOHTTPに圧縮ストリームの処理でCPUを大量に使われる脆弱性
Summary
AIOHTTPには、連結された圧縮ストリームを含むリクエスト本文やWebSocketメッセージでCPUを大量に使わせ、サーバーのイベントループを止められる脆弱性があります。影響を受けるのは3.14.4より前のバージョンで、3.14.4で修正されています。3.14.4以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
AIOHTTPには、連結された圧縮ストリームを含むリクエスト本文やWebSocketメッセージでCPUを大量に使わせ、サーバーのイベントループを止められる脆弱性があります。影響を受けるのは3.14.4より前のバージョンで、3.14.4で修正されています。3.14.4以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| aio-libsaiohttp | — | Not listed |
| pipaiohttp |
< 3.14.4→ 3.14.4 |
3.14.4 |
| PyPIaiohttp |
< 3.14.4→ 3.14.4 |
3.14.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128131 python-aiohttp No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128131 python-aiohttp No fixed version in this record
Original description The description as published by the source.
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining input to a new decompressor, causing quadratic CPU use. Empty members produce no output, so client_max_size and output backpressure do not limit the work. A remote attacker can block a server event loop with a crafted compressed request body or WebSocket message, and a malicious server can similarly block a client. This issue is fixed in version 3.14.4.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com