CVE-2025-3122 WebAssembly wabt binary-reader-interp.cc BeginFunctionBody null pointer dereference

Low 2.3 Published Updated

A remote attacker can cause a denial of service in the WebAssembly wabt library via a null pointer dereference in the binary reader interpreter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-3122?

CVE-2025-3122 is a low-severity vulnerability in WebAssembly wabt, published on 2 Apr 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability classified as problematic was found in WebAssembly wabt 1.0.36. Affected by this vulnerability is the function BinaryReaderInterp::BeginFunctionBody of the file src/interp/binary-reader-interp.cc. The manipulation leads to null pointer dereference. The attack can be launched 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.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2025-3122?

1 open source package ship an affected version, including wabt-bin. It affects 1 product.

PackageAffectedFixed in
wabt-bin PyPIAll versions to 1.0.36None

Products include Webassembly Webassembly Binary Toolkit.

How do I fix CVE-2025-3122?

No fix has been published for CVE-2025-3122 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-3122 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3122 exists.

Sources

Also known as DEBIAN-CVE-2025-3122, GHSA-8cmg-37qm-wxhr, PYSEC-2025-229, UBUNTU-CVE-2025-3122.

Is CVE-2025-3122 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free