# GHSA-M6WQ-66P2-C8PC: Babylon Nil BlockHash in BLS vote extensions triggers panics in consensus handlers

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2025-12-08
- Modified: 2025-12-17

## Also published as

- [GO-2025-4211](https://cve.now/GO-2025-4211.md) (Go)

## Affected versions

- github.com/babylonlabs-io/babylon/v4 (Go): fixed in 4.2.0
- github.com/babylonlabs-io/babylon/v3 (Go): through 3.0.0-snapshot.250805a
- github.com/babylonlabs-io/babylon/v2 (Go): through 2.3.2
- github.com/babylonlabs-io/babylon (Go): through 1.1.0

## 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

## References

- https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-m6wq-66p2-c8pc
- https://github.com/babylonlabs-io/babylon/commit/f79ad58c1d5bcab3451cb7a47c91e713935917d7
- https://github.com/babylonlabs-io/babylon

Page: https://cve.now/GHSA-M6WQ-66P2-C8PC

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
