CVE-2026-119434
published medium CVSS 4.0 · 6.9Decompression bomb in ezstd:decompress_using_ddict/2 allows BEAM memory exhaustion via unbounded output buffer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| silviucpp | — | ezstd1.0.5 to < 1.2.5 · Other versions: unaffected | Affected | Not stated | EEF |
| silviucpp | — | silviucpp/ezstdezstd · 6730128b1d35eca02a2028671421471ff651f423 to < e34f4a4f6dc18d990d1cece2d5fceef8e934a195 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.2 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| silviucpp | ezstd | 1.0.5 to < 1.2.5 (affected · semver)Default: unaffected | EEF · cna |
| silviucpp | ezstd | 6730128b1d35eca02a2028671421471ff651f423 to < e34f4a4f6dc18d990d1cece2d5fceef8e934a195 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-409 CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
5- EEF CNA record for CVE-2026-119434 https://cna.erlef.org/cves/CVE-2026-119434.html
- Introducing commit 6730128 in silviucpp/ezstd https://github.com/silviucpp/ezstd/commit/6730128b1d35eca02a2028671421471ff651f423
- Fix commit e34f4a4 in silviucpp/ezstd https://github.com/silviucpp/ezstd/commit/e34f4a4f6dc18d990d1cece2d5fceef8e934a195
- ezstd v1.2.5 release notes https://github.com/silviucpp/ezstd/releases/tag/v1.2.5
- OSV record EEF-CVE-2026-119434 https://osv.dev/vulnerability/EEF-CVE-2026-119434
Provider assertions
2EEF · cna
Decompression bomb in ezstd:decompress_using_ddict/2 allows BEAM memory exhaustion via unbounded output buffer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- db4e4ceadfb927bfd5c3f771dac12dff0f013c7bf4e7844a388b962e3ca69056
- Ingested
- 19 Nov 2026, 07:57:07 UTC
- Source record
- Official CVE record