CVE-2019-7154
Last modified
CVE-2019-7154 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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 estimates a 1.12% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Webassembly | Binaryen | < 65 |
References
- https://github.com/WebAssembly/binaryen/issues/1876Exploit, Patch, Third Party Advisory
- https://github.com/WebAssembly/binaryen/issues/1876Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-7154?
How severe is CVE-2019-7154?
How do I fix CVE-2019-7154?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-7148An attempted excessive memory allocation was discovered in t…
- CVE-2019-7149A heap-based buffer over-read was discovered in the function…
- CVE-2019-7150An issue was discovered in elfutils 0.175. A segmentation fa…5.5
- CVE-2019-7151A NULL pointer dereference was discovered in wasm::Module::g…6.5
- CVE-2019-7152A heap-based buffer over-read was discovered in wasm::WasmBi…6.5
- CVE-2019-7153A NULL pointer dereference was discovered in wasm::WasmBinar…6.5
- CVE-2019-7155An issue was discovered in GitLab Community and Enterprise E…
- CVE-2019-7156In libdoc through 2019-01-28, calcFileBlockOffset in ole.c a…
- CVE-2019-7158OX App Suite 7.10.0 and earlier has Incorrect Access Control…
- CVE-2019-7159OX App Suite 7.10.1 and earlier allows Information Exposure.
- CVE-2019-7160idreamsoft iCMS 7.0.13 allows admincp.php?app=files ../ Dire…
- CVE-2019-7161An issue was discovered in Zoho ManageEngine ADSelfService P…
Are you affected by CVE-2019-7154?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
