{"id":"CVE-2026-43970","published":"2026-05-13T18:43:11Z","modified":"2026-11-20T05:26:29Z","title":"Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame","vendor":"ninenines","product":"cowlib","tier":"tail","description":{"text":"Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\n\ncow_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.\n\nThis issue affects cowlib: from 0.1.0 before 2.16.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.44853,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-43970.html","tags":["related","third-party-advisory"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-43970","tags":["related"]},{"url":"https://github.com/ninenines/cowlib/commit/fad5c0049df278cc498b6cdb519b09e845a070a8","tags":["related"]},{"url":"https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282","tags":["patch"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":8.97},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"ninenines","affectedVersions":[{"vendor":"ninenines","product":"cowlib","versions":[">= 0.1.0, < 2.16.1"]},{"vendor":"ninenines","product":"cowlib","versions":[">= fad5c0049df278cc498b6cdb519b09e845a070a8, < 16aad3fb9f81f5cda4d1706ff0c54237c619c282"]}],"solutions":{"items":["Upgrade to cowlib 2.16.1 or later, in which the cow_spdy module has been removed entirely. No patched version of cow_spdy will be provided. Migrate away from SPDY, which has been deprecated since 2015 in favour of HTTP/2."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-14T12:38:59.086048Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"cowlib","vulnerableRanges":[">=0.1.0, <2.16.1"],"patched":["2.16.1"],"from":["GHSA-84f2-rp86-235p"],"provenance":"source"}],"summary":{"text":"The flaw is in cow_spdy:inflate/2 in the cowlib product from ninenines, where peer-supplied compressed SPDY data is passed to zlib with no output size limit, allowing a small input to expand into a very large amount of memory. An unauthenticated remote attacker can exhaust memory and crash the node by sending a single crafted SPDY frame (syn_stream, syn_reply, or headers type) that needs no special configuration or user interaction to reach the affected parser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:24Z"},"euvd":{"id":"EUVD-2026-30131","exploited":false,"provenance":"source"}}