# GHSA-XQ4H-WQM2-668W: Babylon's BIP322 signature implementation is not fully compliant to the spec

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2025-11-24
- Modified: 2025-11-27

## Also published as

- [GO-2025-4159](https://cve.now/GO-2025-4159.md) (Go)

## Affected versions

- github.com/babylonlabs-io/babylon/v4 (Go): 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](https://bips.dev/322/).

### Impact

Non-compliant BIP-322 signatures in proof of possessions can be accepted by the chain.

## References

- https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-xq4h-wqm2-668w
- https://github.com/babylonlabs-io/babylon/commit/6e8bdd328a47343fcd7ad98d1b0c7267860b019a
- https://bips.dev/322
- https://github.com/babylonlabs-io/babylon

Page: https://cve.now/GHSA-XQ4H-WQM2-668W

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
