Vulnerability · Published Mar 17, 2025 · Assigned by VulDB
CVE-2025-2368WebAssembly wabt Malformed File binary-reader-interp.cc OnExport heap-based overflow
Medium 6.3
In plain English
A medium-severity heap buffer overflow in wabt from WebAssembly. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | wabt | no fix listed | DEBIAN-CVE-2025-2368 |
| Debian:13 | wabt | no fix listed | DEBIAN-CVE-2025-2368 |
| Debian:14 | wabt | no fix listed | DEBIAN-CVE-2025-2368 |
| PyPI | wabt-bin | no fix listed | PYSEC-2025-227 |
| Ubuntu:22.04:LTS | wabt | no fix listed | UBUNTU-CVE-2025-2368 |
| Ubuntu:24.04:LTS | wabt | no fix listed | UBUNTU-CVE-2025-2368 |
| Ubuntu:25.10 | wabt | no fix listed | UBUNTU-CVE-2025-2368 |
| Ubuntu:26.04:LTS | wabt | no fix listed | UBUNTU-CVE-2025-2368 |
| Ubuntu:26.10 | wabt | no fix listed | UBUNTU-CVE-2025-2368 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WebAssembly | wabt | 1.0.36 |
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- VDB-299867 | WebAssembly wabt Malformed File binary-reader-interp.cc OnExport heap-based overflow vdb-entry, technical-description
- VDB-299867 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #515327 | https://github.com/WebAssembly/wabt wabt v1.0.36 Heap-based Buffer Overflow third-party-advisory
- https://github.com/WebAssembly/wabt/issues/2556 issue-tracking
- https://github.com/WebAssembly/wabt/issues/2537 issue-tracking
- https://github.com/WebAssembly/wabt/issues/2556#issue-2899598349 exploit, issue-tracking
- https://github.com/WebAssembly/wabt/pull/2541 issue-tracking, patch