CVE-2026-119434: Decompression bomb in ezstd:decompress_using_ddict/2 allows BEAM memory exhaustion via unbounded output buffer
Published 2026-11-05 · Updated 2026-11-25 · Also known as EEF-CVE-2026-119434
Summary
The ezstd library contains a decompression bomb vulnerability in its dictionary-based decompression path that allows attackers to trigger an unbounded memory allocation. Users of the affected versions should update to version 1.2.5 to prevent potential Erlang VM crashes.
Who is affected
The vulnerability affects any application utilizing the ezstd:decompress_using_ddict/2 function, which fails to enforce memory bounds on decompressed data. An attacker can submit a crafted Zstd frame to trigger an allocation that exceeds available system memory, resulting in an unrecoverable termination of the entire Erlang VM node.
Exploitability
The vulnerability is considered easily exploitable as it requires no user interaction or authentication and can be triggered by an attacker with local or remote access. While the CVSS 4.0 base score is not computed, the vector AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N indicates high availability impact. There is currently no record of active exploitation via CISA KEV.
Remediation
- Upgrade the ezstd package to version 1.2.5 or later.
- If updating is not possible, replace calls to ezstd:decompress_using_ddict/2 with the streaming API and apply appropriate buffer limits.
How to check your project
- Inspect the project's dependency manifest (e.g., mix.lock or rebar.lock) to determine if ezstd version 1.0.5 through 1.2.4 is present.
- Perform a code audit to identify usages of the ezstd:decompress_using_ddict/2 function in the application codebase.
Automated analysis of the published advisory data, generated 2026-11-26. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Hex | ezstd |
>= 1.0.5, < 1.2.5 | 1.2.5 | mix deps.update ezstd |
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
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | None |
| Availability (vulnerable system) | High |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What happens if a malicious Zstd frame is processed?
The NIF attempts to allocate an unbounded amount of memory based on the frame's declared content size, leading to an operating system-level process kill of the entire BEAM node.
Why does the standard decompression function remain safe?
The function ezstd:decompress/1 enforces a 1 GiB MAX_BUFFER_SIZE check before memory allocation, which was missing from the dictionary-based decompression path.
Is the issue present in all Zstd decompression functions in ezstd?
No, the vulnerability is specific to the dictionary-based decompression implementation in c_src/ezstd_nif.cc.
Original advisory description
References
- WEB https://github.com/silviucpp/ezstd/releases/tag/v1.2.5
- WEB https://cna.erlef.org/cves/CVE-2026-119434.html
- WEB https://github.com/silviucpp/ezstd/commit/6730128b1d35eca02a2028671421471ff651f423
- FIX https://github.com/silviucpp/ezstd/commit/e34f4a4f6dc18d990d1cece2d5fceef8e934a195
- PACKAGE https://hex.pm/packages/ezstd
Source records: EEF-CVE-2026-119434 (OSV.dev) · EPSS by FIRST, 2026-11-26.