Buffer overflow in Webassembly Binaryen
CVE-2025-14956
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.002, 12.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Webassembly Binaryen — versions 125
Weakness classification (CWE)
References
- VDB-337592 | WebAssembly Binaryen wasm-binary.cpp readExport heap-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-337592 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #717315 | WebAssembly binaryen 9a226ac Heap-based Buffer Overflow (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/WebAssembly/binaryen/issues/8089 (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)
- github.com/WebAssembly/binaryen/pull/8092 (issue-tracking, Issue Tracking)
- github.com/oneafter/1204/blob/main/hbf (exploit, Not Applicable)
- github.com/WebAssembly/binaryen/commit/4f52bff8c4075b5630422f902dd92a0af2c9f398 (Patch, patch)
- github.com/WebAssembly/binaryen/ (product)