Skip to content
High 8.7

aiohttpのBase64多部分データでリクエストサイズ制限を回避される脆弱性

CVE-2026-128127 First seen on SecPulse

Summary

aiohttpの3.14.4より前のバージョンでは、Base64で符号化された多部分データの処理に、バイト数の上限チェックが不十分な問題があります。細工したリクエストでclient_max_sizeによるサイズ制限を回避され、メモリを大量に消費されたり処理が止まったりするおそれがあります。修正版の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より前のバージョンでは、Base64で符号化された多部分データの処理に、バイト数の上限チェックが不十分な問題があります。細工したリクエストでclient_max_sizeによるサイズ制限を回避され、メモリを大量に消費されたり処理が止まったりするおそれがあります。修正版の3.14.4で対処されているため、更新してください。

Affected packages

PackageAffected → Fixed
aio-libsaiohttp —
pipaiohttp
< 3.14.4→ 3.14.4
PyPIaiohttp
< 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.

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, BodyPartReader.read_chunk() processing a multipart part with Content-Transfer-Encoding set to base64 keeps reading until the chunk length is a multiple of four without enforcing a byte limit. A short Content-Length or a long run of whitespace can cause one call to read the remaining body into memory before the size check or spin on the event loop. A remote attacker can send such a multipart request to a handler that reads multipart data and bypass client_max_size. This issue is fixed in version 3.14.4.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details