Vulnerabilities · 2025 · Webassembly
CVE-2025-14957
Webassembly Binaryen vulnerability
A vulnerability was identified in WebAssembly Binaryen up to 125. This affects the function IRBuilder::makeLocalGet/IRBuilder::makeLocalSet/IRBuilder::makeLocalTee of the file src/wasm/wasm-ir-builder.cpp of the component IRBuilder. Such manipulation of the argument Index leads to null pointer dereference. Local access is required to approach this attack. The exploit is publicly available and might be used. The name of the patch is 6fb2b917a79578ab44cf3b900a6da4c27251e0d4. Applying a patch is advised to resolve this issue.
Affected products
Binaryen. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Webassembly Binaryen runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/WebAssembly/binaryen/commit/6fb2b917a79578ab44cf3b900a6da4c27251e0d4 · Patch
- github.com/WebAssembly/binaryen/issues/8090 · Exploit
- vuldb.com/?id.337593 · Third Party Advisory
- vuldb.com/?submit.717317 · Third Party Advisory
- vuldb.com/?submit.717319 · Third Party Advisory
- github.com/WebAssembly/binaryen/pull/8099
- github.com/oneafter/1204/blob/main/af1
- vuldb.com/?ctiid.337593
- nvd.nist.gov/vuln/detail/CVE-2025-14957
- cve.org/CVERecord?id=CVE-2025-14957
More vulnerabilities in Webassembly products
CVE-2025-15412CVE-2025-15411CVE-2025-14956CVE-2025-6275CVE-2025-6274CVE-2025-6273CVE-2025-3122CVE-2025-2584All 44
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.