Advisory

GHSA-m6wq-66p2-c8pc

Also known as: GO-2025-4211

Summary

Babylon Nil BlockHash in BLS vote extensions triggers panics in consensus handlers

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-12-08 22:20 UTC
Modified
2025-12-17 01:20 UTC

Affected packages and fixes

github.com/babylonlabs-io/babylon/v4

Go · All systems

Affected

  • introduced 0, fixed 4.2.0 (semver)

Fixed versions

4.2.0

Fix

github.com/babylonlabs-io/babylon/v3

Go · All systems

Affected

  • introduced 0, last affected 3.0.0-snapshot.250805a (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/babylonlabs-io/babylon/v2

Go · All systems

Affected

  • introduced 0, last affected 2.3.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/babylonlabs-io/babylon

Go · All systems

Affected

  • introduced 0, last affected 1.1.0 (semver)

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences