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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-409
- **Published:** 2026-11-05T20:15:56.311Z
- **Modified:** 2026-11-19T07:54:21.195Z

## Who should check

- Anyone running silviucpp ezstd \>= 1.0.5, \< 1.2.5
- Anyone running silviucpp ezstd \>= 6730128b1d35eca02a2028671421471ff651f423, \< e34f4a4f6dc18d990d1cece2d5fceef8e934a195

## 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.

## Affected and fixed versions

- silviucpp ezstd: \>= 1.0.5, \< 1.2.5 (cvelist)
- silviucpp ezstd: \>= 6730128b1d35eca02a2028671421471ff651f423, \< e34f4a4f6dc18d990d1cece2d5fceef8e934a195 (cvelist)

## Mitigation

- Upgrade ezstd to 1.2.5 or later.
- Vendor workaround: Replace calls to ezstd:decompress\_using\_ddict/2 with the streaming API: create a context with ezstd:create\_decompression\_context/1 using a small output buffer, attach the dictionary with ezstd:select\_ddict/2, and decompress with ezstd:decompress\_streaming/2. The streaming path decompresses into the caller-sized buffer and gives up with {error, decompressor\_stuck} after 1000 chunks, so a 64 KiB buffer caps a single call at 64 MiB of output. Treat that error as a rejected input. Legitimate frames whose output exceeds 1000 times the buffer size fail the same way, so size the buffer for the largest expected payload.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-119434. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-119434.md
Affected: silviucpp ezstd >= 1.0.5, < 1.2.5; silviucpp ezstd >= 6730128b1d35eca02a2028671421471ff651f423, < e34f4a4f6dc18d990d1cece2d5fceef8e934a195
Fixed in: silviucpp ezstd 1.2.5

Steps:
1. Search this machine and project for silviucpp ezstd: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-119434 being exploited?

There is no confirmed exploitation: CVE-2026-119434 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-119434?

Medium: CVSS 6.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-119434?

silviucpp ezstd \>= 1.0.5, \< 1.2.5; silviucpp ezstd \>= 6730128b1d35eca02a2028671421471ff651f423, \< e34f4a4f6dc18d990d1cece2d5fceef8e934a195.

### Is there a fix for CVE-2026-119434?

Yes. Fixed in silviucpp ezstd 1.2.5. Upgrade ezstd to 1.2.5 or later. Vendor workaround: Replace calls to ezstd:decompress\_using\_ddict/2 with the streaming API: create a context with ezstd:create\_decompression\_context/1 using a small output buffer, attach the dictionary with ezstd:select\_ddict/2, and decompress with ezstd:decompress\_streaming/2. The streaming path decompresses into the caller-sized buffer and gives up with {error, decompressor\_stuck} after 1000 chunks, so a 64 KiB buffer caps a single call at 64 MiB of output. Treat that error as a rejected input. Legitimate frames whose output exceeds 1000 times the buffer size fail the same way, so size the buffer for the largest expected payload.

### How do I check if I'm affected by CVE-2026-119434?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/silviucpp/ezstd/commit/6730128b1d35eca02a2028671421471ff651f423>
- patch: <https://github.com/silviucpp/ezstd/commit/e34f4a4f6dc18d990d1cece2d5fceef8e934a195>
- other: <https://github.com/silviucpp/ezstd/releases/tag/v1.2.5>
- other: <https://cna.erlef.org/cves/CVE-2026-119434.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-119434>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-119434>

HTML: <https://flawdb.com/CVE-2026-119434> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-119434>
