# Panic in wasmvm can slow down block production

Source: https://junglewise.ai/threats/panic-in-wasmvm-can-slow-down-block-production-e59c5f59  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-10  
License: CC BY 4.0 with a link back

Severity: info · Published 2024-12-10

Panic in wasmvm can slow down block production

Technologies: [cosmwasm-vm (crates.io)](https://junglewise.ai/threats/technologies/cosmwasm-vm), [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: [crates.io](https://junglewise.ai/threats/vendors/crates-io), [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 10 December 2024.

**Which products and versions are affected?** cosmwasm-vm (crates.io) SEMVER:introduced=2.1.0,fixed=2.1.4; github.com/CosmWasm/wasmvm (Go) SEMVER:introduced=0,fixed=1.5.5; github.com/CosmWasm/wasmvm/v2 (Go) SEMVER:introduced=2.1.0,fixed=2.1.3.

**Is there a fix for This vulnerability?** Yes. cosmwasm-vm (crates.io): upgrade to 2.1.4 or later; github.com/CosmWasm/wasmvm (Go): upgrade to 1.5.5 or later; github.com/CosmWasm/wasmvm/v2 (Go): upgrade to 2.1.3 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 cosmwasm-vm (crates.io), 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

- cosmwasm-vm (crates.io): upgrade to 2.1.4 or later

  ```sh
  cargo update -p cosmwasm-vm
  ```

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

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

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

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


## Affected products

- cosmwasm-vm (crates.io) SEMVER:introduced=2.1.0,fixed=2.1.4
- github.com/CosmWasm/wasmvm (Go) SEMVER:introduced=0,fixed=1.5.5
- github.com/CosmWasm/wasmvm/v2 (Go) SEMVER:introduced=2.1.0,fixed=2.1.3

## 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)
- [wasmvm: Malicious smart contract can crash the chain](https://junglewise.ai/threats/wasmvm-malicious-smart-contract-can-crash-the-chain-72fada42)
- [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)
