aiohttpのWebSocketで遠隔からメモリを使い果たされる脆弱性
Summary
aiohttpの3.14.4より前のバージョンには、WebSocketの受信処理で整数オーバーフローが起きる脆弱性があります。遠隔の相手が細工したフレームを送ると、サイズ上限のチェックを通り抜けてメモリを際限なく消費される可能性があります。修正版の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の3.14.4より前のバージョンには、WebSocketの受信処理で整数オーバーフローが起きる脆弱性があります。遠隔の相手が細工したフレームを送ると、サイズ上限のチェックを通り抜けてメモリを際限なく消費される可能性があります。修正版の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-128128 python-aiohttp No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128128 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, the C WebSocket reader adds a declared frame length to the size of an already buffered partial message using signed 64-bit arithmetic. A length near two to the power of 63 can overflow, allowing the max_msg_size check to pass. A remote peer can send a small non-final fragment followed by an oversized message and cause unbounded memory consumption. The Python WebSocket reader is unaffected. 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