{"id":"CVE-2026-12860","aliases":["CVE-2026-12860"],"related":[],"kind":"vulnerability","state":"published","title":"RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-03T02:55:58.379Z","modified":"2026-08-28T16:35:56.580Z","severity":{"scorer":"bcorg","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"bcorg","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"1.85","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","package":"bcprov","repo":"https://github.com/bcgit/bc-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"2.73.0","fixed":"2.73.12","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","package":"bcprov-lts8on","repo":"https://github.com/bcgit/bc-lts-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.85"}],"vendor":"bouncycastle","product":"bc-java","cpe":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"2.73.11"}],"vendor":"bouncycastle","product":"bouncy_castle_for_java_lts","cpe":"cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860","tags":["third-party-advisory","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Alex Gaynor in collaboration with Claude and Anthropic Research"],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-03T15:09:44.027Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12860","url":"https://www.cve.org/CVERecord?id=CVE-2026-12860","licence":"CVE Terms of Use","modified":"2026-08-03T15:10:17.181Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12860","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12860","licence":"Public domain","modified":"2026-08-28T16:35:56.580Z"}],"updatedAt":"2026-11-25T22:59:30.841Z","epss":{"score":0.00171,"percentile":0.06796,"date":"2026-12-01T12:00:22.000Z"}}