# wasmvm: Malicious smart contract can crash the chain

Source: https://junglewise.ai/threats/wasmvm-malicious-smart-contract-can-crash-the-chain-72fada42  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-02-04  
License: CC BY 4.0 with a link back

Severity: info · Published 2025-02-04

wasmvm: Malicious smart contract can crash the chain

Technologies: [github.com/CosmWasm/wasmvm (Go)](https://junglewise.ai/threats/technologies/github-com-cosmwasm-wasmvm), [github.com/CosmWasm/wasmvm/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-cosmwasm-wasmvm-v2). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 4 February 2025.

**Which products and versions are affected?** github.com/CosmWasm/wasmvm (Go) SEMVER:introduced=0,fixed=1.5.8; github.com/CosmWasm/wasmvm/v2 (Go) SEMVER:introduced=2.0.0,fixed=2.0.6.

**Is there a fix for This vulnerability?** Yes. github.com/CosmWasm/wasmvm (Go): upgrade to 1.5.8 or later; github.com/CosmWasm/wasmvm/v2 (Go): upgrade to 2.0.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/CosmWasm/wasmvm (Go) or github.com/CosmWasm/wasmvm/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/CosmWasm/wasmvm (Go): upgrade to 1.5.8 or later

  ```sh
  go get github.com/CosmWasm/wasmvm@v1.5.8
  ```

- github.com/CosmWasm/wasmvm/v2 (Go): upgrade to 2.0.6 or later

  ```sh
  go get github.com/CosmWasm/wasmvm/v2@v2.0.6
  ```


## Affected products

- github.com/CosmWasm/wasmvm (Go) SEMVER:introduced=0,fixed=1.5.8
- github.com/CosmWasm/wasmvm/v2 (Go) SEMVER:introduced=2.0.0,fixed=2.0.6

## Related threats

- [GO-2025-3448 - Malicious smart contract can crash the chain in github.com/CosmWasm/wasmvm](https://junglewise.ai/threats/go-2025-3448-malicious-smart-contract-can-crash-the-chain-in-github-com-35e4e2d5)
- [GO-2025-3449 - wasmvm: Malicious smart contract can slow down block production in github.com/CosmWasm/wasmvm](https://junglewise.ai/threats/go-2025-3449-wasmvm-malicious-smart-contract-can-slow-down-block-a686e7bf)
- [wasmvm: Malicious smart contract can slow down block production](https://junglewise.ai/threats/wasmvm-malicious-smart-contract-can-slow-down-block-production-8d20164a)
- [GO-2024-3101 - Excessive number of function parameters in compiled Wasm in github.com/CosmWasm/wasmvm](https://junglewise.ai/threats/go-2024-3101-excessive-number-of-function-parameters-in-compiled-wasm-0618bf32)
- [CosmWasm VM Incorrect metering](https://junglewise.ai/threats/cosmwasm-vm-incorrect-metering-8b9d6f46)
