
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-22815 is a Denial of Service vulnerability in the aiohttp asynchronous HTTP client/server framework for Python, caused by insufficient restrictions in HTTP header and trailer handling that allow uncapped memory allocation. It affects all aiohttp versions up to and including 3.13.3, with the fix introduced in version 3.13.4. The vulnerability was reported by security researcher sg3-141-592, published on March 31, 2026, and assigned a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 6.9 (Medium) (Github Advisory, Red Hat Bugzilla).
The root cause is classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). Prior to the fix, aiohttp's HTTP parser imposed no meaningful cap on the number of headers or trailer headers it would accept and accumulate in memory — the default max_headers value was set to 32,768, effectively unlimited in practice. The patch (commit 0c2e9da) introduces a max_headers parameter (defaulting to 128) for both HttpRequestParser and HttpResponseParser, and adds an explicit check that raises BadHttpMessage("Too many headers received") when the limit is exceeded. This flaw is exploitable by sending crafted HTTP requests or responses with an excessive number of headers, causing the application process to exhaust available memory (aiohttp Commit, Github Advisory).
Successful exploitation results in memory exhaustion on the affected server or client application, leading to a Denial of Service condition. There is no impact on confidentiality or integrity — the vulnerability is purely an availability issue. Applications acting as HTTP servers are vulnerable to attacker-controlled requests, while applications acting as HTTP clients (e.g., making requests to attacker-controlled servers) are vulnerable to crafted responses. Downstream IBM products incorporating aiohttp — including IBM Process Mining, IBM API Connect, IBM Guardium Data Security Center, IBM watsonx Code Assistant, and IBM Observability with Instana — are also affected (Github Advisory, Red Hat Bugzilla).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.04% (6th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires no authentication, no user interaction, and no special privileges — an attacker only needs network access to a vulnerable aiohttp endpoint (Github Advisory).
BadHttpMessage: Too many headers received (only on patched versions that rejected the request)./var/log/syslog or dmesg) referencing the aiohttp worker process; unexpected process crashes or restarts of the aiohttp service.Upgrade aiohttp to version 3.13.4 or later, which introduces a max_headers parameter (defaulting to 128) that enforces a hard cap on the number of headers processed per request or response (aiohttp Release). As a temporary workaround, deploying a reverse proxy (e.g., nginx or HAProxy) in front of the aiohttp application can mitigate the risk by enforcing header count and size limits at the proxy layer before requests reach the application (Github Advisory). IBM customers using affected products (Process Mining, API Connect, Guardium Data Security Center, watsonx Code Assistant, Instana) should apply the respective IBM interim fixes or patches as published in IBM security advisories.
Fix availability across major Linux distributions and their releases.
bookworm
python-aiohttp
sid
python-aiohttp: 3.13.5-1
trixie
python-aiohttp
bionic (esm-apps)
python-aiohttp: 3.0.1-1ubuntu0.1~esm7
devel
python-aiohttp
focal (esm-apps)
python-aiohttp: 3.6.2-1ubuntu1+esm6
jammy
python-aiohttp
jammy (esm-apps)
python-aiohttp: 3.8.1-4ubuntu0.2+esm3
noble
python-aiohttp
noble (esm-apps)
python-aiohttp: 3.9.1-1ubuntu0.1+esm3
resolute
python-aiohttp
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."