Skip to content
OpenAdvisories
High GHSA-869w-47c6-fq8q GO-2025-3687

Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt

Published May 15, 2025 · Updated May 22, 2025 · Assigned by GHSA

Description

### Summary
Minting large amount of tokens through ibc transfer and then depositing them in validator rewards pool (via `DepositValidatorRewardsPool` message) can lead to integer overflow panic when calculating `cumulative_reward_ratio` for the validator.

This calculation happens in `x/epoching` module `EndBlocker`, thus the panic will halt the chain.

### Impact

Denial of Service - Due to panic in the `EndBlocker` Babylon Genesis will halt

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/babylonlabs-io/babylon < 1.1.0 1.1.0 GHSA-869w-47c6-fq8q
Go github.com/babylonlabs-io/babylon all versions — GO-2025-3687

References