Advisory

GHSA-xq4h-wqm2-668w

Also known as: GO-2025-4159

Summary

Babylon's BIP322 signature implementation is not fully compliant to the spec

Details

Summary

The BIP-322 signature verification does not enforce the SIGHASH value to be SIGHASH_ALL, and therefore is not strictly following the spec.

Impact

Non-compliant BIP-322 signatures in proof of possessions can be accepted by the chain.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-11-24 23:34 UTC
Modified
2025-11-27 08:58 UTC

Affected packages and fixes

github.com/babylonlabs-io/babylon/v4

Go · All systems

Affected

  • introduced 0, fixed 4.1.0 (semver)

Fixed versions

4.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences