NetSight
medium5.3

CVE-2026-12860

In Bouncy Castle for Java before 1.85, RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path.

Impact

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

VendorProductAffected versions
BouncycastleBc-Java
before 1.85
BouncycastleBouncy Castle For Java Lts
through 2.73.11

Weakness classification

References