CVE-2025-14956
WebAssembly Binaryen wasm-binary.cpp readExport heap-based overflow
- State
- Published
- Severity
- 4.8 Medium
- Published
- Dec 19, 2025
- Updated
- Feb 24, 2026
- Reserved
- Dec 19, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.3 Medium | 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 | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
BinaryenWebAssembly |
|
References
- VDB-337592 | WebAssembly Binaryen wasm-binary.cpp readExport heap-based overflowvdb-entrytechnical-description
- VDB-337592 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #717315 | WebAssembly binaryen 9a226ac Heap-based Buffer Overflowthird-party-advisory
- https://github.com/WebAssembly/binaryen/issues/8089issue-tracking
- https://github.com/WebAssembly/binaryen/pull/8092issue-tracking
- https://github.com/oneafter/1204/blob/main/hbfexploit
- https://github.com/WebAssembly/binaryen/commit/4f52bff8c4075b5630422f902dd92a0af2c9f398patch
- https://github.com/WebAssembly/binaryen/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.