{"id":"GHSA-xq4h-wqm2-668w","aliases":["GO-2025-4159"],"status":"published","title":"Babylon's BIP322 signature implementation is not fully compliant to the spec","description":"### 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.","severity":{"version":"4.0","score":6.9,"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","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-347"],"published":"2025-11-24T23:34:18Z","modified":"2026-03-03T04:57:42Z","fixes":[{"ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v4","fixed_in":["4.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v4","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.1.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/babylonlabs-io/babylon/v4","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.1.0"}]}]}],"references":[{"url":"https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-xq4h-wqm2-668w","tags":["web","advisory"]},{"url":"https://github.com/babylonlabs-io/babylon/commit/6e8bdd328a47343fcd7ad98d1b0c7267860b019a","tags":["web","fix"]},{"url":"https://bips.dev/322","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xq4h-wqm2-668w"},{"url":"https://github.com/babylonlabs-io/babylon","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-xq4h-wqm2-668w","title":"Babylon's BIP322 signature implementation is not fully compliant to the spec","description":"### 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.","status":"published","published":"2025-11-24T23:34:18Z","modified":"2025-11-24T23:34:19Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:39:10.178331Z"}],"osv":[{"id":"GHSA-xq4h-wqm2-668w","title":"Babylon's BIP322 signature implementation is not fully compliant to the spec","description":"### 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.","status":"published","published":"2025-11-24T23:34:18Z","modified":"2025-11-27T08:58:53.478261Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T15:47:00.198893Z"},{"id":"GO-2025-4159","title":"Babylon's BIP322 signature implementation is not fully compliant to the spec in github.com/babylonlabs-io/babylon","description":"Babylon's BIP322 signature implementation is not fully compliant to the spec in github.com/babylonlabs-io/babylon","status":"published","published":"2025-11-25T18:12:18Z","modified":"2026-03-03T04:57:42.015466Z","updated_at":"2026-11-02T15:47:02.011123Z"}]}}
