Incorrect contract calculations via wrapping arithmetic
Published Jul 27, 2025 · Updated Jul 28, 2025
Integer overflow in affected releases of CosmWasm cosmwasm-std allows attackers to produce incorrect smart-contract calculations. The Uint256, Uint512, Int256, and Int512 pow operations and signed negation wrap oversized values instead of panicking; 64-bit and 128-bit variants do the same when overflow-checks is not enabled. Exploitation requires a contract to invoke an affected operation with an overflowing value, after which contract state or transaction logic can use the incorrect result.
Summary
What happened
Integer overflow in affected releases of CosmWasm cosmwasm-std allows attackers to produce incorrect smart-contract calculations. The Uint256, Uint512, Int256, and Int512 pow operations and signed negation wrap oversized values instead of panicking; 64-bit and 128-bit variants do the same when overflow-checks is not enabled. Exploitation requires a contract to invoke an affected operation with an overflowing value, after which contract state or transaction logic can use the incorrect result.
The record
- CVE
- CVE-2024-58263
- Published
- Jul 27, 2025
- Updated
- Jul 28, 2025
- Vendor
- CosmWasm
- Product
- cosmwasm-std
- Classifications
- CWE-190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 27, 2025CVE publishedPublication date reported by the CVE source.
- Jul 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.3.0 <1.4.4
- Affected versionversion=1.5.0 <1.5.4
- Affected versionversion=2.0.0 <2.0.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo