AIOHTTP: WebSocket max_msg_size bypass via integer overflow
CVE-2026-128128 · GHSA-3rp8-rxj8-mvjw · PYSEC-2026-4395 · EUVD-2026-125760 · published 13 Nov 2026
How serious is it
- Severity: high, CVSS score 7.5 out of 10.
- Exploit prediction (EPSS): 0.5% chance of exploitation in the next 30 days, higher than 42% of all vulnerabilities.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-128128?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
aiohttp(PyPI) <= 3.14.3
How to check
- Run
pip show aiohttpin your project to see the installed version, including copies pulled in by other packages. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
- Or run
npx shippable-dev scan localhost:3000in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- Upgrade
aiohttpto 3.14.4 or later, commit the lockfile and redeploy. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
### 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
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw
- github.com/aio-libs/aiohttp/pull/13415
- github.com/aio-libs/aiohttp/pull/13494
- github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f
- github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab
- github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- nvd.nist.gov/vuln/detail/CVE-2026-128128
- github.com/advisories/GHSA-3rp8-rxj8-mvjw
- github.com/aio-libs/aiohttp
Merged from ENISA EUVD, FIRST EPSS, GitHub Advisory Database, OSV. Last updated 21 Nov 2026. All vulnerabilities · RSS · JSON