{"id":"CVE-2026-43970","aliases":["CVE-2026-43970","GHSA-84f2-rp86-235p","EEF-CVE-2026-43970"],"related":[],"kind":"vulnerability","state":"published","title":"Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"## 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.","format":"markdown","source":"eef"},{"lang":"es","text":"La vulnerabilidad de Manejo Inadecuado de Datos Altamente Comprimidos (Amplificación de Datos) en ninenines cowlib permite una denegación de servicio remota no autenticada a través del agotamiento de la memoria.\n\ncow_spdy:inflate/2 en cowlib pasa los bytes comprimidos suministrados por el par directamente a zlib:inflate/2 sin un límite de tamaño de salida. El diccionario de compresión de cabeceras SPDY (?ZDICT) es público, y zlib comprime largas secuencias de bytes repetidos a una proporción aproximada de 1024:1, por lo que unos pocos kilobytes de carga útil de trama SPDY pueden descomprimirse a gigabytes en el heap de BEAM, provocando la terminación del nodo por falta de memoria. Una única trama SPDY no autenticada es suficiente para activar la condición. Los analizadores para los tipos de trama syn_stream, syn_reply y headers están todos afectados a través de cow_spdy:parse_headers/2.\n\nEste problema afecta a cowlib desde la versión 0.1.0 anterior a la 2.16.1.","source":"nvd"}],"published":"2026-05-13T18:43:11.640Z","modified":"2026-11-25T17:23:12.338Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"}],"cwes":["CWE-409"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"2.16.1","status":"affected"}],"vendor":"ninenines","product":"cowlib","package":"cowlib","cpe":"cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*","repo":"https://github.com/ninenines/cowlib","source":"cvelist"},{"ranges":[{"type":"git","introduced":"fad5c0049df278cc498b6cdb519b09e845a070a8","fixed":"16aad3fb9f81f5cda4d1706ff0c54237c619c282","status":"affected"}],"vendor":"ninenines","product":"cowlib","package":"ninenines/cowlib","cpe":"cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*","repo":"https://github.com/ninenines/cowlib","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"2.16.1"}],"ecosystem":"Hex","package":"cowlib","purl":"pkg:hex/cowlib","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"2.16.1"}],"ecosystem":"Hex","package":"cowlib","purl":"pkg:hex/cowlib","source":"eef"},{"ranges":[{"type":"git","introduced":"fad5c0049df278cc498b6cdb519b09e845a070a8","status":"affected","fixed":"16aad3fb9f81f5cda4d1706ff0c54237c619c282"}],"repo":"https://github.com/ninenines/cowlib","source":"eef"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-43970.html","tags":["related","third-party-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-43970","tags":["related","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ninenines/cowlib/commit/fad5c0049df278cc498b6cdb519b09e845a070a8","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282","tags":["fix","patch","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43970","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ninenines/cowlib","tags":["package"],"sources":["ghsa"]},{"url":"https://hex.pm/packages/cowlib","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Loïc Hoguin"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-14T12:38:59.086Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43970","url":"https://www.cve.org/CVERecord?id=CVE-2026-43970","licence":"CVE Terms of Use","modified":"2026-11-20T05:26:29.166Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-84f2-rp86-235p","url":"https://github.com/advisories/GHSA-84f2-rp86-235p","licence":"CC-BY-4.0","modified":"2026-05-19T20:26:01.036Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-43970","url":"https://osv.dev/vulnerability/EEF-CVE-2026-43970","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:12.338Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43970","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43970","licence":"Public domain","modified":"2026-11-20T06:17:28.120Z"}],"updatedAt":"2026-11-25T22:59:21.649Z","epss":{"score":0.00644,"percentile":0.4555,"date":"2026-11-30T12:00:22.000Z"}}