{"id":"CVE-2026-44714","summary":"bitcoinj: ScriptExecution P2PKH/P2WPKH Verification Bypass","details":"The bitcoinj library is a Java implementation of the Bitcoin protocol. Prior to 0.17.1, ScriptExecution.correctlySpends() contains two fast-path verification bugs for standard P2PKH and native P2WPKH spends in core/src/main/java/org/bitcoinj/script/ScriptExecution.java. In both branches, bitcoinj verifies an attacker-controlled signature/public-key pair but fails to verify that the public key is the one committed to by the output being spent. As a result, any attacker keypair can satisfy bitcoinj's local verification for arbitrary P2PKH and P2WPKH outputs. This vulnerability is fixed in 0.17.1.","aliases":["GHSA-hfcf-v2f8-x9pc"],"modified":"2026-07-08T08:14:56.949595124Z","published":"2026-05-15T16:51:11.865Z","database_specific":{"cwe_ids":["CWE-347"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44714.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44714.json"},{"type":"ADVISORY","url":"https://github.com/bitcoinj/bitcoinj/security/advisories/GHSA-hfcf-v2f8-x9pc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44714"},{"type":"FIX","url":"https://github.com/bitcoinj/bitcoinj/commit/2bc5653c41d260d840692bc554690d4d79208f9c"},{"type":"FIX","url":"https://github.com/bitcoinj/bitcoinj/commit/b575a682acf614b9ff95cacbdeb48f86c3ababe0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bitcoinj/bitcoinj","events":[{"introduced":"0"},{"fixed":"2bc5653c41d260d840692bc554690d4d79208f9c"},{"fixed":"b575a682acf614b9ff95cacbdeb48f86c3ababe0"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.17.1"}]}}],"versions":["v0.17","v0.17-rc3","v0.17-rc2","v0.17-rc1","v0.17-beta1","v0.17-alpha5","v0.17-alpha4","v0.17-alpha3","v0.17-alpha2","v0.17-alpha1","v0.12"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44714.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}