Security mailing lists by PureSourceCode

GHSA-m6wq-66p2-c8pc

HIGH

Babylon 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed 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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.