6.5
CVE-2019-7154
- EPSS 0.43%
 - Published 29.01.2019 00:29:00
 - Last modified 21.11.2024 04:47:40
 - Source cve@mitre.org
 - CVE-Watchlists
 - Open
 
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.
Data is provided by the National Vulnerability Database (NVD)
	Webassembly ≫ Binaryen  Version < 65
| Type | Source | Score | Percentile | 
|---|---|---|---|
| EPSS | FIRST.org | 0.43% | 0.614 | 
| Source | Base Score | Exploit Score | Impact Score | Vector string | 
|---|---|---|---|---|
| nvd@nist.gov | 6.5 | 2.8 | 3.6 | 
                 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H  
             | 
        
| nvd@nist.gov | 4.3 | 8.6 | 2.9 | 
                 AV:N/AC:M/Au:N/C:N/I:N/A:P  
             | 
        
CWE-787 Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.