github.com/babylonlabs-io/babylon/v4
Affected
- introduced
0, fixed4.2.0(semver)
Fixed versions
4.2.0
Fix
- Fixed version
4.2.0go get github.com/babylonlabs-io/babylon/[email protected]
Advisory
Also known as: GO-2025-4211
Babylon Nil BlockHash in BLS vote extensions triggers panics in consensus handlers
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:
High Basis: The source's own band: HIGH
0, fixed 4.2.0 (semver)4.2.0
4.2.0go get github.com/babylonlabs-io/babylon/[email protected]0, last affected 3.0.0-snapshot.250805a (semver)None listed
No fixed version is listed.
0, last affected 2.3.2 (semver)None listed
No fixed version is listed.
0, last affected 1.1.0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0