Skip to main content

CVE-2026-22815

| EUVDEUVD-2026-18029 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-04-01 https://github.com/aio-libs/aiohttp GHSA-w2fm-2cpv-w7v5
6.9
CVSS 4.0 · Vendor: https://github.com/aio-libs/aiohttp
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption 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.

Impact

Without CVSS or EPSS metrics provided, risk assessment relies on attack vector and technical impact analysis. The attack vector is network-based and requires no authentication (remote attackers can trigger this via standard HTTP requests), making it easily accessible. Attack complexity is low-an attacker simply needs to craft an HTTP request with large or numerous headers/trailers. The technical impact is denial of service through memory exhaustion, which can crash or severely degrade application availability. The vulnerability is not identified as actively exploited by CISA KEV status at time of analysis. However, the straightforward attack mechanism, low barrier to exploitation, and availability of upstream fix via public repository suggest this represents a moderate-to-high operational risk for production aiohttp deployments, particularly those exposed directly to untrusted networks. Organizations using reverse proxies with header size limits gain automatic mitigation, reducing practical risk.

Exploit ScenarioDerived

An attacker sends a single HTTP request to an aiohttp application with an extremely large or numerically excessive set of headers or trailers (e.g., thousands of header fields or a single header exceeding normal size). The aiohttp parser processes these unconstrained headers and allocates memory proportionally, exhausting the application's memory pool and causing an out-of-memory crash or severe performance degradation, rendering the service unavailable to legitimate users. No specialized exploit code is required-raw HTTP can be crafted with standard tools like curl or Python requests libraries.

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

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

Alert me

AnalysisAIv1 – Apr 01, 2026

Memory exhaustion in aiohttp's header and trailer handling allows remote attackers to cause denial of service by sending attacker-controlled HTTP requests or responses with uncapped header/trailer values. The vulnerability affects aiohttp Python library across affected versions, enabling attackers to exhaust application memory without authentication. A mitigation is available via reverse proxy configuration, and upstream patch has been released.

RemediationAI

Upstream fix available via GitHub commit 0c2e9da51126238a421568eb7c5b53e5b5d17b36 in the aio-libs/aiohttp repository; patched release versions should be verified in the GitHub advisory at https://github.com/aio-libs/aiohttp/security/advisories/GHSA-w2fm-2cpv-w7v5. Update aiohttp to the patched version once released and verified. As an interim mitigation, deploy aiohttp behind a reverse proxy (nginx, Apache, Caddy, etc.) configured with strict header size and count limits to reject requests exceeding policy thresholds before they reach the application. This proxy-level control prevents unbounded memory consumption even if the application remains on an older version.

Affected VersionsENISA

aiohttp < 3.13.4

Affected Packages

pypi aiohttp fix: 3.13.4

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

The vulnerability exists in aiohttp (pkg:pip/aiohttp), a popular asynchronous HTTP client/server library for Python, and stems from insufficient validation and restrictions on HTTP header and trailer processing. The root cause is classified as CWE-400 (Uncontrolled Resource Consumption), indicating the application fails to properly limit the size or number of headers and trailers processed during HTTP message parsing. When an HTTP request or response contains headers or trailers without appropriate length constraints, the parser consumes unbounded memory as it accumulates header data, leading to resource exhaustion and denial of service. This is particularly dangerous in server implementations that directly process untrusted HTTP input.

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.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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.3 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
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 01, 2026 - 19:45 nvd
Patch available
CVE Published
Apr 01, 2026 - 19:45 nvd
MEDIUM 6.9

DescriptionCVE.org

Summary

Insufficient restrictions in header/trailer handling could cause uncapped memory usage.

Impact

An application could cause memory exhaustion when receiving an attacker controlled request or response. A vulnerable web application could mitigate these risks with a typical reverse proxy configuration.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/0c2e9da51126238a421568eb7c5b53e5b5d17b36

Blast Radius

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

Ecosystem-wide dependent count for version 3.13.4.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% 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.0%
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

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Public Cloud 15 SP7 Fixed
SUSE Linux Enterprise Module for Python 3 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed

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