First published: Tue Jan 29 2019(Updated: )
A heap-based buffer over-read was discovered in wasm::WasmBinaryBuilder::processFunctions() in wasm/wasm-binary.cpp (when calling wasm::WasmBinaryBuilder::getFunctionIndexName) in Binaryen 1.38.22. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm-opt.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Webassembly Binaryen | <65 | |
<65 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-7152 is a vulnerability in the Binaryen software library that allows for a heap-based buffer over-read, potentially leading to denial-of-service.
CVE-2019-7152 has a severity rating of medium, with a CVSS score of 6.5.
CVE-2019-7152 affects Webassembly Binaryen up to version 1.38.22, potentially leading to denial-of-service due to segmentation faults caused by a crafted input.
The CVE-2019-7152 vulnerability can be exploited by providing a specifically crafted input, causing the wasm::WasmBinaryBuilder::processFunctions() function in wasm/wasm-binary.cpp to read past the end of the allocated buffer.
To mitigate the CVE-2019-7152 vulnerability, it is recommended to update Webassembly Binaryen to a version above 1.38.22.