Advisory

GHSA-869w-47c6-fq8q

Also known as: GO-2025-3687

Summary

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

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-05-15 14:05 UTC
Modified
2025-05-22 14:57 UTC

Affected packages and fixes

github.com/babylonlabs-io/babylon

Go · All systems

Affected

  • introduced 0, fixed 1.1.0 (semver)

Fixed versions

1.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences