{"id":"GHSA-xq4h-wqm2-668w","summary":"Babylon's BIP322 signature implementation is not fully compliant to the spec","details":"### Summary\n\nThe 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/).\n\n### Impact\n\nNon-compliant BIP-322 signatures in proof of possessions can be accepted by the chain.","aliases":["GO-2025-4159"],"modified":"2025-11-27T08:58:53.478261Z","published":"2025-11-24T23:34:18Z","database_specific":{"cwe_ids":["CWE-347"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-11-24T23:34:18Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-xq4h-wqm2-668w"},{"type":"WEB","url":"https://github.com/babylonlabs-io/babylon/commit/6e8bdd328a47343fcd7ad98d1b0c7267860b019a"},{"type":"WEB","url":"https://bips.dev/322"},{"type":"PACKAGE","url":"https://github.com/babylonlabs-io/babylon"}],"affected":[{"package":{"name":"github.com/babylonlabs-io/babylon/v4","ecosystem":"Go","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v4"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-xq4h-wqm2-668w/GHSA-xq4h-wqm2-668w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}