CVE-2025-6275 WebAssembly wabt binary-reader-interp.cc GetFuncOffset use after free
A use-after-free flaw in the wabt library allows local attackers to potentially execute arbitrary code or cause a denial of service via crafted WebAssembly binaries.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6275?
CVE-2025-6275 is a medium-severity use after free vulnerability in WebAssembly wabt, published on 19 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in WebAssembly wabt up to 1.0.37. It has been declared as problematic. Affected by this vulnerability is the function GetFuncOffset of the file src/interp/binary-reader-interp.cc. The manipulation leads to use after free. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. A similar issue reported during the same timeframe was disputed by the code maintainer because it might not affect "real world wasm programs". Therefore, this entry might get disputed as well in the future.
Which versions are affected by CVE-2025-6275?
It affects 1 product.
Products include Webassembly Wabt.
How do I fix CVE-2025-6275?
No fix has been published for CVE-2025-6275 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-6275 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6275 exists.
Other vulnerabilities in WebAssembly wabt
Sources
Also known as DEBIAN-CVE-2025-6275, GHSA-w5x9-mj5j-cp4g, UBUNTU-CVE-2025-6275.