VulnWatch by ve1ve2
high 7.5 EPSS 0.48%

GHSA-3rp8-rxj8-mvjw / CVE-2026-128128: AIOHTTP: WebSocket max_msg_size bypass via integer overflow

Source:
GitHub Security Advisories
Published:
Fetched:
Updated:
Affects:
aiohttp

https://github.com/advisories/GHSA-3rp8-rxj8-mvjw ↗

ghsapipCWE-770

AIOHTTP: WebSocket max_msg_size bypass via integer overflow ### Summary The `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed. ### Impact An attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment. ### Workaround If unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`. --- Patch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab Affected packages: pip:aiohttp Patched: aiohttp 3.14.4

Linked vulnerabilities (2)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AIOHTTP: WebSocket max_msg_size bypass via integer overflow

CWE: CWE-770Aliases: CVE-2026-128128
CVE-2026-128128 high 7.5 EPSS 0.48% (p43) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AIOHTTP: WebSocket max_msg_size bypass via integer overflow

CWE: CWE-770Aliases: GHSA-3rp8-rxj8-mvjwNVD: Analyzed

Also reported by (1)