{"id":"CVE-2026-43970","aliases":["EEF-CVE-2026-43970","GHSA-84f2-rp86-235p"],"title":"Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nImproper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\n\n`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`.\n\nThis issue affects cowlib: from 0.1.0 before 2.16.1.\n\n## Configurations\n\nThe application must use `cow_spdy:parse/2` to parse SPDY frames from an untrusted peer. cowboy itself does not use `cow_spdy`; only direct callers of the `cow_spdy` API are affected.\n\n## Solutions\n\nUpgrade 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.","severity":"high","score":8.2,"published":"2026-05-13T18:43:11.640Z","modified":"2026-11-25T17:23:12.338Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"cowlib","sources":[{"name":"OSV · EEF-CVE-2026-43970","url":"https://osv.dev/vulnerability/EEF-CVE-2026-43970"}],"ranges":[{"events":[{"introduced":"0.1.0"},{"fixed":"2.16.1"}],"type":"SEMVER"}],"versions":["1.0.0","1.0.1","1.0.2","1.1.0","1.2.0","1.3.0","2.0.0","2.0.1","2.1.0","2.10.0","2.10.1","2.11.0","2.12.0","2.12.1","2.13.0","2.14.0","2.15.0","2.16.0","2.2.0","2.2.1","2.3.0","2.4.0","2.5.0","2.5.1","2.6.0","2.7.0","2.7.1","2.7.2","2.7.3","2.8.0","2.9.0","2.9.1"],"fixed":["2.16.1"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"fad5c0049df278cc498b6cdb519b09e845a070a8"},{"fixed":"16aad3fb9f81f5cda4d1706ff0c54237c619c282"}],"type":"GIT","repo":"https://github.com/ninenines/cowlib"}],"versions":["2.16.0","2.15.0","2.14.0","2.13.0","2.12.1","2.12.0","2.11.0","2.10.1","2.10.0","2.9.1","2.9.0","2.8.0","2.7.3","2.7.2","2.7.1","2.7.0","2.6.0","2.5.1","2.5.0","2.4.0","2.3.0","2.2.1","2.2.0","2.1.0","2.0.1","2.0.0","2.0.0-rc.1","2.0.0-pre.1","1.0.1","1.3.0","1.2.0","1.1.0","1.0.0","0.6.2","0.6.1","0.6.0","0.5.1","0.5.0","0.4.0","0.3.0","0.2.0","0.1.0"]}],"references":["https://cna.erlef.org/cves/CVE-2026-43970.html","https://osv.dev/vulnerability/EEF-CVE-2026-43970","https://github.com/ninenines/cowlib/commit/fad5c0049df278cc498b6cdb519b09e845a070a8","https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282","https://hex.pm/packages/cowlib"],"sources":[{"name":"CVE","id":"CVE-2026-43970","modified":"2026-11-20T05:26:29.166Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-43970"},{"name":"OSV","id":"EEF-CVE-2026-43970","modified":"2026-11-25T17:23:12.338737330Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-43970"}],"assessments":[{"source":"EEF","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","score":8.2},{"source":"OSV","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","score":8.2}],"cve":{"records":[{"id":"CVE-2026-43970","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-05-04T18:23:25.574Z","published":"2026-05-13T18:43:11.640Z","modified":"2026-11-20T05:26:29.166Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-20T05:26:29.166Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-05-14T12:39:10.669Z"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-43970.html","tags":["related","third-party-advisory"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-43970","tags":["related"],"source":"EEF"},{"url":"https://github.com/ninenines/cowlib/commit/fad5c0049df278cc498b6cdb519b09e845a070a8","tags":["related"],"source":"EEF"},{"url":"https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-409","description":"CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*","versionEndExcluding":"2.16.1","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-05-14T12:38:59.086048Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ninenines","name":"cowlib","platforms":[],"versions":[{"version":"0.1.0","status":"affected","lessThan":"2.16.1","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/cowlib","packageIdentity":{"ecosystem":"Hex","name":"cowlib"},"cpes":["cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-43970"},{"vendor":"ninenines","name":"cowlib","platforms":[],"versions":[{"version":"fad5c0049df278cc498b6cdb519b09e845a070a8","status":"affected","lessThan":"16aad3fb9f81f5cda4d1706ff0c54237c619c282","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ninenines/cowlib","cpes":["cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-43970"}],"remediation":[{"text":"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.","source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-43970"}],"observedAt":"2026-11-25T18:37:08.298Z","kev":{"status":"unavailable","checkedAt":"2026-11-28T23:55:31.062Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T14:30:36.340Z","attemptedAt":"2026-11-21T14:30:36.340Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-21T14:15:44.175Z","attemptedAt":"2026-11-21T14:15:44.175Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T13:55:34.792Z","attemptedAt":"2026-11-21T13:55:34.792Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T13:40:32.539Z","attemptedAt":"2026-11-21T13:40:32.539Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-43970","url":"https://www.first.org/epss/","probability":0.00516,"percentile":0.44853,"date":"2026-11-20","checkedAt":"2026-11-21T13:40:32.539Z"},{"source":"ENISA EUVD","id":"EUVD-2026-30131","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-30131","modified":"Nov 20, 2026, 5:26:29 AM","score":8.2,"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","checkedAt":"2026-11-21T13:55:34.792Z"},{"source":"GitHub Advisory Database","id":"GHSA-84f2-rp86-235p","url":"https://github.com/advisories/GHSA-84f2-rp86-235p","modified":"2026-05-19T20:12:02Z","checkedAt":"2026-11-21T14:15:44.175Z"},{"source":"NVD","id":"CVE-2026-43970","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43970","modified":"2026-11-20T06:17:28.120","score":8.2,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-21T14:30:36.340Z"}],"aiSummary":{"text":"The cowlib library, versions 0.1.0 before 2.16.1, has a vulnerability that allows unauthenticated remote denial of service via memory exhaustion. This occurs when the `cow_spdy:inflate/2` function decompresses crafted SPDY frames without output size bounds. A single unauthenticated SPDY frame can trigger the condition.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T10:21:29.970Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-43970"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-43970"}]}}