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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-409 — CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| silviucpp | ezstd | 1.0.5 to <1.2.5 [affected] |
| silviucpp | ezstd | 6730128b1d35eca02a2028671421471ff651f423 to <e34f4a4f6dc18d990d1cece2d5fceef8e934a195 [affected] |
References
- https://github.com/silviucpp/ezstd/releases/tag/v1.2.5 (release-notes related)
- https://cna.erlef.org/cves/CVE-2026-119434.html (related third-party-advisory)
- https://osv.dev/vulnerability/EEF-CVE-2026-119434 (related)
- https://github.com/silviucpp/ezstd/commit/6730128b1d35eca02a2028671421471ff651f423 (related)
- https://github.com/silviucpp/ezstd/commit/e34f4a4f6dc18d990d1cece2d5fceef8e934a195 (patch)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 06 Nov 2026 08:03 UTC.