CVE-2025-14956 Details
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.
A heap-based buffer overflow vulnerability has been identified in WebAssembly Binaryen versions up to 125. The issue arises in the WasmBinaryReader::readExport function within the file src/wasm/wasm-binary.cpp. This vulnerability allows for a heap overflow condition, where the parser reads beyond the end of the input buffer while processing data segments, leading to a crash. The vulnerability requires local access to exploit and has been publicly disclosed along with a proof-of-concept exploit.
Users are advised to update to the version of WebAssembly Binaryen that includes the patch for this vulnerability. The patch is available in the official WebAssembly Binaryen GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/oneafter/1204/blob/main/hbf | [email protected] | Not Applicable |
| https://github.com/WebAssembly/binaryen/ | [email protected] | |
| https://github.com/WebAssembly/binaryen/commit/4f52bff8c4075b5630422f902dd92a0af2c9f398 | [email protected] | Patch |
| https://github.com/WebAssembly/binaryen/issues/8089 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/WebAssembly/binaryen/pull/8092 | [email protected] | Issue Tracking |
| https://vuldb.com/?ctiid.337592 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.337592 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.717315 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| webassembly binaryen | <= 125 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 24, 2026 | CVE Modified | [email protected] |
| Dec 30, 2025 | Initial Analysis | [email protected] |
| Dec 19, 2025 | New CVE Received | [email protected] |