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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.44% (percentile 73, 2026-11-26)
- **CWE:** CWE-668
- **Aliases:** GHSA-f92v-grc2-w2fg, GO-2022-0760
- **Published:** 2022-08-05T12:55:11.000Z
- **Modified:** 2026-06-17T04:52:33.510Z

## Who should check

- Projects that depend on Go package github.com/evmos/ethermint (\< 0.18.0)
- Projects that depend on Go package github.com/evmos/evmos (\< 7.0.0)
- Projects that depend on Go package github.com/crypto-org-chain/cronos (\< 0.7.1-rc2)
- Projects that depend on Go package github.com/Kava-Labs/kava (\< 0.18.0)
- Projects that depend on Go package github.com/evmos/evmos/v2
- Projects that depend on Go package github.com/evmos/evmos/v3
- Projects that depend on Go package github.com/evmos/evmos/v4
- Projects that depend on Go package github.com/evmos/evmos/v5

## 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.

## Affected and fixed versions

- Go `github.com/evmos/ethermint`: affected \< 0.18.0; fixed 0.18.0 (osv)
- Go `github.com/evmos/evmos`: affected \< 7.0.0; fixed 7.0.0 (osv)
- Go `github.com/crypto-org-chain/cronos`: affected \< 0.7.1-rc2; fixed 0.7.1-rc2 (osv)
- Go `github.com/Kava-Labs/kava`: affected \< 0.18.0; fixed 0.18.0 (osv)
- Go `github.com/evmos/evmos/v2`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/evmos/evmos/v3`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/evmos/evmos/v4`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/evmos/evmos/v5`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/evmos/evmos/v6`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/evmos/evmos/v7`: affected \< 7.0.0; fixed 7.0.0 (osv)
- Go `github.com/kava-labs/kava`: affected \< 0.18.0; fixed 0.18.0 (osv)
- evmos ethermint: \<= 0.17.2 (cvelist)

## Mitigation

- Upgrade github.com/evmos/ethermint to 0.18.0 or later.
- Upgrade github.com/evmos/evmos to 7.0.0 or later.
- Upgrade github.com/crypto-org-chain/cronos to 0.7.1-rc2 or later.
- Upgrade github.com/Kava-Labs/kava to 0.18.0 or later.
- Upgrade github.com/evmos/evmos/v7 to 7.0.0 or later.
- Upgrade github.com/kava-labs/kava to 0.18.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-35936. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-35936.md
Affected: github.com/evmos/ethermint < 0.18.0; github.com/evmos/evmos < 7.0.0; github.com/crypto-org-chain/cronos < 0.7.1-rc2; github.com/Kava-Labs/kava < 0.18.0; github.com/evmos/evmos/v2; github.com/evmos/evmos/v3; github.com/evmos/evmos/v4; github.com/evmos/evmos/v5; github.com/evmos/evmos/v6; github.com/…
Fixed in: 0.18.0, 7.0.0, 0.7.1-rc2

Steps:
1. Search this machine and project for github.com/evmos/ethermint (Go), github.com/evmos/evmos (Go), github.com/crypto-org-chain/cronos (Go), github.com/Kava-Labs/kava (Go), github.com/evmos/evmos/v2 (Go), github.com/evmos/evmos/v3 (Go): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-35936 being exploited?

There is no confirmed exploitation: CVE-2022-35936 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-35936?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2022-35936?

github.com/evmos/ethermint \< 0.18.0; github.com/evmos/evmos \< 7.0.0; github.com/crypto-org-chain/cronos \< 0.7.1-rc2; github.com/Kava-Labs/kava \< 0.18.0; github.com/evmos/evmos/v2; github.com/evmos/evmos/v3; github.com/evmos/evmos/v4; github.com/evmos/evmos/v5; github.com/evmos/evmos/v6; github.com/evmos/evmos/v7 \< 7.0.0; github.com/kava-labs/kava \< 0.18.0.

### Is there a fix for CVE-2022-35936?

Yes. Fixed in 0.18.0, 7.0.0, 0.7.1-rc2. Upgrade github.com/evmos/ethermint to 0.18.0 or later. Upgrade github.com/evmos/evmos to 7.0.0 or later. Upgrade github.com/crypto-org-chain/cronos to 0.7.1-rc2 or later. Upgrade github.com/Kava-Labs/kava to 0.18.0 or later. Upgrade github.com/evmos/evmos/v7 to 7.0.0 or later. Upgrade github.com/kava-labs/kava to 0.18.0 or later.

### How do I check if I'm affected by CVE-2022-35936?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/evmos/ethermint/security/advisories/GHSA-f92v-grc2-w2fg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-35936>
- patch: <https://github.com/evmos/ethermint/commit/144741832007a26dbe950512acbda4ed95b2a451>
- exploit: <https://github.com/evmos/ethermint/blob/c9d42d667b753147977a725e98ed116c933c76cb/x/evm/keeper/statedb.go#L199-L203>
- other: <https://github.com/evmos/ethermint>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-35936>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-f92v-grc2-w2fg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-0760> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-35936> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-35936>
