GHSA-m6wq-66p2-c8pc
HIGHBabylon 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:
- @GrumpyLaurie55348
- Published
- 8 Dec 2025
- Last modified
- 3 Mar 2026
- Weakness
- CWE-476
- Also known as
- GO-2025-4211
- Sources
- OSVJSONOSV GO-2025-4211JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/babylonlabs-io/babylon/v4 | < 4.2.0 | 4.2.0 |
| OSV | Go | github.com/babylonlabs-io/babylon/v3 | <= 3.0.0-snapshot.250805a | |
| OSV | Go | github.com/babylonlabs-io/babylon/v2 | <= 2.3.2 | |
| OSV | Go | github.com/babylonlabs-io/babylon | <= 1.1.0 | |
| OSV | Go | github.com/babylonlabs-io/babylon | all versions | |
| OSV | Go | github.com/babylonlabs-io/babylon/v2 | all versions | |
| OSV | Go | github.com/babylonlabs-io/babylon/v3 | all versions |
References
- https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-m6wq-66p2-c8pc · WEB, ADVISORY
- https://github.com/babylonlabs-io/babylon/commit/f79ad58c1d5bcab3451cb7a47c91e713935917d7 · WEB, FIX
- https://github.com/babylonlabs-io/babylon · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Dec 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Dec 2025)