CVE-2019-7154
Reported by mitre · Published January 29, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| binaryen | webassembly | 65 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Jan 29, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 7, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Sep 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-7154
vulnetix vdb fixes CVE-2019-7154
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-7154/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart