GHSA-xq4h-wqm2-668w
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 package | Versions | Reported by |
|---|---|---|
| github.com/babylonlabs-io/babylon/v4 (Go) | before 4.1.0 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/babylonlabs-io/babylon (Go) | all versions | Go Vulnerability Database |
| github.com/babylonlabs-io/babylon/v2 (Go) | all versions | Go Vulnerability Database |
| github.com/babylonlabs-io/babylon/v3 (Go) | all versions | Go 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
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-xq4h-wqm2-668w changed 2025-11-27 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4159 changed 2026-03-03 | CC-BY-4.0 |