CVE-2019-7154
published 2019-01-29CVE-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…
PriorityP426medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.12%
62.5th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | binaryen | < binaryen 66-1 (bookworm) | binaryen 66-1 (bookworm) |
| webassembly | binaryen | < 65 | 65 |
| webassembly | binaryen | >= 0 < 66-1 | 66-1 |
| webassembly | binaryen | >= 0 < 66-1 | 66-1 |
| webassembly | binaryen | >= 0 < 66-1 | 66-1 |
| webassembly | binaryen | >= 0 < 66-1 | 66-1 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-368j-92cq-wrg5: The main function in tools/wasm2js
ghsa_unreviewed·2022-05-13
CVE-2019-7154 [MEDIUM] CWE-787 GHSA-368j-92cq-wrg5: The main function in tools/wasm2js
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.
OSV
CVE-2019-7154: The main function in tools/wasm2js
osv·2019-01-29·CVSS 6.5
CVE-2019-7154 [MEDIUM] CVE-2019-7154: The main function in tools/wasm2js
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.
Debian
CVE-2019-7154: binaryen - The main function in tools/wasm2js.cpp in Binaryen 1.38.22 has a heap-based buff...
vendor_debian·2019·CVSS 6.5
CVE-2019-7154 [MEDIUM] CVE-2019-7154: binaryen - The main function in tools/wasm2js.cpp in Binaryen 1.38.22 has a heap-based buff...
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.
Scope: local
bookworm: resolved (fixed in 66-1)
bullseye: resolved (fixed in 66-1)
forky: resolved (fixed in 66-1)
sid: resolved (fixed in 66-1)
trixie: resolved (fixed in 66-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2019-01-29
Published