CVE-2019-7154

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
29/01/2019
Last modified:
08/06/2020

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:webassembly:binaryen:*:*:*:*:*:*:*:* 65 (excluding)


References to Advisories, Solutions, and Tools