CVE-2026-12860: RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path
Vulnerability summary
CVE-2026-12860 is a high (CVSS 8.7) vulnerability in bouncycastle bc-java. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.7% of scored vulnerabilities.
Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 03-08-2026PublishedVulnerability first disclosed.
- 03-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS: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
- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS: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
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.17% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Bouncycastle2 products
- bc-java< 1.85
- bouncy_castle_for_java_lts≤ 2.73.11
Legion of the bouncy castle inc.2 products
- bc-java< 1.85
- bc-lts-java≥ 2.73.0, < 2.73.12
Chainguard1 product
- pinotAll versions (No fix recorded)
Debian1 product
- bouncycastleAll versions (No fix recorded) | < 1.86-1
Ubuntu1 product
- bouncycastleAll versions (No fix recorded)
5 vendors · 7 products
References
11 links- github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860Vendor AdvisoryREPORTThird Party AdvisoryAdvisory
- github.com/bcgit/bc-javaPACKAGE
Show all 11 references
- github.com/bcgit/bc-lts-javaPACKAGE