GitHub Advisoryadvisory · Go
GHSA-xq4h-wqm2-668w Babylon's BIP322 signature implementation is not fully compliant to the spec
MEDIUM
Official page ↗
- Ecosystem
- Go
- Packages
- github.com/babylonlabs-io/babylon/v4
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-347
- Reviewed
- 2025-11-24
Affected packages
• Go github.com/babylonlabs-io/babylon/v4: < 4.1.0 → fixed in 4.1.0
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.
Related
Weakness · CWE (1)
- CWE-347 Improper Verification of Cryptographic Signature weakness