# CVE-2025-14957: WebAssembly Binaryen IRBuilder wasm-ir-builder.cpp makeLocalTee null pointer dereference

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 12% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-12-19T17:02:16.843Z
- Modified: 2026-06-17T08:36:50.333Z
- Weaknesses: CWE-404, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- WebAssembly Binaryen: 125; up to 125

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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: CVSS:3.1 3.3 Low `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: CVSS:3.0 3.3 Low `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: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/WebAssembly/binaryen/issues/8090> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/oneafter/1204/blob/main/af1> (exploit, not-applicable)
- <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/pull/8099> (issue-tracking)
- <https://github.com/WebAssembly/binaryen/commit/6fb2b917a79578ab44cf3b900a6da4c27251e0d4> (patch)
- <https://github.com/WebAssembly/binaryen/> (product)

## Sources

- CVE List: [CVE-2025-14957](https://www.cve.org/CVERecord?id=CVE-2025-14957), CVE Terms of Use, modified 2026-02-24
- NVD: [CVE-2025-14957](https://nvd.nist.gov/vuln/detail/CVE-2025-14957), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-14957 · Whole record: https://cve.day/CVE-2025-14957.json · Rebuilt by cve.day 2026-11-25T22:59:09.749Z
