CVE-2025-14957WebAssembly Binaryen IRBuilder wasm-ir-builder.cpp makeLocalTee null pointer dereference
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | binaryen | Fix pending | UBUNTU-CVE-2025-14957 | |
| Ubuntu 26.04 | binaryen | Under investigation | UBUNTU-CVE-2025-14957 | |
| Ubuntu 25.10 | binaryen | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-14957 | |
| Ubuntu 24.04 | binaryen | Under investigation | UBUNTU-CVE-2025-14957 | |
| Ubuntu 22.04 | binaryen | Under investigation | UBUNTU-CVE-2025-14957 | |
| Ubuntu 20.04 | binaryen | Fix pending | UBUNTU-CVE-2025-14957 | |
| Debian 14 | binaryen | Fixed | 130-2 | DEBIAN-CVE-2025-14957 |
| Debian 13 | binaryen | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-14957 | |
| Debian 12 | binaryen | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-14957 | |
| Alpine Linux 3.24 | binaryen | Fixed | 129-r0 | ALPINE-CVE-2025-14957 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- WebAssembly Binaryen: affected: 125
Vendor advisories:
References
- https://vuldb.com/?id.337593
- https://vuldb.com/?ctiid.337593
- https://vuldb.com/?submit.717317
- https://vuldb.com/?submit.717319
- https://github.com/WebAssembly/binaryen/issues/8090
- https://github.com/WebAssembly/binaryen/pull/8099
- https://github.com/oneafter/1204/blob/main/af1
- https://github.com/WebAssembly/binaryen/commit/6fb2b917a79578ab44cf3b900a6da4c27251e0d4
- https://github.com/WebAssembly/binaryen/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.