Vulnerability · Published Mar 21, 2025 · Assigned by VulDB
CVE-2025-2584WebAssembly wabt binary-reader-interp.cc GetReturnCallDropKeepCount heap-based overflow
Medium 5.0
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.5% (higher than 44% of all known vulnerabilities).
Official description
A vulnerability was found in WebAssembly wabt 1.0.36. It has been declared as critical. This vulnerability affects the function BinaryReaderInterp::GetReturnCallDropKeepCount of the file wabt/src/interp/binary-reader-interp.cc. The manipulation leads to heap-based buffer overflow. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | wabt | no fix listed | DEBIAN-CVE-2025-2584 |
| Debian:13 | wabt | no fix listed | DEBIAN-CVE-2025-2584 |
| Debian:14 | wabt | no fix listed | DEBIAN-CVE-2025-2584 |
| PyPI | wabt-bin | no fix listed | PYSEC-2025-228 |
| Ubuntu:22.04:LTS | wabt | no fix listed | UBUNTU-CVE-2025-2584 |
| Ubuntu:24.04:LTS | wabt | no fix listed | UBUNTU-CVE-2025-2584 |
| Ubuntu:25.10 | wabt | no fix listed | UBUNTU-CVE-2025-2584 |
| Ubuntu:26.04:LTS | wabt | no fix listed | UBUNTU-CVE-2025-2584 |
| Ubuntu:26.10 | wabt | no fix listed | UBUNTU-CVE-2025-2584 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WebAssembly | wabt | 1.0.36 |
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- VDB-300544 | WebAssembly wabt binary-reader-interp.cc GetReturnCallDropKeepCount heap-based overflow vdb-entry, technical-description
- VDB-300544 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #515406 | https://github.com/WebAssembly/wabt wabt v1.0.36 Heap-based Buffer Overflow third-party-advisory
- https://github.com/WebAssembly/wabt/issues/2557 issue-tracking
- https://github.com/WebAssembly/wabt/issues/2557#issue-2900405517 exploit, issue-tracking