GHSA-xq4h-wqm2-668w
JSON

medium

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

Severity
medium CVSS:4.0 by GitHub
Published
Last changed
Also known as
GO-2025-4159

Description

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.

Affected

Product or packageVersionsReported by
github.com/babylonlabs-io/babylon/v4 (Go)before 4.1.0GitHub Advisory Database, Go Vulnerability Database
github.com/babylonlabs-io/babylon (Go)all versionsGo Vulnerability Database
github.com/babylonlabs-io/babylon/v2 (Go)all versionsGo Vulnerability Database
github.com/babylonlabs-io/babylon/v3 (Go)all versionsGo Vulnerability Database

Classification

What each source says

GitHub Advisory Database
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.

Go Vulnerability Database

Babylon's BIP322 signature implementation is not fully compliant to the spec in github.com/babylonlabs-io/babylon

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-xq4h-wqm2-668w changed 2025-11-27CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4159 changed 2026-03-03CC-BY-4.0