{"cve":"CVE-2024-32644","nvd":{"published":"2024-04-19T15:15:50.960","modified":"2026-06-17T07:30:01.047","status":"Analyzed","description":"Evmos is a scalable, high-throughput Proof-of-Stake EVM blockchain that is fully compatible and interoperable with Ethereum. Prior to 17.0.0, there is a way to mint arbitrary tokens due to the possibility to have two different states not in sync during the execution of a transaction. The exploit is based on the fact that to sync the Cosmos SDK state and the EVM one, we rely on the `stateDB.Commit()` method. When we call this method, we iterate though all the `dirtyStorage` and, **if and only if** it is different than the `originStorage`, we set the new state. Setting the new state means we update the Cosmos SDK KVStore.  If a contract storage state that is the same before and after a transaction, but is changed during the transaction and can call an external contract after the change, it can be exploited to make the transaction similar to non-atomic. The vulnerability is **critical** since this could lead to drain of funds through creative SC interactions.  The issue has been patched in versions >=V17.0.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1},"cwes":["CWE-662"],"references":["https://github.com/evmos/evmos/blob/b196a522ba4951890b40992e9f97aa610f8b5f9c/x/evm/statedb/statedb.go#L460-L465","https://github.com/evmos/evmos/commit/08982b5ee726b97bc50eaf58d1914829648b6a5f","https://github.com/evmos/evmos/security/advisories/GHSA-3fp5-2xwh-fxm6","https://github.com/evmos/evmos/blob/b196a522ba4951890b40992e9f97aa610f8b5f9c/x/evm/statedb/statedb.go#L460-L465","https://github.com/evmos/evmos/commit/08982b5ee726b97bc50eaf58d1914829648b6a5f"],"products":["evmos:evmos"],"source":"nvd","synced_at":"2026-10-19T21:49:08.435428910+00:00"},"epss":{"cve":"CVE-2024-32644","score":0.00943,"percentile":0.61051,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-3fp5-2xwh-fxm6","url":"https://osv.dev/vulnerability/GHSA-3fp5-2xwh-fxm6","summary":"Evmos transaction execution not accounting for all state transition after interaction with precompiles","modified":"2026-09-10T03:50:10.906001718Z","packages":[{"ecosystem":"Go","name":"github.com/evmos/evmos/v16","purl":"pkg:golang/github.com/evmos/evmos/v16","ranges":["<17.0.0"],"fixed":["17.0.0"]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v7","purl":"pkg:golang/github.com/evmos/evmos/v7","ranges":["<=7.0.0"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v6","purl":"pkg:golang/github.com/evmos/evmos/v6","ranges":["<=6.0.4"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v5","purl":"pkg:golang/github.com/evmos/evmos/v5","ranges":["<=5.0.0"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos","purl":"pkg:golang/github.com/tharsis/evmos","ranges":["<=1.1.3"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos/v2","purl":"pkg:golang/github.com/tharsis/evmos/v2","ranges":["<=2.0.2"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos/v3","purl":"pkg:golang/github.com/tharsis/evmos/v3","ranges":["<=3.0.3"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos/v4","purl":"pkg:golang/github.com/tharsis/evmos/v4","ranges":["<=4.0.2"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos/v5","purl":"pkg:golang/github.com/tharsis/evmos/v5","ranges":["<=5.0.1"],"fixed":[]}]},{"id":"GO-2024-2715","url":"https://osv.dev/vulnerability/GO-2024-2715","summary":"Evmos transaction execution not accounting for all state transition after interaction with precompiles in github.com/evmos/evmos","modified":"2026-03-03T04:51:46.741224Z","packages":[{"ecosystem":"Go","name":"github.com/evmos/evmos","purl":"pkg:golang/github.com/evmos/evmos","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v2","purl":"pkg:golang/github.com/evmos/evmos/v2","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v3","purl":"pkg:golang/github.com/evmos/evmos/v3","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v4","purl":"pkg:golang/github.com/evmos/evmos/v4","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v5","purl":"pkg:golang/github.com/evmos/evmos/v5","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v6","purl":"pkg:golang/github.com/evmos/evmos/v6","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v7","purl":"pkg:golang/github.com/evmos/evmos/v7","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v8","purl":"pkg:golang/github.com/evmos/evmos/v8","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v9","purl":"pkg:golang/github.com/evmos/evmos/v9","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v10","purl":"pkg:golang/github.com/evmos/evmos/v10","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v11","purl":"pkg:golang/github.com/evmos/evmos/v11","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v12","purl":"pkg:golang/github.com/evmos/evmos/v12","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v13","purl":"pkg:golang/github.com/evmos/evmos/v13","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v14","purl":"pkg:golang/github.com/evmos/evmos/v14","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v15","purl":"pkg:golang/github.com/evmos/evmos/v15","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v16","purl":"pkg:golang/github.com/evmos/evmos/v16","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/evmos/evmos/v17","purl":"pkg:golang/github.com/evmos/evmos/v17","ranges":["<17.0.0"],"fixed":["17.0.0"]},{"ecosystem":"Go","name":"github.com/tharsis/evmos","purl":"pkg:golang/github.com/tharsis/evmos","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos/v2","purl":"pkg:golang/github.com/tharsis/evmos/v2","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos/v3","purl":"pkg:golang/github.com/tharsis/evmos/v3","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos/v4","purl":"pkg:golang/github.com/tharsis/evmos/v4","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/tharsis/evmos/v5","purl":"pkg:golang/github.com/tharsis/evmos/v5","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}