Skip to main content

aiohttp CVE-2026-54274

| EUVDEUVD-2026-38311 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-06-15 https://github.com/aio-libs/aiohttp GHSA-xcgm-r5h9-7989
6.6
CVSS 4.0 · Vendor: https://github.com/aio-libs/aiohttp
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to aiohttp WebSocket endpoint
  2. Delivery
    Complete HTTP Upgrade handshake
  3. Exploit
    Stream large incomplete WebSocket frames repeatedly
  4. Execution
    Bypass library memory size limit on frame buffer
  5. Persist
    Exhaust server process heap memory
  6. Impact
    Trigger OOM crash or service unavailability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application must expose at least one WebSocket endpoint handled by aiohttp. The bypass is triggered during WebSocket frame reassembly, meaning the attacker must successfully complete the HTTP Upgrade handshake to the WebSocket protocol before sending malformed frames. If the application enforces authentication or authorization before permitting the WebSocket upgrade (e.g., session tokens, JWT validation in the HTTP upgrade handler), unauthenticated exploitation is blocked - this is a significant limiting factor for applications that gate WebSocket access. Against applications with publicly accessible, unauthenticated WebSocket endpoints, no special conditions apply. The vulnerability does not affect HTTP/1.x or HTTP/2 request handling paths, only WebSocket frame processing.

Impact

No CVSS vector was provided by NVD or the vendor for this CVE; all metric assessments below are independently derived from the description and advisory. EPSS data is unavailable. The vulnerability is not listed in CISA KEV and no POC exploit has been identified. Despite the absence of an official CVSS score, the attack profile is concerning: it requires no authentication at the WebSocket protocol level, no user interaction, and is remotely triggerable against any publicly reachable WebSocket endpoint. The impact is limited strictly to availability - no confidentiality or integrity implications are described or inferable. Real-world priority is moderate-to-high for aiohttp deployments with public-facing WebSocket endpoints, but negligible for deployments that either do not use WebSocket or enforce authentication before frame exchange. The simplicity of the attack (sending malformed frames) means automation is feasible, raising the risk for internet-exposed services.

Exploit ScenarioDerived

An unauthenticated remote attacker opens one or more WebSocket connections to a public aiohttp-backed endpoint and streams a continuous sequence of large, deliberately incomplete WebSocket frames. Because the incomplete-frame buffer path does not enforce the configured memory ceiling, the aiohttp process heap grows without bound until the host's available memory is exhausted, causing the service to become unresponsive or the process to be killed by the OS OOM manager. No POC exploit code has been identified, but the technique requires only standard WebSocket client libraries and is reproducible without specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Denial-of-service in aiohttp (all versions up to and including 3.14.0) allows remote attackers to exhaust server memory by sending large, incomplete WebSocket frame payloads that bypass the library's configured memory size limits. Any Python web application exposing WebSocket endpoints via aiohttp is affected - no authentication is implied as a prerequisite at the protocol layer. No public exploit code has been identified at time of analysis, but the attack primitive is straightforward and the fix is available in 3.14.1.

RemediationAI

Upgrade aiohttp to version 3.14.1 or later via pip: pip install 'aiohttp>=3.14.1'. The upstream fix is available in commit 14b6ee851fb16ec199acb950de0c82d476799e7d at https://github.com/aio-libs/aiohttp/commit/14b6ee851fb16ec199acb950de0c82d476799e7d. If an immediate upgrade is not feasible, a compensating control is to place a reverse proxy (e.g., nginx, HAProxy) in front of the aiohttp application configured to enforce WebSocket frame size limits and connection-level rate limiting - note this adds operational complexity and may not fully replicate the library-level fix. Alternatively, disabling WebSocket endpoints entirely eliminates the attack surface at the cost of losing WebSocket functionality. Restricting WebSocket endpoint access to authenticated or trusted clients via application-level middleware reduces exposure but does not patch the underlying memory accounting flaw.

Affected VersionsENISA

aiohttp < 3.14.1

Affected Packages

pypi aiohttp fix: 3.14.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

aiohttp is a widely-used Python asynchronous HTTP client/server framework built on asyncio. The vulnerability manifests in the WebSocket frame reassembly logic: when a client sends fragmented or incomplete WebSocket frames, aiohttp is expected to buffer incoming frame data until the frame is complete. CWE-770 (Allocation of Resources Without Limits or Throttling) identifies the root cause - the frame accumulation path fails to enforce the configured memory ceiling when frames are incomplete, allowing an adversary to drive unbounded heap growth by continuously streaming oversized partial frames. The affected package is distributed via PyPI as pip/aiohttp, and the vulnerable range covers all releases at or below 3.14.0.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/aio-libs/aiohttp) PRIMARY 6.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
vuln.today AI 7.5 HIGH

Network-reachable WebSocket endpoint, no privileges required at protocol level, no user interaction; pure availability impact with no confidentiality or integrity consequence.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.9 MEDIUM

Primary rating from Vendor (https://github.com/aio-libs/aiohttp).

CVSS VectorVendor: https://github.com/aio-libs/aiohttp

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 22, 2026 - 18:23 NVD
6.6 (MEDIUM)

DescriptionCVE.org

Summary

If an attacker sends large incomplete websocket frame payloads, it may be possible to bypass the usual size limits on memory use.

Impact

If a web application has WebSocket endpoints, it may be possible for an attacker to execute a DoS attack through excessive memory use.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/14b6ee851fb16ec199acb950de0c82d476799e7d

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 85 pypi packages depend on aiohttp (45 direct, 41 indirect)

Ecosystem-wide dependent count for version 3.14.1.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Public Cloud 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Python 3 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy