Buffer overflow in Webassembly Wabt
CVE-2025-2368
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.006, 47.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Webassembly Wabt — versions 1.0.36
Weakness classification (CWE)
References
- VDB-299867 | WebAssembly wabt Malformed File binary-reader-interp.cc OnExport heap-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-299867 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #515327 | https://github.com/WebAssembly/wabt wabt v1.0.36 Heap-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/WebAssembly/wabt/issues/2556 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/WebAssembly/wabt/issues/2537 (issue-tracking, Issue Tracking)
- github.com/WebAssembly/wabt/issues/2556 (issue-tracking, Exploit, exploit, Issue Tracking, Vendor Advisory)
- github.com/WebAssembly/wabt/pull/2541 (issue-tracking, patch, Issue Tracking)