# GHSA-m3rh-cvr5-x6q4: CosmWasm wasmd has large address count in ValidateBasic

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:H/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-08T16:36:26.000Z
- Modified: 2026-07-06T16:31:30.634Z
- Also known as: GO-2024-3059
- Weaknesses: CWE-400

## Description

**Component:** wasmd
**Criticality:** Low ([ACMv1](https://github.com/interchainio/security/blob/main/resources/CLASSIFICATION_MATRIX.md): I:Moderate; L:Unlikely)
**Patched versions:** wasmd 0.52.0

In multiple wasmd message types it was possible to add a large number of addresses which might lead to unexpected resource consumption in ValidateBasic.

See [CWA-2024-003](https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-003.md) for more details.

(As written by GitHub Advisory Database.)

## Affected

- github.com/CosmWasm/wasmd (Go): before 0.52.0

## Every score

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

## References

- <https://github.com/CosmWasm/wasmd/security/advisories/GHSA-m3rh-cvr5-x6q4> (advisory, web)
- <https://github.com/CosmWasm/wasmd/commit/76c0c061c9cb6b142163883e46c26d99384dc443> (fix, web)
- <https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-003.md> (web)
- <https://github.com/CosmWasm/wasmd> (package)

## Sources

- GitHub Advisory Database: [GHSA-m3rh-cvr5-x6q4](https://github.com/advisories/GHSA-m3rh-cvr5-x6q4), CC-BY-4.0, modified 2026-07-06
- Go Vulnerability Database: [GO-2024-3059](https://pkg.go.dev/vuln/GO-2024-3059), CC-BY-4.0, modified 2026-03-03

---

Page: https://cve.day/GHSA-m3rh-cvr5-x6q4 · Whole record: https://cve.day/GHSA-m3rh-cvr5-x6q4.json · Rebuilt by cve.day 2026-11-25T22:56:23.820Z
