{"id":"GHSA-xq4h-wqm2-668w","aliases":["GHSA-xq4h-wqm2-668w","GO-2025-4159"],"related":[],"kind":"vulnerability","state":"published","title":"Babylon's BIP322 signature implementation is not fully compliant to the spec","summary":"### 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Babylon's BIP322 signature implementation is not fully compliant to the spec in github.com/babylonlabs-io/babylon","format":"markdown","source":"go"}],"published":"2025-11-24T23:34:18.000Z","modified":"2026-03-03T04:57:42.015Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.0"}],"ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v4","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v4","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/babylonlabs-io/babylon","purl":"pkg:golang/github.com/babylonlabs-io/babylon","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v2","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v3","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v3","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.0"}],"ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v4","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v4","source":"go"}],"references":[{"url":"https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-xq4h-wqm2-668w","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/babylonlabs-io/babylon/commit/6e8bdd328a47343fcd7ad98d1b0c7267860b019a","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://bips.dev/322","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/babylonlabs-io/babylon","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xq4h-wqm2-668w","url":"https://github.com/advisories/GHSA-xq4h-wqm2-668w","licence":"CC-BY-4.0","modified":"2025-11-27T08:58:53.478Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4159","url":"https://pkg.go.dev/vuln/GO-2025-4159","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:42.015Z"}],"updatedAt":"2026-11-25T22:56:24.232Z"}