GHSA-75qh-gg76-p2w4
JSON

medium

CWA-2023-004: Excessive number of function parameters in compiled Wasm

Severity
medium CVSS:4.0 by GitHub
Published
Last changed
Also known as
GO-2024-3101RUSTSEC-2024-0366

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.

For more information, see CWA-2023-004.

Affected

Product or packageVersionsReported by
cosmwasm-vm (crates.io)before 1.2.8, from 1.3.0 before 1.3.4, from 1.4.0 before 1.4.2, from 1.5.0 before 1.5.1, from 0.0.0-0 before 1.2.8GitHub Advisory Database, RustSec Advisory Database
github.com/CosmWasm/wasmvm (Go)before 1.2.5, from 1.3.0 before 1.3.1, from 1.4.0 before 1.4.2, from 1.5.0 before 1.5.1GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Classification

What each source says

GitHub Advisory Database

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.

For more information, see CWA-2023-004.

Go Vulnerability Database

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

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-75qh-gg76-p2w4 changed 2025-10-28CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3101 changed 2026-03-03CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2024-0366 changed 2025-10-28CC0-1.0