Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Legion of the Bouncy Castle Inc. BC-JAVA

Default version status: unaffected

  • 0 to < 1.85affected
pkg:maven/org.bouncycastle/bcprov-jdk18on

Legion of the Bouncy Castle Inc. BC-LTS-JAVA

Default version status: unaffected

  • 2.73.0 to < 2.73.12affected
pkg:maven/org.bouncycastle/bcprov-lts8on

References