Vulnerability · Published Dec 19, 2025 · Assigned by VulDB
CVE-2025-14956WebAssembly Binaryen wasm-binary.cpp readExport heap-based overflow
Medium 5.3
In plain English
A medium-severity heap buffer overflow 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 determined in WebAssembly Binaryen up to 125. Affected by this issue is the function WasmBinaryReader::readExport of the file src/wasm/wasm-binary.cpp. This manipulation causes heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. Patch name: 4f52bff8c4075b5630422f902dd92a0af2c9f398. It is recommended to apply a patch to fix this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | binaryen | 129-r0 | ALPINE-CVE-2025-14956 |
| Debian:12 | binaryen | no fix listed | DEBIAN-CVE-2025-14956 |
| Debian:13 | binaryen | no fix listed | DEBIAN-CVE-2025-14956 |
| Debian:14 | binaryen | 130-2 | DEBIAN-CVE-2025-14956 |
| Ubuntu:22.04:LTS | binaryen | no fix listed | UBUNTU-CVE-2025-14956 |
| Ubuntu:24.04:LTS | binaryen | no fix listed | UBUNTU-CVE-2025-14956 |
| Ubuntu:25.10 | binaryen | no fix listed | UBUNTU-CVE-2025-14956 |
| Ubuntu:26.04:LTS | binaryen | no fix listed | UBUNTU-CVE-2025-14956 |
| Ubuntu:26.10 | binaryen | no fix listed | UBUNTU-CVE-2025-14956 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WebAssembly | Binaryen | 125 |
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-337592 | WebAssembly Binaryen wasm-binary.cpp readExport heap-based overflow vdb-entry, technical-description
- VDB-337592 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #717315 | WebAssembly binaryen 9a226ac Heap-based Buffer Overflow third-party-advisory
- https://github.com/WebAssembly/binaryen/issues/8089 issue-tracking
- https://github.com/WebAssembly/binaryen/pull/8092 issue-tracking
- https://github.com/oneafter/1204/blob/main/hbf exploit
- https://github.com/WebAssembly/binaryen/commit/4f52bff8c4075b5630422f902dd92a0af2c9f398 patch
- https://github.com/WebAssembly/binaryen/ product