# CVE-2026-43970: Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-05-13T18:43:11.640Z
- Modified: 2026-11-25T17:23:12.338Z
- Also known as: GHSA-84f2-rp86-235p, EEF-CVE-2026-43970
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- cowlib: from 0.1.0 before 2.16.1
- ninenines/cowlib: from fad5c0049df278cc498b6cdb519b09e845a070a8 before 16aad3fb9f81f5cda4d1706ff0c54237c619c282
- cowlib (Hex): from 0.1.0 before 2.16.1
- https://github.com/ninenines/cowlib: from fad5c0049df278cc498b6cdb519b09e845a070a8 before 16aad3fb9f81f5cda4d1706ff0c54237c619c282

## Every score

- EEF: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://cna.erlef.org/cves/CVE-2026-43970.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-43970> (related, web)
- <https://github.com/ninenines/cowlib/commit/fad5c0049df278cc498b6cdb519b09e845a070a8> (related, web)
- <https://github.com/ninenines/cowlib/commit/16aad3fb9f81f5cda4d1706ff0c54237c619c282> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43970> (advisory)
- <https://github.com/ninenines/cowlib> (package)
- <https://hex.pm/packages/cowlib> (package)

## Sources

- CVE List: [CVE-2026-43970](https://www.cve.org/CVERecord?id=CVE-2026-43970), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-84f2-rp86-235p](https://github.com/advisories/GHSA-84f2-rp86-235p), CC-BY-4.0, modified 2026-05-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-43970](https://osv.dev/vulnerability/EEF-CVE-2026-43970), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-43970](https://nvd.nist.gov/vuln/detail/CVE-2026-43970), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-43970 · Whole record: https://cve.day/CVE-2026-43970.json · Rebuilt by cve.day 2026-11-25T22:59:21.649Z
