CVE-2026-54274: AIOHTTP WebSocket Memory Exhaustion DoS Vulnerability
AIOHTTP, a popular Python framework for building asynchronous web applications, has a flaw in how it handles websocket connections. An attacker can send specially crafted incomplete websocket frames that are larger than normal to consume excessive memory on the server, potentially causing the application to become unresponsive or crash. This is a denial-of-service issue affecting versions before 3.14.1.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-770
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-22 / 2026-06-26
NVD description (verbatim)
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, if an attacker sends large incomplete websocket frame payloads, it may be possible to bypass the usual size limits on memory use. This vulnerability is fixed in 3.14.1.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-54274 is a memory exhaustion vulnerability in AIOHTTP's websocket frame handling. The vulnerability stems from improper enforcement of size limits (CWE-770) when processing incomplete websocket payloads. Attackers can bypass rate-limiting or size restrictions by sending fragmented frames that individually fall within acceptable bounds but collectively exceed intended memory allocation thresholds. The flaw exists in versions prior to 3.14.1 and does not require authentication or user interaction.
Business impact
Availability of web services built with vulnerable AIOHTTP versions is directly at risk. An unauthenticated attacker from the network can trigger memory exhaustion and denial of service without special privileges. Applications using AIOHTTP for websocket communication—such as real-time collaboration tools, chat platforms, and live data feeds—could experience outages, impacting user experience and service reliability. The attack is straightforward to execute, making it a practical concern for exposed applications.
Affected systems
AIOHTTP versions prior to 3.14.1 are affected. The vulnerability applies to any deployment using AIOHTTP as an HTTP client/server framework with websocket functionality enabled. Python-based applications relying on AIOHTTP for websocket handling, including microservices, API gateways, and interactive web backends, should be assessed for exposure.
Exploitability
This vulnerability requires no authentication, no user interaction, and can be triggered over the network. The attack surface is wide for any AIOHTTP instance accepting websocket connections from untrusted sources. No advanced exploitation techniques are needed—simply sending large incomplete frames is sufficient. The CVSS score of 7.5 (HIGH) reflects the ease of exploitation and impact on availability.
Remediation
Upgrade AIOHTTP to version 3.14.1 or later. This patch version includes corrected size limit enforcement for websocket frame processing, preventing the memory exhaustion bypass. Organizations should prioritize this upgrade for any production systems accepting websocket traffic.
Patch guidance
Update the AIOHTTP dependency to 3.14.1 or newer across all environments. For Python projects using pip, run 'pip install --upgrade aiohttp>=3.14.1'. Verify the update in your requirements.txt or pyproject.toml and test websocket functionality before deploying to production. Check your dependency lock files and CI/CD pipelines to ensure the pinned version reflects the patched release.
Detection guidance
Monitor for memory usage spikes correlated with websocket connection activity, especially from unexpected sources. Log and analyze websocket frame sizes and frequency of incomplete frames. Implement resource limits at the application level (e.g., max concurrent websocket connections, per-connection memory budgets) as a defense-in-depth measure. Alert on sustained high memory consumption or repeated connection resets. Network-level monitoring can flag traffic patterns sending unusually fragmented payloads.
Why prioritize this
HIGH severity combined with unauthenticated network exploitability and denial-of-service impact warrants prompt patching. The vulnerability affects availability, a core security pillar. Any publicly exposed AIOHTTP websocket endpoint should be treated as critical priority. Even internal systems should be upgraded soon to reduce insider risk or lateral movement attack surface.
Risk score, explained
CVSS 7.5 reflects a HIGH severity impact on availability (AV:N/AC:L/PR:N/UI:N). The attack vector is network-based, attack complexity is low, no privileges or user interaction required, and the scope is unchanged. Only availability is affected (A:H), not confidentiality or integrity, preventing a critical rating. However, the combination of ease of exploitation and service disruption potential justifies the HIGH designation.
Frequently asked questions
Does this vulnerability allow remote code execution or data theft?
No. CVE-2026-54274 is purely a denial-of-service issue. It does not permit code execution, data confidentiality breaches, or integrity compromise. The attacker's impact is limited to exhausting server memory and disrupting availability.
Can this be exploited without sending traffic directly to the AIOHTTP server?
No. The attacker must be able to send websocket frames to the vulnerable application over the network. Firewalling websocket endpoints or running AIOHTTP only on internal networks significantly reduces risk.
Are there known public exploits for this vulnerability?
This vulnerability has not been designated as actively exploited (KEV status is not active). However, the straightforward nature of the attack—sending large incomplete frames—means exploitation requires minimal skill or tooling once the vulnerability is disclosed.
What AIOHTTP features are affected?
Only websocket connection handling is affected. Standard HTTP request/response functionality in AIOHTTP is not impacted by this vulnerability. If your application does not use websockets, you are not directly at risk, but updating is still recommended for completeness.
This analysis is provided for informational purposes to help security teams assess and prioritize remediation efforts. The information is derived from the published CVE record and vendor advisories as of the date shown. No exploit code or weaponized proof-of-concept is included or recommended. Organizations should verify patch availability and compatibility in their specific environments and test thoroughly before deployment. Security teams are responsible for validating vulnerability details against their own systems and vendor guidance. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-54273HIGHAIOHTTP Request Pipelining Denial-of-Service Vulnerability
- CVE-2026-54277HIGHAIOHTTP C Parser max_line_size Bypass DoS Vulnerability
- CVE-2023-54365HIGHTraefik HTTP/2 Denial of Service Vulnerability – Rapid Reset Attack
- CVE-2025-46638HIGHDell BSAFE SSL-J Resource Exhaustion DoS Vulnerability
- CVE-2025-61028HIGHOpenLink Virtuoso DoS Vulnerability in time_t_to_dt Component
- CVE-2025-7737HIGHHitachi VSP iSCSI DoS Vulnerability – Patch Guide
- CVE-2026-12151HIGHundici WebSocket Memory Exhaustion DoS Vulnerability
- CVE-2026-28299HIGHSolarWinds Web Help Desk Denial-of-Service Vulnerability – CVSS 8.2