CVE-2019-7154: Webassembly Binaryen

Medium severity, CVSS 6.5. EPSS: 1.1% chance of exploitation in the next 30 days.

The main function in tools/wasm2js.cpp in Binaryen 1.38.22 has a heap-based buffer overflow because Emscripten is misused, triggering an error in cashew::JSPrinter::printAst() in emscripten-optimizer/simple_ast.h. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm2js.

Affected products

Published 2019-01-29. Last modified 2026-06-17.