CVE-2026-43970: CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) in ninenines cowlib
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.
AI Analysis
Technical Summary
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.
CVE-2026-43970: CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) in ninenines 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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.