<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-19T10:54:50.279054+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-mjfq-3qr2-6g84</id>
    <title>GHSA-mjfq-3qr2-6g84 — Cosmos EVM Allows Partial Precompile State Writes</title>
    <updated>2026-10-19T10:54:50.305390+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/cosmos/evm</p>
<p>### Impact
Setting lower EVM call gas allows users to partially execute precompiles and error at specific points in the precompile code without reverting the partially written state.</p>
<p>If executed on the distribution precompile when claiming funds, it could cause funds to be transferred to a user without resetting the claimable rewards to 0. The vulnerability could also be used to cause indeterministic execution by failing at other points in the code, halting validators.</p>
<p>Any evmOS or Cosmos EVM chain using precompiles is affected.</p>
<p>### Patches
The vulnerability was patched by wrapping each precompile execution into an atomic function that reverts any partially committed state on error.</p>
<p>- [evmos/os](https://github.com/evmos/os) patch file: https://drive.google.com/file/d/1LfC0WSrQOqwTOW3qfaE6t8Jqf1PLVtS_/</p>
<p>For chains using a different file structure, you must manually apply the diff:</p>
<p>### **In `x/evm/statedb.go`:**</p>
<p>Add the following function:
```go
func (s *StateDB) RevertMultiStore(cms storetypes.CacheMultiStore, events sdk.Events) {
	s.cacheCtx = s.cacheCtx.WithMultiStore(cms)
	s.writeCache = func() {
		// rollback the events to the ones
		// on the snapshot
		s.ctx.EventManager().EmitEvents(events)
		cms.Write()
	}
}
```</p>
<p>### **In `x/evm/statedb/journal.go`:**</p>
<p>Replace the `Revert` function with the following:
```go
func (pc precompileCallChange) Revert(s *StateDB) {
	// rollback multi store from cache ctx to the previous
	// state stored in the snapshot
	s.RevertMultiS…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-mjfq-3qr2-6g84"/>
  </entry>
</feed>
