aiohttp denial of service in WebSocket message size check
Affects aiohttp versions before 3.14.4 when the C extension WebSocket reader is in use; the Python reader is unaffected. Fixed in 3.14.4.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.14.4
- Who is exposed
- Not reported
Summary
The AIOHTTP WebSocket reader can be made to use unbounded memory, which can exhaust a server's resources and cause a denial of service. A remote attacker can trigger this without logging in by sending a small non-final fragment followed by an oversized message, which bypasses the max_msg_size check through an integer overflow in the C WebSocket reader.
Written by a model
Original description
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.
What to do
Upgrade to a fixed version: 3.14.4.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-128128 (AIOHTTP: WebSocket max_msg_size bypass via integer overflow), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-128128 (entry last updated 2026-11-18):
Affected:
- aio-libs aiohttp: fixed in 3.14.4
Fixed versions: 3.14.4.
Conditions (all must be true for the bug to be hit):
- The C extension WebSocket reader is in use; the Python reader is unaffected (source: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-128128 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-128128 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-128128
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-128128"}.Affected versions
- aio-libs aiohttpfixed in 3.14.4
cve.now Index
- Exploitation0/40No signal
- Exposure20/25No login or user action needed, CISA rates it automatable · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.5/10CVSS 7.5
- No patch0/5No signal
What would change the score
- Would score about 73 if added to CISA KEV
- Would score about 68 if CISA's SSVC rates exploitation active
- Would score about 33 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now5 days
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Public exploit activity
- EPSS: 0.48%
Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.
Evidence 8
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · aio-libs/aiohttp · Advisory GHSA-3rp8-rxj8-mvjw |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-128128 |
| Record | NVD · CVE-2026-128128 |
| Other links 5 | |
| Repository | GitHub · aio-libs/aiohttp · Pull request #13415 |
| Repository | GitHub · aio-libs/aiohttp · Pull request #13494 |
| Repository | GitHub · aio-libs/aiohttp · Commit 8c8906a1 |
| Repository | GitHub · aio-libs/aiohttp · Commit 8cfbe9ab |
| Repository | GitHub · aio-libs/aiohttp · Release v3.14.4 |
Questions about CVE-2026-128128
Is CVE-2026-128128 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A small non-final WebSocket fragment followed by an oversized message can bypass the max_msg_size limit because a size check overflows in the C extension. The result is unbounded memory use.
Source: github.com
Which versions are affected by CVE-2026-128128?
aiohttp: before 3.14.4.
Source: cve.now feed data
Am I affected, and how do I check?
Affected are aiohttp versions before 3.14.4 that use the C extension WebSocket reader. The Python WebSocket reader is not affected. Check the installed aiohttp version and whether the C extension reader is in use.
Source: github.com
How do I fix CVE-2026-128128?
Upgrade aiohttp to 3.14.4 or later, which is the listed fixed version.
Source: github.com
Related
- CVE-2026-128132AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages
- CVE-2026-128131AIOHTTP: Concatenated compressed streams cause excessive CPU use
- CVE-2026-128127AIOHTTP: Base64 multipart parts bypass client_max_size
- CVE-2026-128126AIOHTTP: Too many URL-encoded form fields block the event loop
- CVE-2026-123817AIOHTTP WebSocket frame reassembly permits excessive memory consumption from tiny reads
- CVE-2026-128130AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade
No corrections so far. Something wrong on this page? Report an error.