Résumé
AIOHTTP: WebSocket max_msg_size bypass via integer overflow
Détails de l’avis
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
Références
- https://github.com/advisories/GHSA-3rp8-rxj8-mvjw
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw
- https://nvd.nist.gov/vuln/detail/CVE-2026-128128
- 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
Vulnérabilités liées
Tout Supply chain →- HIGHCVE-2026-68539
fulgur allows Unbounded string-set value accumulation causes memory/CPU exhaustion (denial of service)
- HIGHCVE-2026-122247
Budibase: Unauthenticated global-admin & database creation via tenant-confusion bypass of the one-time init guard (`POST /api/global/users/init`)
- HIGHCVE-2026-119793
libp2p: gossipsub creates a permanent topics-map entry per distinct subscription with no cap in the default config
- HIGHCVE-2026-128129
AIOHTTP: Unbounded buffering of data received during an upgrade request
- HIGHCVE-2026-128130
AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade
- HIGHCVE-2026-128132
AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages