# GHSA-75qh-gg76-p2w4: CWA-2023-004: Excessive number of function parameters in compiled Wasm

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-08-27T12:00:00.000Z
- Modified: 2026-03-03T04:55:46.566Z
- Also known as: GO-2024-3101, RUSTSEC-2024-0366
- Weaknesses: CWE-400

## 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](https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md).

(As written by GitHub Advisory Database.)

## Affected

- 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.8
- 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.1

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

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

## Sources

- GitHub Advisory Database: [GHSA-75qh-gg76-p2w4](https://github.com/advisories/GHSA-75qh-gg76-p2w4), CC-BY-4.0, modified 2025-10-28
- Go Vulnerability Database: [GO-2024-3101](https://pkg.go.dev/vuln/GO-2024-3101), CC-BY-4.0, modified 2026-03-03
- RustSec Advisory Database: [RUSTSEC-2024-0366](https://rustsec.org/advisories/RUSTSEC-2024-0366.html), CC0-1.0, modified 2025-10-28

---

Page: https://cve.day/GHSA-75qh-gg76-p2w4 · Whole record: https://cve.day/GHSA-75qh-gg76-p2w4.json · Rebuilt by cve.day 2026-11-25T22:56:43.211Z
