WebAssembly Binaryen IRBuilder wasm-ir-builder.cpp makeLocalTee null pointer dereference
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-404.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| WebAssembly | Binaryen | 125 | — | No fix listed | CNA |
- Binaryen VendorWebAssembly Affected 125 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:webassembly:binaryen:*:*:*:*:*:*:*:* | up to 125 | Vulnerable | WebAssembly |
- cpe:2.3:a:webassembly:binaryen:*:*:*:*:*:*:*:* Versions up to 125 Vulnerable ·WebAssembly
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-14957
- 2026-10-03 Alias added: GHSA-3h23-rfwm-gcx3
References
More WebAssembly Binaryen vulnerabilities
- TI-2020-13374 Heap-buffer-overflow in /src/wasm/wasm-binary.cpp in… CVSS 3.1MEDIUM 6.5
- TI-2020-13373 A NULL pointer dereference was discovered in SExpressionWasmBuilder::makeBlock in… CVSS 3.1MEDIUM 6.5
- TI-2026-07277 WebAssembly Binaryen BrOn wasm-ir-builder.cpp makeBrOn assertion CVSS 4.0MEDIUM 4.8
- TI-2021-20472 A Denial of Service vulnerability exits in Binaryen 103 due to an assertion abort in wasm::handle_unreachable. CVSS 3.1HIGH 7.5
- TI-2019-05428 In Binaryen 1.38.22, there is a use-after-free problem in… CVSS 3.1MEDIUM 6.5
- TI-2019-05400 An assertion failure was discovered in wasm::WasmBinaryBuilder::getType() in… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2025-14957 · CVE Program
- CVE-2025-14957 · NVD
- FIRST EPSS
- GHSA-3h23-rfwm-gcx3 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-14957 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences