# GO-2024-3101: Excessive number of function parameters in compiled Wasm in github.com/CosmWasm/wasmvm

- Database: Go
- Published: 2024-12-20
- Modified: 2026-03-03

## Also published as

- [GHSA-75QH-GG76-P2W4](https://cve.now/GHSA-75QH-GG76-P2W4.md) (GitHub)
- [RUSTSEC-2024-0366](https://cve.now/RUSTSEC-2024-0366.md) (RustSec)

## Affected versions

- github.com/CosmWasm/wasmvm (Go): fixed in 1.2.5; from 1.3.0, fixed in 1.3.1; from 1.4.0, fixed in 1.4.2; from 1.5.0, fixed in 1.5.1

## Description

A specifically crafted Wasm file can cause the VM to consume excessive amounts of memory when compiling a contract. This can lead to high memory usage, slowdowns, potentially a crash and can poison a lock in the VM, preventing any further interaction with contracts.

## References

- https://github.com/advisories/GHSA-75qh-gg76-p2w4
- https://forum.cosmos.network/t/high-severity-security-patch-upcoming-on-wed-10th-cwa-2023-004-brought-to-you-by-certik-and-confio/12840
- https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md
- https://rustsec.org/advisories/RUSTSEC-2024-0366.html
- https://www.certik.com/resources/blog/risk-and-security-enhancement-for-app-chains-an-in-depth-writeup-of-cwa-2023

Page: https://cve.now/GO-2024-3101

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
