{"id":"CVE-2026-44714","published":"2026-05-15T16:51:11Z","modified":"2026-05-16T01:13:51Z","title":"bitcoinj: ScriptExecution P2PKH/P2WPKH Verification Bypass","vendor":"bitcoinj","product":"bitcoinj","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0027,"percentile":0.19612,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/bitcoinj/bitcoinj/security/advisories/GHSA-hfcf-v2f8-x9pc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bitcoinj/bitcoinj/commit/2bc5653c41d260d840692bc554690d4d79208f9c","tags":["x_refsource_MISC"]},{"url":"https://github.com/bitcoinj/bitcoinj/commit/b575a682acf614b9ff95cacbdeb48f86c3ababe0","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":3.92},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-21","earliestUrl":"https://github.com/dntaskmehow/BABEF","repos":[{"name":"dntaskmehow/BABEF","url":"https://github.com/dntaskmehow/BABEF","stars":0,"created":"2026-10-21"}]},"first":{"date":"2026-10-21","source":"PoC-in-GitHub","url":"https://github.com/dntaskmehow/BABEF"},"provenance":"source"},"vendorSlug":"bitcoinj","affectedVersions":[{"vendor":"bitcoinj","product":"bitcoinj","versions":["< 0.17.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-16T01:13:35.307405Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.bitcoinj:bitcoinj-core","vulnerableRanges":[">=0.15, <0.17.1"],"patched":["0.17.1"],"from":["GHSA-hfcf-v2f8-x9pc"],"provenance":"source"}],"summary":{"text":"bitcoinj, a Java implementation of the Bitcoin protocol, contains a flaw in the ScriptExecution.correctlySpends() fast-path checks for standard P2PKH and native P2WPKH spends, where the signature and public key are verified but the public key is not checked against the one committed to by the output being spent. An attacker with any keypair can therefore pass bitcoinj's local verification for arbitrary P2PKH and P2WPKH outputs, requiring only network access and no authentication, user interaction, or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:25Z"},"euvd":{"id":"EUVD-2026-30571","exploited":false,"provenance":"source"}}