What’s Vulnerable › Vulnerabilities

CVE-2026-12860: RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path

Description

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 products

How to fix

Upgrade to a fixed version: Legion of the Bouncy Castle Inc. BC-JAVA 1.85. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-12860 or the next vulnerability affects your stack