{"id":"CVE-2026-12860","published":"2026-08-03T02:55:58Z","modified":"2026-08-03T15:10:17Z","title":"RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path","vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","tier":"tail","description":{"text":"In Bouncy Castle for Java before 1.85, RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path. This issue also affects Bouncy Castle for Java LTS before 2.73.12.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00205,"percentile":0.0594,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396","tags":["patch"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":1.19},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","versions":["< 1.85"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","versions":[">= 2.73.0, < 2.73.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-03T15:09:44.027855Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-52138","exploited":false,"provenance":"source"}}