Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 59%

CVE-2026-43970: CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) in ninenines cowlib

0
High
VulnerabilityCVE-2026-43970cvecve-2026-43970cwe-409
Published: 05/13/2026 (05/13/2026, 18:43:11 UTC)
Source: CVE Database V5
Vendor/Project: ninenines
Product: cowlib

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.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

cowlib
pkg:hex/cowlib
Affected versions
=0.1.0<2.16.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/21/2026, 12:11:56 UTC

Technical Analysis

The vulnerability in ninenines cowlib (versions before 2.16.1) involves improper handling of highly compressed SPDY frames. Specifically, the function cow_spdy:inflate/2 passes peer-supplied compressed bytes directly to zlib:inflate/2 without bounding the output size. Since the SPDY header compression dictionary is public and zlib can decompress data at a high amplification ratio (~1024:1), a small compressed payload can decompress into gigabytes of data on the BEAM heap. This leads to memory exhaustion and an out-of-memory kill of the node, causing a denial of service. The vulnerability affects multiple SPDY frame parsers via cow_spdy:parse_headers/2. The CVSS 4.0 score is 8.2, indicating high severity. No patch or official remediation level is currently documented.

Potential Impact

An unauthenticated attacker can send a single specially crafted SPDY frame that decompresses into a very large amount of data, exhausting memory on the affected node and causing a denial of service via out-of-memory termination. This impacts availability of services relying on vulnerable versions of cowlib. There is no indication of confidentiality or integrity impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider implementing network-level protections to block or rate-limit SPDY traffic from untrusted sources. Monitor for unusual memory usage patterns related to SPDY frame processing. Do not rely on generic mitigations unless specifically recommended by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-05-04T18:23:25.574Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a04cf3bcbff5d8610004165

Added to database: 05/13/2026, 19:21:31 UTC

Last enriched: 05/21/2026, 12:11:56 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 100

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses