CWE
770
Advisory Published
Updated

CVE-2019-7704

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 SoftwareAffected VersionHow to fix
WebAssembly Binaryen<64

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is vulnerability CVE-2019-7704?

    Vulnerability CVE-2019-7704 is a memory allocation vulnerability in Binaryen 1.38.22's wasm::WasmBinaryBuilder::readUserSection function.

  • How does vulnerability CVE-2019-7704 occur?

    Vulnerability CVE-2019-7704 occurs due to an attempt at excessive memory allocation in wasm::WasmBinaryBuilder::readUserSection.

  • What is the severity of vulnerability CVE-2019-7704?

    Vulnerability CVE-2019-7704 has a severity rating of medium (6.5).

  • How can I fix vulnerability CVE-2019-7704?

    To fix vulnerability CVE-2019-7704, update to a version of Binaryen that is newer than 1.38.22.

  • Where can I find more information about vulnerability CVE-2019-7704?

    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)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203