GO-2025-4159
MEDIUMBabylon's BIP322 signature implementation is not fully compliant to the spec
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.
- Published
- 24 Nov 2025
- Last modified
- 3 Mar 2026
- Weakness
- CWE-347
- Also known as
- GHSA-xq4h-wqm2-668w
- Sources
- OSV GHSA-xq4h-wqm2-668wJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/babylonlabs-io/babylon/v4 | < 4.1.0 | 4.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
- https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-xq4h-wqm2-668w · WEB, ADVISORY
- https://github.com/babylonlabs-io/babylon/commit/6e8bdd328a47343fcd7ad98d1b0c7267860b019a · WEB, FIX
- https://bips.dev/322 · WEB
- https://github.com/babylonlabs-io/babylon · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Nov 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Nov 2025)