Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-35936

HIGH 8.2PoCEPSS 73%

Ethermint DoS through Unintended Contract Selfdestruct

Also known as GHSA-f92v-grc2-w2fg, GO-2022-0760

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.

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

Vulnerability facts

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/evmos/evmos/v7 < 7.0.0; github.com/kava-labs/kava < 0.18.0
Fixed in
0.18.0, 7.0.0, 0.7.1-rc2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 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
EPSS
1.44% chance of exploitation in 30 days (percentile 73, 2026-11-26)
CWE
CWE-668
Published
Modified

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

Package / productAffectedFixedSource
Go github.com/evmos/ethermint< 0.18.00.18.0osv
Go github.com/evmos/evmos< 7.0.07.0.0osv
Go github.com/crypto-org-chain/cronos< 0.7.1-rc20.7.1-rc2osv
Go github.com/Kava-Labs/kava< 0.18.00.18.0osv
Go github.com/evmos/evmos/v2——osv
Go github.com/evmos/evmos/v3——osv
Go github.com/evmos/evmos/v4——osv
Go github.com/evmos/evmos/v5——osv
Go github.com/evmos/evmos/v6——osv
Go github.com/evmos/evmos/v7< 7.0.07.0.0osv
Go github.com/kava-labs/kava< 0.18.00.18.0osv
evmos ethermint<= 0.17.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors