# CVE-2026-119434: Decompression bomb in ezstd:decompress_using_ddict/2 allows BEAM memory exhaustion via unbounded output buffer

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:L/AC:L/AT:N/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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-05T20:15:56.311Z
- Modified: 2026-11-25T17:23:02.589Z
- Also known as: EEF-CVE-2026-119434
- 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 silviucpp ezstd allows an attacker who supplies a zstd frame to ezstd:decompress_using_ddict/2 to exhaust memory and terminate the Erlang VM via a small frame that declares a very large content size.

zstd_nif_decompress_using_ddict in c_src/ezstd_nif.cc reads the frame's declared content size with ZSTD_getFrameContentSize and passes it directly to enif_make_new_binary, without the 1 GiB MAX_BUFFER_SIZE check that ezstd:decompress/1 applies before allocating. A valid 65,550-byte frame of RLE blocks declaring 2 GiB is rejected by ezstd:decompress/1 but is fully allocated and decompressed by the dictionary path. The allocation happens inside a NIF, so when it exceeds the memory available to the VM the operating system kills the whole node rather than the calling process.

This issue affects ezstd: from 1.0.5 before 1.2.5.

(As written by CVE List.)

## Affected

- ezstd: from 1.0.5 before 1.2.5
- silviucpp/ezstd: from 6730128b1d35eca02a2028671421471ff651f423 before e34f4a4f6dc18d990d1cece2d5fceef8e934a195
- ezstd (Hex): from 1.0.5 before 1.2.5
- https://github.com/silviucpp/ezstd: from 6730128b1d35eca02a2028671421471ff651f423 before e34f4a4f6dc18d990d1cece2d5fceef8e934a195

## Every score

- EEF: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- CISA-ADP: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/silviucpp/ezstd/releases/tag/v1.2.5> (related, release-notes, web)
- <https://cna.erlef.org/cves/CVE-2026-119434.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-119434> (related)
- <https://github.com/silviucpp/ezstd/commit/6730128b1d35eca02a2028671421471ff651f423> (related, web)
- <https://github.com/silviucpp/ezstd/commit/e34f4a4f6dc18d990d1cece2d5fceef8e934a195> (fix, patch)
- <https://hex.pm/packages/ezstd> (package)

## Sources

- CVE List: [CVE-2026-119434](https://www.cve.org/CVERecord?id=CVE-2026-119434), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-119434](https://osv.dev/vulnerability/EEF-CVE-2026-119434), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-119434](https://nvd.nist.gov/vuln/detail/CVE-2026-119434), Public domain, modified 2026-11-12

---

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