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

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-12-08T22:20:24.000Z
- Modified: 2026-03-03T04:57:45.952Z
- Also known as: GO-2025-4211
- Weaknesses: CWE-476

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

(As written by GitHub Advisory Database.)

## Affected

- github.com/babylonlabs-io/babylon/v4 (Go): before 4.2.0
- github.com/babylonlabs-io/babylon/v3 (Go): up to 3.0.0-snapshot.250805a; all versions
- github.com/babylonlabs-io/babylon/v2 (Go): up to 2.3.2; all versions
- github.com/babylonlabs-io/babylon (Go): up to 1.1.0; all versions

## References

- <https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-m6wq-66p2-c8pc> (advisory, web)
- <https://github.com/babylonlabs-io/babylon/commit/f79ad58c1d5bcab3451cb7a47c91e713935917d7> (fix, web)
- <https://github.com/babylonlabs-io/babylon> (package)

## Sources

- GitHub Advisory Database: [GHSA-m6wq-66p2-c8pc](https://github.com/advisories/GHSA-m6wq-66p2-c8pc), CC-BY-4.0, modified 2025-12-17
- Go Vulnerability Database: [GO-2025-4211](https://pkg.go.dev/vuln/GO-2025-4211), CC-BY-4.0, modified 2026-03-03

---

Page: https://cve.day/GHSA-m6wq-66p2-c8pc · Whole record: https://cve.day/GHSA-m6wq-66p2-c8pc.json · Rebuilt by cve.day 2026-11-25T22:56:24.251Z
