GHSA-rj53-j6jw-7f7g Babylon vulnerable to chain halt when a message modifies the validator set at the epoch boundary

Not scored Published

An attacker can halt the blockchain by sending a message that modifies the validator set at the epoch boundary, causing a panic.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-rj53-j6jw-7f7g?

GHSA-rj53-j6jw-7f7g is a denial of service vulnerability in github.com/babylonlabs-io/babylon, published on 8 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Summary

Sending a message that modifies the validator set at the epoch boundary halts the chain.

Impact

Denial of Service - Comos-sdk prevents modifying the validator set from two different modules - https://github.com/cosmos/cosmos-sdk/blob/release/v0.50.x/types/module/module.go#L811. Such an operation leads to panic and chain halt.

Detailed Post mortem

https://boiling-lake-106.notion.site/2025-06-18-Genesis-mainnet-chain-halt-post-mortem-229f60cc1b5f80b7adf5e3ea0541ea87

Which versions are affected by GHSA-rj53-j6jw-7f7g?

4 open source packages ship an affected version, including github.com/babylonlabs-io/babylon/v2 and github.com/babylonlabs-io/babylon.

PackageAffectedFixed in
github.com/babylonlabs-io/babylon/v2 GoFrom 2.0.02.1.0
github.com/babylonlabs-io/babylon/v2 GoFrom 2.0.02.1.0
github.com/babylonlabs-io/babylon/v2 GoFrom 2.0.02.1.0
github.com/babylonlabs-io/babylon GoAll versionsNone

How do I fix GHSA-rj53-j6jw-7f7g?

Upgrade github.com/babylonlabs-io/babylon/v2 to 2.1.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GHSA-rj53-j6jw-7f7g being exploited?

There is no known exploitation of GHSA-rj53-j6jw-7f7g in the wild and no public exploit code.

Sources

Also known as GO-2025-3801.

Is GHSA-rj53-j6jw-7f7g in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free