{"id":"GO-2024-3101","summary":"Excessive number of function parameters in compiled Wasm in github.com/CosmWasm/wasmvm","details":"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.","aliases":["GHSA-75qh-gg76-p2w4","RUSTSEC-2024-0366"],"modified":"2026-03-17T04:49:19.107977Z","published":"2024-12-20T20:36:46Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2024-3101","review_status":"REVIEWED"},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-75qh-gg76-p2w4"},{"type":"WEB","url":"https://forum.cosmos.network/t/high-severity-security-patch-upcoming-on-wed-10th-cwa-2023-004-brought-to-you-by-certik-and-confio/12840"},{"type":"WEB","url":"https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2024-0366.html"},{"type":"WEB","url":"https://www.certik.com/resources/blog/risk-and-security-enhancement-for-app-chains-an-in-depth-writeup-of-cwa-2023"}],"affected":[{"package":{"name":"github.com/CosmWasm/wasmvm","ecosystem":"Go","purl":"pkg:golang/github.com/CosmWasm/wasmvm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.5"},{"introduced":"1.3.0"},{"fixed":"1.3.1"},{"introduced":"1.4.0"},{"fixed":"1.4.2"},{"introduced":"1.5.0"},{"fixed":"1.5.1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-3101.json"}}],"schema_version":"1.7.5"}