{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:chainsafe:ethermint:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.4.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "11e2f636787f453dac645b53e6b930d42bbb8711"
            }
          ],
          "repo": "https://github.com/cosmos/ethermint",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Cosmos Network Ethermint \u003c= v0.4.0 is affected by cache lifecycle inconsistency in the EVM module. The bytecode set in a FAILED transaction wrongfully remains in memory(stateObject.code) and is further written to persistent store at the Endblock stage, which may be utilized to build honeypot contracts.",
  "id": "CVE-2021-25836",
  "modified": "2026-07-08T05:39:16.540450219Z",
  "published": "2021-02-08T18:15:13.863Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/cosmos/ethermint/issues/667#issuecomment-759284303"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}