CVE-2025-2368 Details
Description
A vulnerability was found in WebAssembly wabt 1.0.36 and classified as critical. This issue affects the function wabt::interp::(anonymous namespace)::BinaryReaderInterp::OnExport of the file wabt/src/interp/binary-reader-interp.cc of the component Malformed File Handler. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue.
A critical heap-based buffer overflow vulnerability has been identified in WebAssembly Wabt version 1.0.36. The issue arises in the function 'wabt::interp::(anonymous namespace)::BinaryReaderInterp::OnExport', located in 'wabt/src/interp/binary-reader-interp.cc' at line 693. This vulnerability is triggered when the binary reader processes certain malformed files, particularly in the first case of the switch statement, where it calls 'FuncType::Clone()'. This leads to an out-of-bounds read, causing a segmentation fault and allowing for a potential application crash.
Users are advised to update to the latest version of WebAssembly Wabt, where this vulnerability has been addressed.
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 Mar 17, 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/WebAssembly/wabt/issues/2537 | [email protected] | Issue Tracking |
| https://github.com/WebAssembly/wabt/issues/2556 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/WebAssembly/wabt/issues/2556#issue-2899598349 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/WebAssembly/wabt/pull/2541 | [email protected] | Issue Tracking |
| https://vuldb.com/?ctiid.299867 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.299867 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.515327 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [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 wabt | 1.0.36 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 6, 2026 | Initial Analysis | [email protected] |
| Mar 17, 2025 | New CVE Received | [email protected] |