Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. cosmossdk.io/math
  4. ›
  5. GHSA-7225-m954-23v7

GHSA-7225-m954-23v7: ASA-2024-010: cosmossdk.io/math: Mismatched bit-length validation in sdk.Int and sdk.Dec can lead to panic

November 20, 2024 (updated October 31, 2025)

Name: ASA-2024-010: Mismatched bit-length in sdk.Int and sdk.Dec can lead to panic Component: Cosmos SDK / Math Criticality: High (Considerable Impact, and Possible Likelihood per ACMv1.2) Affected versions: cosmossdk.io/math package versions <= math/v1.3.0 Affected users: Chain Builders + Maintainers, Validators

References

  • github.com/advisories/GHSA-7225-m954-23v7
  • github.com/cosmos/cosmos-sdk
  • github.com/cosmos/cosmos-sdk/commit/c6522a72a45c34897f9fc85d438c0b74d52f8862
  • github.com/cosmos/cosmos-sdk/security/advisories/GHSA-7225-m954-23v7
  • pkg.go.dev/vuln/GO-2024-3279

Code Behaviors & Features

Detect and mitigate GHSA-7225-m954-23v7 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.0

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

go/cosmossdk.io/math/GHSA-7225-m954-23v7.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:31 +0000.