{"id":"CVE-2026-128128","aliases":["GHSA-3rp8-rxj8-mvjw"],"url":"https://o3.security/vulnerability/CVE-2026-128128","summary":"AIOHTTP: WebSocket max_msg_size bypass via integer overflow","details":"### Summary\n\nThe `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.\n\n### Impact\n\nAn attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.\n\n### Workaround\n\nIf unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab","published":"2026-11-13T20:31:59.981Z","modified":"2026-11-15T02:46:33.322685791Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"aiohttp","fixedVersion":"3.14.4"}],"fix":{"url":"https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f","label":"aio-libs/aiohttp@8c8906a"},"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128128.json"},{"type":"ADVISORY","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128128"},{"type":"FIX","url":"https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f"},{"type":"FIX","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"FIX","url":"https://github.com/aio-libs/aiohttp/pull/13415"},{"type":"FIX","url":"https://github.com/aio-libs/aiohttp/pull/13494"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-15T02:46:33.322685791Z"}}