VDB
CVE-2019-7154
CVE-2019-7154
PUBLISHED
CVSS 6.5 MEDIUM
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 1.12% · 63.5th percentile
Risk Scores
CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS Score
1.12%
63.5th 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 |
Timeline
- Jan 29, 2019 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 25, 2021 EPSS Score
- Dec 28, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Mar 1, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 3, 2022 EPSS Score
- Sep 6, 2022 EPSS Score
- Nov 8, 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