high
Babylon Nil BlockHash in BLS vote extensions triggers panics in consensus handlers
- Severity
- high CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- GO-2025-4211
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/babylonlabs-io/babylon/v4 (Go) | before 4.2.0 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/babylonlabs-io/babylon/v3 (Go) | up to 3.0.0-snapshot.250805a, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/babylonlabs-io/babylon/v2 (Go) | up to 2.3.2, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/babylonlabs-io/babylon (Go) | up to 1.1.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
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
Go Vulnerability Database
Babylon Nil BlockHash in BLS vote extensions triggers panics in consensus handlers in github.com/babylonlabs-io/babylon
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-m6wq-66p2-c8pc changed 2025-12-17 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4211 changed 2026-03-03 | CC-BY-4.0 |