GitHub Advisoryadvisory · Go

GHSA-56j4-446m-qrf6 Babylon vulnerable to chain half when transaction has fees different than `ubbn`

HIGH Published 2025-06-30 Modified 2025-07-29 Official page ↗
Ecosystem
Go
Packages
github.com/babylonlabs-io/babylon/v2, github.com/babylonlabs-io/babylon
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Weaknesses
CWE-755
Reviewed
2025-06-30

Affected packages

• Go github.com/babylonlabs-io/babylon/v2: < 2.2.0 → fixed in 2.2.0 • Go github.com/babylonlabs-io/babylon: <= 1.1.0 (no fix yet)

Description

Summary Sending transactions with fees different than native Babylon genesis denom (`ubbn`) leads to chain halt. Impact Denial of Service - Due to panic in the `x/distribution` module `BeginBlocker` triggered by a error when sending fees from `feeCollector` to `x/distribution` module - https://github.com/cosmos/cosmos-sdk/blob/main/x/distribution/keeper/allocation.go#L28 Babylon Genesis will halt

Related

Weakness · CWE (1)

  • CWE-755 Improper Handling of Exceptional Conditions weakness

References