Skip to content

GHSA-m6wq-66p2-c8pc Babylon Nil BlockHash in BLS vote extensions triggers panics in consensus handlers

HighCVSS 8.7
Published
Updated
Exploit status
No public exploit known

Description

Summary

A vulnerability exists in Babylon’s BLS vote extension processing where a malicious active validator can submit a VoteExtension with the block_hash field omitted from the protobuf serialization. Because protobuf fields are optional, unmarshalling succeeds but leaves BlockHash as nil. Babylon then dereferences this nil pointer in consensus-critical code paths (notably VerifyVoteExtension, and also proposal-time vote verification), causing a runtime panic.

Impact

Intermittent validator crashes at epoch boundaries, which would slow down the creation of the epoch boundary block.

Finder

Vulnerability discovered by:

  • @GrumpyLaurie55348

Upgrade path

1 package: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) < 4.2.0; <= 1.1.0; <= 2.3.2; <= 3.0.0-snapshot.250805a +1 more 4.2.0 Partially fixed

Affected products

ProductAffected versionsFixed in
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) < 4.2.0 4.2.0
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) <= 3.0.0-snapshot.250805a No fix listed
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) <= 2.3.2 No fix listed
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) <= 1.1.0 No fix listed
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) All versions No fix listed

References