AIOHTTP WebSocket size limit bypass via integer overflow
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
aiohttp before 3.14.4 has a flaw in its C WebSocket reader where the max_msg_size check on partially received messages can be bypassed (CWE-770). The reader adds a declared frame length to an already buffered message using signed 64-bit arithmetic, and a length near 2^63 can overflow so the check passes. A remote peer that needs no privileges can cause unbounded memory consumption. The Python WebSocket reader is not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| aio-libs | aiohttp | before 3.14.4 | 3.14.4 | Patch available | CNA |
| — | aiohttp (PyPI) | before 3.14.4 | 3.14.4 | Patch available | GHSA-3rp8-rxj8-mvjw |
- aiohttp Vendoraio-libs Affected before 3.14.4 Fixed in 3.14.4 Patch available CNA
- aiohttp (PyPI) Vendor— Affected before 3.14.4 Fixed in 3.14.4 Patch available GHSA-3rp8-rxj8-mvjw
Remediation
The aiohttp package on PyPI and the aio-libs aiohttp project are fixed in version 3.14.4.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA aiohttp (aio-libs) Fixed in 3.14.4
- Fix · GHSA-3rp8-rxj8-mvjw aiohttp (PyPI) Fixed in 3.14.4 Advisory →
Timeline
- 2026-11-13 Threatist record created from CVE-2026-128128
- 2026-11-16 Alias added: GHSA-3rp8-rxj8-mvjw
- 2026-11-16 Fix available: PyPI/[email protected] · GHSA-3rp8-rxj8-mvjw
- 2026-11-16 CVSS score added · GHSA-3rp8-rxj8-mvjw
- 2026-11-16 Weakness changed · GHSA-3rp8-rxj8-mvjw
- 2026-11-16 8 new references · GHSA-3rp8-rxj8-mvjw
References
Other 7
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw
- https://github.com/aio-libs/aiohttp/pull/13415
- https://github.com/aio-libs/aiohttp/pull/13494
- https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f
- https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- https://github.com/aio-libs/aiohttp
More aio-libs vulnerabilities
- TI-2025-38826 aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server CVSS 4.0HIGH 8.2
- TI-2024-15436 aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal CVSS 3.1HIGH 7.5
- TI-2023-25769 Request smuggling in aiohttp CVSS 3.1HIGH 7.5
- TI-2023-18906 aiohttp vulnerable to HTTP request smuggling CVSS 3.1HIGH 7.5
- TI-2023-26746 aiohttp's ClientSession is vulnerable to CRLF injection via version CVSS 3.1HIGH 7.2
- TI-2026-66145 Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-128128 · CVE Program
- CVE-2026-128128 · NVD
- FIRST EPSS
- GHSA-3rp8-rxj8-mvjw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences