Vulnerability in Bouncycastle Bc-Java

CVE-2026-12860

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.

EPSS: 0.001 (3.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-12860?
CVE-2026-12860 is a medium-severity vulnerability in Bouncycastle Bc-Java, classified under Improper Verification of Cryptographic Signature. CVSS score: 5.3/10. Published 2026-08-03.
How severe is CVE-2026-12860?
Medium severity. CVSS v3 base score is 5.3 out of 10.