CVE-2024-58263
MEDIUM 5.3CVSS 3.1CosmWasm affected by arithmetic overflows
The cosmwasm-std crate before 2.0.2 for Rust allows integer overflows that cause incorrect contract calculations.
- Published
- 27 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-190
- Also known as
- GHSA-8724-5xmm-w5xqRUSTSEC-2024-0338
- Sources
- NVDJSONOSV GHSA-8724-5xmm-w5xqJSONOSV RUSTSEC-2024-0338JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cosmwasm | cosmwasm-stdcpe:2.3:a:cosmwasm:cosmwasm-std:*:*:*:*:*:rust:*:* |
>= 1.3.0, < 1.4.4 | 1.4.4 |
| NVD | cosmwasm | cosmwasm-stdcpe:2.3:a:cosmwasm:cosmwasm-std:*:*:*:*:*:rust:*:* |
>= 1.5.0, < 1.5.4 | 1.5.4 |
| NVD | cosmwasm | cosmwasm-stdcpe:2.3:a:cosmwasm:cosmwasm-std:*:*:*:*:*:rust:*:* |
>= 2.0.0, < 2.0.2 | 2.0.2 |
| OSV | crates.io | cosmwasm-std | >= 1.3.0, < 1.4.4 | 1.4.4 |
| OSV | crates.io | cosmwasm-std | >= 1.5.0, < 1.5.4 | 1.5.4 |
| OSV | crates.io | cosmwasm-std | >= 2.0.0, < 2.0.2 | 2.0.2 |
| OSV | crates.io | cosmwasm-std | >= 1.3.0, < 1.4.4; >= 1.5.0, < 1.5.4; >= 2.0.0, < 2.0.2 | 1.4.4, 1.5.4, 2.0.2 |
References
- https://crates.io/crates/cosmwasm-std · Product, PACKAGE
- https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-002.md · Exploit, Patch, Third Party Advisory, WEB, ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2024-0338.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-58263 · ADVISORY
- https://github.com/CosmWasm/cosmwasm/commit/607e7fc710fb9441096e8edbaa12879b552c8f65 · WEB
- https://github.com/CosmWasm/cosmwasm/commit/a6a639e09adc355b5f889a09141649005cb08a46 · WEB
- https://github.com/CosmWasm/cosmwasm/commit/eff79bcbe73b61178817aacf0a6449437adad6a9 · WEB
- https://github.com/CosmWasm/cosmwasm · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 27 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Apr 2024)