Technical impact
The vulnerability resides in the ezstd NIF function that decompresses zstd frames with an attached dictionary. When a frame declares a content size far larger than the actual compressed data, the function passes the declared size straight to the Erlang memory allocator without performing the 1 GiB maximum buffer check used by the regular decompress/1 function. The size is therefore used to allocate a new binary inside the NIF context, which can exceed the Erlang VM's memory limits and cause the operating system to terminate the entire node, resulting in a denial‑of‑service condition.
Affected Systems
This issue affects the silviucpp ezstd library, specifically versions from 1.0.5 through 1.2.4. Any Erlang or BEAM application that links against these versions and uses the ezstd:decompress_using_ddict/2 API is potentially vulnerable, including systems that load the library as part of larger distributed workflows.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity, and the EPSS score is not available, suggesting limited publicly reported exploitation. The vulnerability is not listed in CISA's KEV catalog. An attacker must be able to supply a crafted zstd frame that targets the vulnerable API, which may be achieved over a network connection, file upload, or other input channels used by the application. Once the malicious data is processed, memory exhaustion will occur, leading to node termination.