VDB
CVE-2019-7154
CVE-2019-7154
PUBLISHED
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.
EPSS 0.43% · 62.7th percentile
Risk Scores
EPSS Score
0.43%
62.7th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | binaryen | 89-1, 91-1, 90-1 |
| Ubuntu:22.04:LTS | binaryen | 105-1, 99-3, 0 |
| Ubuntu:25.10 | binaryen | 120-3, 0, 120-4 |
| Ubuntu:24.04:LTS | binaryen | 0, 108-1 |
Exploit Intelligence
Timeline
- Jan 29, 2019 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2019-7154 third-party-advisory
- https://github.com/WebAssembly/binaryen/issues/1876 third-party-advisory
- https://github.com/WebAssembly/binaryen/commit/79a4fbc80d7ffce4cbcfd04315ce3a0efa88d7fa third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2019-7154 third-party-advisory