# GHSA-869W-47C6-FQ8Q: Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2025-05-15
- Modified: 2025-05-22

## Also published as

- [GO-2025-3687](https://cve.now/GO-2025-3687.md) (Go)

## Affected versions

- github.com/babylonlabs-io/babylon (Go): fixed in 1.1.0

## 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

## References

- https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-869w-47c6-fq8q
- https://github.com/babylonlabs-io/babylon/commit/f0a29d60f206268b56992fa50f38a48077eb4f59
- https://github.com/babylonlabs-io/babylon
- https://pkg.go.dev/vuln/GO-2025-3687

Page: https://cve.now/GHSA-869W-47C6-FQ8Q

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
