CVE-2025-14957 Details
Description
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.
A null pointer dereference vulnerability has been identified in WebAssembly Binaryen versions through 125. This issue arises in the IRBuilder component, specifically within the functions 'makeLocalGet', 'makeLocalSet', and 'makeLocalTee', located in 'src/wasm/wasm-ir-builder.cpp'. The vulnerability is triggered by manipulating the 'Index' argument, leading to a segmentation fault. This issue requires local access to exploit and has a public proof-of-concept available.
Users are advised to update to the latest version of WebAssembly Binaryen, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/oneafter/1204/blob/main/af1 | [email protected] | Not Applicable |
| https://github.com/WebAssembly/binaryen/ | [email protected] | |
| https://github.com/WebAssembly/binaryen/commit/6fb2b917a79578ab44cf3b900a6da4c27251e0d4 | [email protected] | Patch |
| https://github.com/WebAssembly/binaryen/issues/8090 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/WebAssembly/binaryen/pull/8099 | [email protected] | Issue Tracking |
| https://vuldb.com/?ctiid.337593 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.337593 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.717317 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.717319 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-404 | Improper Resource Shutdown or Release | [email protected] |
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| webassembly binaryen | <= 125 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 24, 2026 | CVE Modified | [email protected] |
| Dec 30, 2025 | Initial Analysis | [email protected] |
| Dec 19, 2025 | New CVE Received | [email protected] |