NULL pointer dereference in Webassembly Binaryen
CVE-2025-14957
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 11.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Webassembly Binaryen — versions 125
Weakness classification (CWE)
References
- VDB-337593 | WebAssembly Binaryen IRBuilder wasm-ir-builder.cpp makeLocalTee null pointer dereference (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-337593 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #717317 | WebAssembly binaryen e7706b3 Memory Corruption (Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #717319 | WebAssembly binaryen e7706b3 Memory Corruption (Duplicate) (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/WebAssembly/binaryen/issues/8090 (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)
- github.com/WebAssembly/binaryen/pull/8099 (issue-tracking, Issue Tracking)
- github.com/oneafter/1204/blob/main/af1 (exploit, Not Applicable)
- github.com/WebAssembly/binaryen/commit/6fb2b917a79578ab44cf3b900a6da4c27251e0d4 (Patch, patch)
- github.com/WebAssembly/binaryen/ (product)