Vulnerability · Published Dec 19, 2025 · Assigned by VulDB
CVE-2025-14957WebAssembly Binaryen IRBuilder wasm-ir-builder.cpp makeLocalTee null pointer dereference
Low 3.3
In plain English
A low-severity null pointer dereference in Binaryen from WebAssembly. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | binaryen | 129-r0 | ALPINE-CVE-2025-14957 |
| Debian:12 | binaryen | no fix listed | DEBIAN-CVE-2025-14957 |
| Debian:13 | binaryen | no fix listed | DEBIAN-CVE-2025-14957 |
| Debian:14 | binaryen | 130-2 | DEBIAN-CVE-2025-14957 |
| Ubuntu:22.04:LTS | binaryen | no fix listed | UBUNTU-CVE-2025-14957 |
| Ubuntu:24.04:LTS | binaryen | no fix listed | UBUNTU-CVE-2025-14957 |
| Ubuntu:25.10 | binaryen | no fix listed | UBUNTU-CVE-2025-14957 |
| Ubuntu:26.04:LTS | binaryen | no fix listed | UBUNTU-CVE-2025-14957 |
| Ubuntu:26.10 | binaryen | no fix listed | UBUNTU-CVE-2025-14957 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WebAssembly | Binaryen | 125 |
Weakness: CWE-476, CWE-404 · Vector: 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
References
- VDB-337593 | WebAssembly Binaryen IRBuilder wasm-ir-builder.cpp makeLocalTee null pointer dereference vdb-entry, technical-description
- VDB-337593 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #717317 | WebAssembly binaryen e7706b3 Memory Corruption third-party-advisory
- Submit #717319 | WebAssembly binaryen e7706b3 Memory Corruption (Duplicate) third-party-advisory
- https://github.com/WebAssembly/binaryen/issues/8090 issue-tracking
- https://github.com/WebAssembly/binaryen/pull/8099 issue-tracking
- https://github.com/oneafter/1204/blob/main/af1 exploit
- https://github.com/WebAssembly/binaryen/commit/6fb2b917a79578ab44cf3b900a6da4c27251e0d4 patch
- https://github.com/WebAssembly/binaryen/ product