CVE-2026-12860
8.7high
RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path
- Severity
- 8.7high CVSS:4.0 by bcorg
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- bcorg
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
| Product or package | Versions | Reported by |
|---|---|---|
| bcprov | before 1.85 | CVE List |
| bcprov-lts8on | from 2.73.0 before 2.73.12 | CVE List |
| bouncycastle bc-java | before 1.85 | NVD |
| bouncycastle bouncy_castle_for_java_lts | up to 2.73.11 | NVD |
All scores
| bcorg | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860 | third-party-advisory, vendor-advisory | |
| https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12860 changed 2026-08-03 | CVE Terms of Use |
| NVD | CVE-2026-12860 changed 2026-08-28 | Public domain |