CVE-2026-43970 Details
Description
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.
A denial-of-service vulnerability has been identified in ninenines cowlib, specifically in versions 0.1.0 prior to 2.16.1. This vulnerability arises from improper handling of highly compressed data, allowing unauthenticated remote attackers to exhaust memory resources. The issue occurs in the cow_spdy:inflate/2 function, where compressed bytes from the peer are passed directly to zlib:inflate/2 without any output size limitation. Given that the SPDY header compression dictionary is public, zlib can compress long sequences of repeated bytes at approximately a 1024:1 ratio. As a result, a few kilobytes of SPDY frame payload can expand to gigabytes in the BEAM heap, causing an out-of-memory condition that terminates the node. The vulnerability can be triggered by a single unauthenticated SPDY frame, affecting the parsers for syn_stream, syn_reply, and headers frame types through cow_spdy:parse_headers/2.
Users are advised to upgrade to cowlib version 2.16.1 or later, as the cow_spdy module has been removed entirely in this version. No patched version of cow_spdy will be provided. Additionally, consider migrating away from SPDY, which has been deprecated since 2015 in favor of HTTP/2.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 13, 2026CISA-ADP
Assessed May 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.erlef.org/cves/CVE-2026-43970.html | EEF | AdvisoryRemedy |
| https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282 | EEF | Source CodeVendor |
| https://osv.dev/vulnerability/EEF-CVE-2026-43970 | EEF | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-409 | Improper Handling of Highly Compressed Data (Data Amplification) | EEF |
Affected Products
| Product | Versions |
|---|---|
| ninenines cowlib | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 13, 2026 | New CVE Received | EEF |
Volerion