VDB
Sign up
—

GO-2025-4214

Babylon Incorrect FP inactive accounting in costaking creates “phantom stake” that earns rewards after BTC unbond in github.com/babylonlabs-io/babylon

Quick fix

GO-2025-4214 — github.com/babylonlabs-io/babylon/v4: upgrade to the fixed version with the command below.

go get github.com/babylonlabs-io/babylon/v4@v4.2.0

Details

Babylon Incorrect FP inactive accounting in costaking creates “phantom stake” that earns rewards after BTC unbond in github.com/babylonlabs-io/babylon

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/babylonlabs-io/babylon
Introduced in: 0

No fixed version published yet for github.com/babylonlabs-io/babylon (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/babylonlabs-io/babylon/v2
Introduced in: 0

No fixed version published yet for github.com/babylonlabs-io/babylon/v2 (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/babylonlabs-io/babylon/v3
Introduced in: 0

No fixed version published yet for github.com/babylonlabs-io/babylon/v3 (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/babylonlabs-io/babylon/v4
Introduced in: 0Fixed in: 4.2.0
Fixgo get github.com/babylonlabs-io/babylon/v4@v4.2.0

References