Vulnerabilities > CVE-2019-7154 - Out-of-bounds Write vulnerability in Webassembly Binaryen

047910
CVSS 6.5 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
HIGH
network
low complexity
webassembly
CWE-787

Summary

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 Configurations

Part Description Count
Application
Webassembly
154

Common Weakness Enumeration (CWE)