GHSA-xq4h-wqm2-668w json
Babylon's BIP322 signature implementation is not fully compliant to the spec
published 11mo ago modified 8mo ago also GO-2025-4159
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
### Summary
The BIP-322 signature verification does not enforce the SIGHASH value to be SIGHASH_ALL, and therefore is not strictly following the [spec](https://bips.dev/322/).
### Impact
Non-compliant BIP-322 signatures in proof of possessions can be accepted by the chain.
Patch / fix
Is GHSA-xq4h-wqm2-668w in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/babylonlabs-io/babylon/v4 | <4.1.0 |
4.1.0 |
| go | github.com/babylonlabs-io/babylon | all versions |
no fix listed |
| go | github.com/babylonlabs-io/babylon/v2 | all versions |
no fix listed |
| go | github.com/babylonlabs-io/babylon/v3 | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
Sources
- GitHub Advisory GHSA-xq4h-wqm2-668w
- OSV GO-2025-4159
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.