CVE-2019-7154

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.
References
Link Resource
https://github.com/WebAssembly/binaryen/issues/1876 Exploit Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:webassembly:binaryen:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2019-01-29 00:29

Updated : 2024-02-04 20:03


NVD link : CVE-2019-7154

Mitre link : CVE-2019-7154

CVE.ORG link : CVE-2019-7154


JSON object : View

Products Affected

webassembly

  • binaryen
CWE
CWE-787

Out-of-bounds Write