Intel

AIKIDO-2025-10080

github.com/cosmwasm/wasmvm is vulnerable to NULL Pointer Dereference

NULL Pointer DereferenceGHSA-23qp-3c2m-xx6w

65

Medium Risk

This Affects:

GOgithub.com/cosmwasm/wasmvm
0.10.0 - 1.5.7
Fixed in 1.5.8
2.0.0 - 2.0.5
Fixed in 2.0.6
2.1.0 - 2.1.4
Fixed in 2.1.5
2.2.0 - 2.2.1
Fixed in 2.2.2

TL;DR

Affected versions of this package are vulnerable to a null pointer dereference. This vulnerability can be exploited to crash the chain. While the underlying bug exists in both permissioned and permissionless chains, it can only be reliably triggered by deploying a malicious contract. As a result, permissioned chains —where contract deployment is more tightly controlled— are significantly less likely to be affected.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/cosmwasm/wasmvm is vulnerable to NULL Pointer Dereference in versions 0.10.0 - 1.5.7, 2.0.0 - 2.0.5, 2.1.0 - 2.1.4 and 2.2.0 - 2.2.1.

How to fix this

Upgrade the github.com/cosmwasm/wasmvm library to the patch version.