# GO-2025-4159: Babylon's BIP322 signature implementation is not fully compliant to the spec in github.com/babylonlabs-io/babylon

- Database: Go
- Published: 2025-11-25
- Modified: 2026-03-03

## Also published as

- [GHSA-XQ4H-WQM2-668W](https://cve.now/GHSA-XQ4H-WQM2-668W.md) (GitHub)

## Affected versions

- github.com/babylonlabs-io/babylon (Go): all versions
- github.com/babylonlabs-io/babylon/v2 (Go): all versions
- github.com/babylonlabs-io/babylon/v3 (Go): all versions
- github.com/babylonlabs-io/babylon/v4 (Go): fixed in 4.1.0

## Description

Babylon's BIP322 signature implementation is not fully compliant to the spec in github.com/babylonlabs-io/babylon

## 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

Page: https://cve.now/GO-2025-4159

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