{"id":"GHSA-869w-47c6-fq8q","aliases":["GO-2025-3687"],"status":"published","title":"Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt","description":"### Summary\nMinting 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.\n\nThis calculation happens in `x/epoching` module `EndBlocker`, thus the panic will halt the chain.\n\n### Impact\n\nDenial of Service - Due to panic in the `EndBlocker` Babylon Genesis will halt","severity":{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190","CWE-770"],"published":"2025-05-15T14:05:50Z","modified":"2026-03-03T04:56:35Z","fixes":[{"ecosystem":"Go","package":"github.com/babylonlabs-io/babylon","fixed_in":["1.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"references":[{"url":"https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-869w-47c6-fq8q","tags":["web","advisory"]},{"url":"https://github.com/babylonlabs-io/babylon/commit/f0a29d60f206268b56992fa50f38a48077eb4f59","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3687","tags":["web"]},{"url":"https://github.com/advisories/GHSA-869w-47c6-fq8q"},{"url":"https://github.com/babylonlabs-io/babylon","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-869w-47c6-fq8q","title":"Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt","description":"### Summary\nMinting 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.\n\nThis calculation happens in `x/epoching` module `EndBlocker`, thus the panic will halt the chain.\n\n### Impact\n\nDenial of Service - Due to panic in the `EndBlocker` Babylon Genesis will halt","status":"published","published":"2025-05-15T14:05:50Z","modified":"2025-05-22T14:57:31Z","cvss":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-190","CWE-770"],"updated_at":"2026-11-02T14:38:43.998596Z"}],"osv":[{"id":"GHSA-869w-47c6-fq8q","title":"Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt","description":"### Summary\nMinting 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.\n\nThis calculation happens in `x/epoching` module `EndBlocker`, thus the panic will halt the chain.\n\n### Impact\n\nDenial of Service - Due to panic in the `EndBlocker` Babylon Genesis will halt","status":"published","published":"2025-05-15T14:05:50Z","modified":"2025-05-22T14:57:31Z","cvss":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-190","CWE-770"],"updated_at":"2026-11-02T15:46:42.077781Z"},{"id":"GO-2025-3687","title":"Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt in github.com/babylonlabs-io/babylon","description":"Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt in github.com/babylonlabs-io/babylon","status":"published","published":"2025-05-15T20:00:12Z","modified":"2026-03-03T04:56:35.731844Z","updated_at":"2026-11-02T15:47:01.728182Z"}]}}
