CVE-2026-12860

published 3 Aug 2026 · updated 3 Aug 2026

RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path

8.7HighCVSS 8.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.85 and 2.73.12.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Legion of the Bouncy Castle<1.85, >=2.73.0 <2.73.121.85, 2.73.12

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-12860 severity on Zeptric[![CVE-2026-12860](https://zeptric.io/badge/cve/CVE-2026-12860.svg)](https://zeptric.io/cve/CVE-2026-12860)