First published: Sun Feb 10 2019(Updated: )
wasm::WasmBinaryBuilder::readUserSection in wasm-binary.cpp in Binaryen 1.38.22 triggers an attempt at excessive memory allocation, as demonstrated by wasm-merge and wasm-opt.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
WebAssembly Binaryen | <64 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Vulnerability CVE-2019-7704 is a memory allocation vulnerability in Binaryen 1.38.22's wasm::WasmBinaryBuilder::readUserSection function.
Vulnerability CVE-2019-7704 occurs due to an attempt at excessive memory allocation in wasm::WasmBinaryBuilder::readUserSection.
Vulnerability CVE-2019-7704 has a severity rating of medium (6.5).
To fix vulnerability CVE-2019-7704, update to a version of Binaryen that is newer than 1.38.22.
More information about vulnerability CVE-2019-7704 can be found at the following link: [https://github.com/WebAssembly/binaryen/issues/1866](https://github.com/WebAssembly/binaryen/issues/1866)