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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.002, 6.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/bcgit/bc-java/wiki/CVE-2026-12860 (vendor-advisory)
- github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396 (Patch, patch)
- github.com/bcgit/bc-java/wiki/CVE‐2026‐12860 (vendor-advisory, Third Party Advisory)