Live threats

All CVEs / Webassembly

CVE-2019-7154Webassembly Binaryen

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Jan 29, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Binaryen.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
webassemblybinaryen< 65

Official sources

References

Links published by the sources. Open them with care.