CVE-2026-12185
Published:August 03, 2026
Updated:August 06, 2026
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.
Affected Packages
https://github.com/bcgit/bc-java.git (GITHUB):
Affected version(s) >=r1rv60 <r1rv85Fix Suggestion:
Update to version r1rv85org.bouncycastle:bcprov-jdk18on (JAVA):
Affected version(s) >=1.71 <1.85Fix Suggestion:
Update to version 1.85org.bouncycastle:bcprov-jdk15to18 (JAVA):
Affected version(s) >=1.63 <1.85Fix Suggestion:
Update to version 1.85org.bouncycastle:bcprov-lts8on (JAVA):
Affected version(s) >=2.73.0 <2.73.12Fix Suggestion:
Update to version 2.73.12Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Memory Allocation with Excessive Size Value
EPSS
Base Score:
0.26