# CVE-2022-35936: Ethermint DoS through Unintended Contract Selfdestruct

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-05T12:55:11.000Z
- Modified: 2026-06-17T04:52:33.510Z
- Also known as: GHSA-f92v-grc2-w2fg, GO-2022-0760
- Weaknesses: CWE-668
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Ethermint is an Ethereum library. In Ethermint running versions before `v0.17.2`, the contract `selfdestruct` invocation permanently removes the corresponding bytecode from the internal database storage. However, due to a bug in the `DeleteAccount`function, all contracts that used the identical bytecode (i.e shared the same `CodeHash`) will also stop working once one contract invokes `selfdestruct`, even though the other contracts did not invoke the `selfdestruct` OPCODE. This vulnerability has been patched in Ethermint version v0.18.0. The patch has state machine-breaking changes for applications using Ethermint, so a coordinated upgrade procedure is required. A workaround is available. If a contract is subject to DoS due to this issue, the user can redeploy the same contract, i.e. with identical bytecode, so that the original contract's code is recovered. The new contract deployment restores the `bytecode hash -> bytecode` entry in the internal state.

(As written by CVE List.)

## Affected

- evmos ethermint: <= 0.17.2; before 0.18.0
- github.com/evmos/ethermint (Go): before 0.18.0
- github.com/evmos/evmos (Go): before 7.0.0; all versions
- github.com/crypto-org-chain/cronos (Go): before 0.7.1-rc2
- github.com/Kava-Labs/kava (Go): before 0.18.0
- github.com/evmos/evmos/v2 (Go): all versions
- github.com/evmos/evmos/v3 (Go): all versions
- github.com/evmos/evmos/v4 (Go): all versions
- github.com/evmos/evmos/v5 (Go): all versions
- github.com/evmos/evmos/v6 (Go): all versions
- github.com/evmos/evmos/v7 (Go): before 7.0.0
- kava kava: before 0.18.0
- crypto cronos: up to 0.7.0
- evmos evmos: before 7.0.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- NVD: 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`

## References

- <https://github.com/evmos/ethermint/blob/c9d42d667b753147977a725e98ed116c933c76cb/x/evm/keeper/statedb.go#L199-L203> (exploit, third-party-advisory, web)
- <https://github.com/evmos/ethermint/security/advisories/GHSA-f92v-grc2-w2fg> (advisory, third-party-advisory, web)
- <https://github.com/evmos/ethermint/commit/144741832007a26dbe950512acbda4ed95b2a451> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35936> (advisory)
- <https://github.com/evmos/ethermint> (package)

## Sources

- CVE List: [CVE-2022-35936](https://www.cve.org/CVERecord?id=CVE-2022-35936), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-f92v-grc2-w2fg](https://github.com/advisories/GHSA-f92v-grc2-w2fg), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0760](https://pkg.go.dev/vuln/GO-2022-0760), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-35936](https://nvd.nist.gov/vuln/detail/CVE-2022-35936), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-35936 · Whole record: https://cve.day/CVE-2022-35936.json · Rebuilt by cve.day 2026-11-25T22:58:13.414Z
