Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cosmos/cosmos-sdk
  4. ›
  5. GHSA-p22h-3m2v-cmgh

GHSA-p22h-3m2v-cmgh: Cosmos SDK's Integer Overflow vulnerability in its Validator Rewards pool can cause a chain halt

July 8, 2025

Description Name: ISA-2025-005: Integer Overflow in Cosmos SDK Component: CosmosSDK Criticality: High (Considerable Impact; Likely Likelihood per ACMv1.2) Affected versions: <= v0.50.13, <= 0.53.2 Affected users: Validators, Full nodes, Users on chains that utilize the distribution module Cosmos SDK chains in unpatched releases that use the x/distribution module are affected.

Description An issue was discovered in the distribution module where a malicious deposit into the Validator Rewards pool would result in an integer overflow that would cause a chain halt. A malicious validator can interact with the distribution module to introduce this state.

Patches Has the problem been patched? What versions should users upgrade to?

The new Cosmos SDK release v0.50.14 and v0.53.3 fix this issue.

There are no known workarounds for this issue. It is advised that chains apply the update.

This issue was reported to the Cosmos Bug Bounty Program by myte1111111 on HackerOne on April 15, 2025. If you believe you have found a bug in the Interchain Stack or would like to contribute to the program by reporting a bug, please see https://hackerone.com/cosmos.

If you have questions about Interchain security efforts, please reach out to our official communication channel at security@interchain.io. For more information about the Interchain Foundation’s engagement with Amulet, and to sign up for security notification emails, please see https://github.com/interchainio/security.

References

  • github.com/advisories/GHSA-p22h-3m2v-cmgh
  • github.com/cosmos/cosmos-sdk
  • github.com/cosmos/cosmos-sdk/commit/c4a14fa7b6828432fdabdb8b4af68ade9403ce49
  • github.com/cosmos/cosmos-sdk/commit/f2e6295b662fdb27ea33da1296c29588ccdaab42
  • github.com/cosmos/cosmos-sdk/security/advisories/GHSA-p22h-3m2v-cmgh

Code Behaviors & Features

Detect and mitigate GHSA-p22h-3m2v-cmgh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.50.14, all versions starting from 0.52.0-alpha.1 before 0.53.3

Fixed versions

  • 0.50.14
  • 0.53.3

Solution

Upgrade to versions 0.50.14, 0.53.3 or above.

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

go/github.com/cosmos/cosmos-sdk/GHSA-p22h-3m2v-cmgh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:52 +0000.