Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Erlang service advertising SPDY/3
-
DeliveryEstablish TLS with spdy/3 ALPN
-
ExploitSend crafted compressed SPDY header frame
-
Executioncow_spdy:inflate/2 expands payload unbounded
-
PersistBEAM heap exhausts available memory
-
ImpactOOM kill terminates node and denies service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
|
| Exploitation Conditions | The target must be running cowlib <2.16.1 AND actively accepting SPDY/3 traffic through the cow_spdy parser - concretely, a Ranch/Cowboy listener configured for SPDY, an ALPN/NPN negotiation that selects the spdy/3 token, or custom Erlang code that calls cow_spdy:parse/2 on attacker-controlled bytes. Once that path is reachable, exploitation needs no authentication, no user interaction, and a single SPDY frame carrying syn_stream, syn_reply, or headers; the CVSS 4.0 AT:P 'Attack Requirements: Present' bit captures exactly this 'SPDY must be enabled' precondition. Limiting factors are significant: SPDY/3 is obsolete and not enabled by default in modern Cowboy/Phoenix stacks, so typical HTTP/1.1 or HTTP/2-only deployments are not exploitable even while running a vulnerable cowlib version. |
| Impact | Signals are mixed and lean lower than the 8.2 CVSS suggests. CVSS:4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VA:H) reflects network-reachable, unauthenticated, low-complexity attack with high availability impact and an attack requirement (AT:P) noting that the target must actually be speaking SPDY. EPSS is only 0.14% (34th percentile) and CISA's SSVC framework records exploitation 'none', automatable 'no', and technical impact 'partial' - consistent with no public exploit identified at time of analysis and no CISA KEV listing. The practical limiting factor is large: SPDY/3 was deprecated years ago and Cowboy itself does not enable a SPDY listener by default; cow_spdy is a vestigial parser module rather than a hot code path, which is likely why the maintainers chose deletion over a size cap. Real-world risk is therefore concentrated in legacy Erlang services that explicitly stood up SPDY endpoints or call cow_spdy directly from custom code - for those operators the issue is genuinely a one-packet remote OOM, but for typical Cowboy/Phoenix HTTP/1.1+HTTP/2 deployments the attack surface is effectively zero. |
| Exploit ScenarioDerived | An attacker locates an Erlang/Elixir service that still negotiates SPDY/3 (typically via ALPN or a legacy listener), opens a single TLS connection, and sends one syn_stream, syn_reply, or headers frame whose compressed payload is a few kilobytes of highly repetitive data crafted against the public ?ZDICT dictionary. When cow_spdy:inflate/2 hands the buffer to zlib:inflate/2, the BEAM heap balloons into the gigabyte range and the OOM killer terminates the node, taking down the service for every connected user. No public exploit identified at time of analysis, but the recipe is straightforward given that ?ZDICT is published in the SPDY draft. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Unauthenticated remote denial of service in ninenines cowlib (versions 0.1.0 through 2.16.0) allows a single crafted SPDY frame to exhaust BEAM VM memory via a zlib decompression bomb. The cow_spdy:inflate/2 path passes peer-controlled compressed bytes to zlib:inflate/2 without bounding output size, and because the SPDY ?ZDICT dictionary is public and zlib achieves roughly 1024:1 compression on repeated bytes, kilobytes of input expand to gigabytes of heap, OOM-killing the Erlang node. No public exploit identified at time of analysis, EPSS is low (0.14%), and CISA SSVC marks exploitation as none, but the upstream fix is to remove cow_spdy entirely in 2.16.1.
RemediationAI
Vendor-released patch: cowlib 2.16.1, which removes the cow_spdy module entirely; upgrade the cowlib dependency in rebar.config, mix.exs, or your release lock file to 2.16.1 or later and rebuild all downstream releases (Cowboy, Phoenix, RabbitMQ, etc.) so the vulnerable module is no longer shipped in the BEAM load path. The upstream fix commit is https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282 and the coordinating advisory is at https://cna.erlef.org/cves/CVE-2026-43970.html. If you cannot upgrade immediately, the effective compensating control is to ensure no SPDY listener is configured - SPDY is not enabled by default in Cowboy, so audit ranch/cowboy listener specs and reverse-proxy ALPN/NPN configuration to confirm only http/1.1 and h2 are negotiated, and remove any custom code that calls cow_spdy:parse/2 directly; as a network-layer fallback, terminate TLS at a front proxy that does not advertise the spdy/3 ALPN token, which prevents clients from ever reaching the vulnerable parser at the cost of dropping any (now extremely rare) legitimate SPDY clients.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
cowlib is the low-level HTTP/SPDY/WebSocket parsing library underlying the Cowboy Erlang web server, widely used in Erlang/OTP and Elixir/Phoenix deployments. The defect is classified as CWE-409 (Improper Handling of Highly Compressed Data, a 'zip bomb' class amplification flaw): cow_spdy:inflate/2 forwards attacker-supplied compressed payloads into Erlang's zlib NIF (zlib:inflate/2) without bounding the decompressed length, while the SPDY/3 header compression context is preseeded with the well-known public ?ZDICT dictionary, allowing the attacker to construct a payload optimised for maximum expansion. All three SPDY header-bearing frame types - syn_stream, syn_reply, and headers - flow through the shared parse_headers/2 helper, so any of them can deliver the amplification. The affected CPE is cpe:2.3:a:ninenines:cowlib for all versions 0.1.0 up to but not including 2.16.1, and the upstream patch (commit 16aad3fb9f81f5cda4d1706ff0c54237c619c282) deletes the cow_spdy.erl module and removes it from the .app manifest rather than adding a decompressed-size limit.
Know when Cowlib gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (EEF) · only source for this CVE.
CVSS VectorVendor: EEF
Lifecycle Timeline
1DescriptionCVE.org
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.
cow_spdy:inflate/2 in cowlib passes peer-supplied compressed bytes directly to zlib:inflate/2 with no output size bound. The SPDY header compression dictionary (?ZDICT) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for syn_stream, syn_reply, and headers frame types are all affected via cow_spdy:parse_headers/2.
This issue affects cowlib from 0.1.0 before 2.16.1.
Executive ViewAI
Ninenines cowlib (Erlang HTTP server library) versions 0.1.0-2.16.0 contain a denial-of-service vulnerability (CVE-2026-43970) that allows unauthenticated, remote attackers to crash applications with a single network request. Organizations running Erlang-based web services must upgrade to version 2.16.1 to prevent potential service outages; while active exploitation is currently unlikely, the ease of attack and high impact severity warrant prioritized patching.
Vendor-released patch: 2.16.1
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
An unauthenticated remote peer can exhaust memory on an HTTP/2 endpoint built on ninenines cowlib 2.7.0 or later by send
Remote denial of service in ninenines cowlib (the HTTP support library behind the Cowboy web server and Gun client) from
Link header directive smuggling in ninenines cowlib (2.9.0+) enables attacker-controlled browsers to initiate out-of-ban
HTTP response splitting in ninenines cowlib allows network-accessible attackers to inject arbitrary HTTP headers when ap
CRLF injection in cowlib's SSE encoder allows an attacker who supplies field values - id, event, data, or comment - cont
CRLF injection in cowlib's cow_cookie:cookie/1 encoder allows an attacker who controls cookie name or value strings to i
EUVD-2026-30131
GHSA-84f2-rp86-235p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB