CVE-2025-14957
4.8medium
WebAssembly Binaryen IRBuilder wasm-ir-builder.cpp makeLocalTee null pointer dereference
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.27% (higher than 12% of CVEs)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| WebAssembly Binaryen | 125, up to 125 | CVE List, NVD |
All scores
| VulDB | 4.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| VulDB | 3.3low CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| VulDB | 1.7low CVSS:2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
References
| https://vuldb.com/?id.337593 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.337593 | permissions-required, signature, vdb-entry | |
| https://vuldb.com/?submit.717317 | third-party-advisory, vdb-entry | |
| https://vuldb.com/?submit.717319 | third-party-advisory, vdb-entry | |
| https://github.com/WebAssembly/binaryen/issues/8090 | exploit, issue-tracking, third-party-advisory | |
| https://github.com/WebAssembly/binaryen/pull/8099 | issue-tracking | |
| https://github.com/oneafter/1204/blob/main/af1 | exploit, not-applicable | |
| https://github.com/WebAssembly/binaryen/commit/6fb2b917a79578ab44cf3b900a6da4c27251e0d4 | patch | |
| https://github.com/WebAssembly/binaryen/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-14957 changed 2026-02-24 | CVE Terms of Use |
| NVD | CVE-2025-14957 changed 2026-06-17 | Public domain |