{"id":"CVE-2026-119434","summary":"Decompression bomb in ezstd:decompress_using_ddict/2 allows BEAM memory exhaustion via unbounded output buffer","details":"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.\n\nzstd_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.\n\nThis issue affects ezstd: from 1.0.5 before 1.2.5.","aliases":["EEF-CVE-2026-119434"],"modified":"2026-11-19T09:00:10.479043535Z","published":"2026-11-05T20:15:56.311Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-409"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119434.json"},"references":[{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-119434"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://cna.erlef.org/cves/CVE-2026-119434.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119434.json"},{"type":"ADVISORY","url":"https://github.com/silviucpp/ezstd/releases/tag/v1.2.5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119434"},{"type":"FIX","url":"https://github.com/silviucpp/ezstd/commit/6730128b1d35eca02a2028671421471ff651f423"},{"type":"FIX","url":"https://github.com/silviucpp/ezstd/commit/e34f4a4f6dc18d990d1cece2d5fceef8e934a195"},{"type":"PACKAGE","url":"https://github.com/silviucpp/ezstd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/silviucpp/ezstd","events":[{"introduced":"6730128b1d35eca02a2028671421471ff651f423"},{"fixed":"e34f4a4f6dc18d990d1cece2d5fceef8e934a195"},{"introduced":"2697a890a487a43afe77aa247c86cd09acdd02e5"},{"fixed":"9e719aa2b75eab16a404432db8bf9b71af3312c7"},{"fixed":"6730128b1d35eca02a2028671421471ff651f423"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"6730128b1d35eca02a2028671421471ff651f423"},{"fixed":"e34f4a4f6dc18d990d1cece2d5fceef8e934a195"}]},{"range":[{"introduced":"1.0.5"},{"fixed":"1.2.5"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_TAG","original_tag":"v1.2.5","range":[{"fixed":"9e719aa2b75eab16a404432db8bf9b71af3312c7"}]},{"range":[{"fixed":"6730128b1d35eca02a2028671421471ff651f423"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"e34f4a4f6dc18d990d1cece2d5fceef8e934a195"}]}]}}],"versions":["v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-119434.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}