CVE-2026-12185: In Bouncy Castle for Java before 1.85, BKS/UBER keystore allocates from untrusted lengths before integrity che
CVE-2026-12185 is a high-severity flaw (CVSS 8.6) affecting bc-java, bouncy castle for java lts. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In Bouncy Castle for Java before 1.85, BKS/UBER keystore allocates from untrusted lengths before integrity check. This issue also affects Bouncy Castle for Java LTS before 2.73.12.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.6 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 79%) |
| CISA exploited list | No |
| Weakness | CWE-789 |
| Published | 2026-08-03 |
| Last modified | 2026-08-28 |
Last updated 2026-08-28 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-12185?
bc-java: upgrade to 1.85; bouncy castle for java lts: upgrade to newer than 2.73.11. Exact commands for each OS are on this page.
Is CVE-2026-12185 being exploited?
CVE-2026-12185 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-12185 affect?
CVE-2026-12185 affects bc-java, bouncy castle for java lts. Severity is high (CVSS 8.6). In Bouncy Castle for Java before 1.85, BKS/UBER keystore allocates from untrusted lengths before integrity check. This issue also affects Bouncy Castle for Java LTS before 2.73.12.
How urgent is CVE-2026-12185?
Priority 40/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-59644 HIGH 7.5 UPGRADE In Bouncy Castle for Java before 1.85, MLS hash-ratchet honours arbitrary 32-bit generation counter from sende
- CVE-2026-12852 HIGH 7.5 UPGRADE In Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opaque length before bound
- CVE-2026-59652 MEDIUM 6.5 UPGRADE In Bouncy Castle for Java before 1.85, LDAP filter injection in legacy jdk1.4 LDAPStoreHelper.
- CVE-2026-17507 HIGH 7.5 UPGRADE In Bouncy Castle for Java before 1.86, the MLS implementation (org.bouncycastle.mls) holds RFC 9420's uint32 l
- CVE-2026-59643 HIGH 7.5 UPGRADE UPGRADE In Bouncy Castle for Java before 1.85, OpenPGP inline-signature policy failures silently ignored