Skip to content
Fencer Vulns
high 8.6

CVE-2026-12185 json

BKS/UBER keystore allocates from untrusted lengths before integrity check

published 2026-08-03 3 mo ago modified 2026-08-28 2 mo ago also EUVD-2026-52021

cvss
8.6
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 21%
public exploits
0
none known

Summary

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.

Patch / fix

  • Legion of the Bouncy Castle Inc. BC-JAVA 1.85
  • Legion of the Bouncy Castle Inc. BC-LTS-JAVA 2.73.12
  • bouncycastle Debian 14 1.86-1

debian advisories DEBIAN-CVE-2026-12185

  • bouncycastle SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 1.85-150200.3.38.1
  • bouncycastle SLES 16.0, SLES for SAP applications 16.0 1.85-160000.1.1

suse advisories SUSE-SU-2026:3559-1SUSE-SU-2026:23127-1SUSE-SU-2026:23150-1

  • bouncycastle openSUSE Leap 16.0 1.85-160000.1.1
  • bouncycastle openSUSE Tumbleweed 1.85-1.1

opensuse advisories openSUSE-SU-2026:21538-1openSUSE-SU-2026:11445-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-12185 updated cvss 6.5

bouncycastle: Bouncy Castle: Denial of Service via untrusted keystore length allocation

  • Red Hat OpenShift Developer Tools and Services jenkins, jenkins-2-plugins Red Hat AMQ Broker 7 bcpkix-jdk18on 1.84.0.redhat-00001 Red Hat Ansible Automation Platform 2 ansible-automation-platform-27/de-supported-rhel9 Red Hat build of Apache Camel for Spring Boot 4 bcpkix-jdk18on 1.84.0.redhat-00001 Red Hat Ceph Storage 9 liborc, liborc2, libarrow, parquet-libs
    affected: workaround, no fix available
  • Red Hat JBoss Enterprise Application Platform 7 bcmail-jdk18on, bcpkix-jdk18on 1.84.0.redhat-00001, jboss-eap-7/eap74-els-openjdk8-openshift-rhel8, jboss-eap-7/eap74-els-openjdk11-openshift-rhel8, jboss-eap-7/eap74-els-openjdk17-openshift-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Application Platform 8 bcpkix-jdk18on 1.84.0.redhat-00001 Red Hat OpenShift AI (RHOAI) rhoai/odh-modelmesh-rhel9 Red Hat OpenShift Dev Spaces devspaces/openvsx-rhel9, devspaces/pluginregistry-rhel9
    affected: workaround, no fix available
  • Red Hat Single Sign-On 7 bcpkix-jdk18on 1.84.0.redhat-00001
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Developer Tools and Services 4.12 ocp-tools-4/jenkins-rhel8 1792044326
    fixed: vendor fix RHSA-2026:88152
  • Red Hat OpenShift Developer Tools and Services 4.13 ocp-tools-4/jenkins-rhel8 1792044327
    fixed: vendor fix RHSA-2026:88149
  • Red Hat OpenShift Developer Tools and Services 4.14 ocp-tools-4/jenkins-rhel8 1792044382
    fixed: vendor fix RHSA-2026:88151
  • Red Hat OpenShift Developer Tools and Services 4.15 ocp-tools-4/jenkins-rhel8 1792044386
    fixed: vendor fix RHSA-2026:88150
show 15 more
  • Red Hat OpenShift Developer Tools and Services 4.16 ocp-tools-4/jenkins-rhel9 1792040287
    fixed: vendor fix RHSA-2026:88156
  • Red Hat OpenShift Developer Tools and Services 4.17 ocp-tools-4/jenkins-rhel9 1792040131
    fixed: vendor fix RHSA-2026:88159
  • Red Hat OpenShift Developer Tools and Services 4.18 ocp-tools-4/jenkins-rhel9 1792041514
    fixed: vendor fix RHSA-2026:88153
  • Red Hat OpenShift Developer Tools and Services 4.19 ocp-tools-4/jenkins-rhel9 1792040733
    fixed: vendor fix RHSA-2026:88158
  • Red Hat OpenShift Developer Tools and Services 4.20 ocp-tools-4/jenkins-rhel9 1792040081
    fixed: vendor fix RHSA-2026:88157
  • Red Hat OpenShift Developer Tools and Services 4.21 ocp-tools-4/jenkins-rhel9 1792040096
    fixed: vendor fix RHSA-2026:88155
  • Red Hat OpenShift Developer Tools and Services 4.22 ocp-tools-4/jenkins-rhel9 1792040428
    fixed: vendor fix RHSA-2026:88154
  • Red Hat JBoss Enterprise Application Platform 8.1.8.GA bcpkix-jdk18on 1.85.0.redhat-00001
    fixed: vendor fix RHSA-2026:70277
  • Red Hat OpenShift Dev Spaces 3.31 devspaces/jetbrains-ide-rhel9 1792476427
    fixed: vendor fix RHSA-2026:90321
  • Red Hat OpenShift Developer Tools and Services 4.12 ocp-tools-4/jenkins-agent-base-rhel8 1792044376 Red Hat OpenShift Developer Tools and Services 4.13 ocp-tools-4/jenkins-agent-base-rhel8 1792044361 Red Hat OpenShift Developer Tools and Services 4.14 ocp-tools-4/jenkins-agent-base-rhel8 1792044402 Red Hat OpenShift Developer Tools and Services 4.15 ocp-tools-4/jenkins-agent-base-rhel8 1792044379 Red Hat OpenShift Developer Tools and Services 4.16 ocp-tools-4/jenkins-agent-base-rhel9 1792040156 Red Hat OpenShift Developer Tools and Services 4.17 ocp-tools-4/jenkins-agent-base-rhel9 1792040149
    +5 more products
    Red Hat OpenShift Developer Tools and Services 4.18 ocp-tools-4/jenkins-agent-base-rhel9 1792041201 Red Hat OpenShift Developer Tools and Services 4.19 ocp-tools-4/jenkins-agent-base-rhel9 1792040114 Red Hat OpenShift Developer Tools and Services 4.20 ocp-tools-4/jenkins-agent-base-rhel9 1792040274 Red Hat OpenShift Developer Tools and Services 4.21 ocp-tools-4/jenkins-agent-base-rhel9 1792039948 Red Hat OpenShift Developer Tools and Services 4.22 ocp-tools-4/jenkins-agent-base-rhel9 1792040297
    not affected: vulnerable code not present
  • Red Hat Ansible Automation Platform 2 ansible-automation-platform-27/de-minimal-rhel9
    not affected: vulnerable code not in execute path
  • Red Hat build of Apache Camel 4 for Quarkus 3 bcpkix-jdk18on 1.84.0.redhat-00001
    not affected: component not present
  • Red Hat Build of Keycloak rhbk/keycloak-rhel9, bcpkix-jdk18on 1.84.0.redhat-00001
    not affected: vulnerable code cannot be controlled by adversary
  • Red Hat build of Quarkus bcpkix-jdk18on 1.84.0.redhat-00001 Red Hat Fuse 7 bcmail-jdk18on, bcpkix-jdk18on 1.84.0.redhat-00001
    not affected: component not present
  • Red Hat JBoss Enterprise Application Platform 8.1.8.GA pom.xml, aesh 2.4, c3 0.6.4, d3 7.4.3, he 1.2.0, lr 1.4.2, +1868 more
    not affected: vulnerable code not present

3 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
3 mo ago

Exploit prediction

0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 7.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber
CNA 4.0 7.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/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
NVD 3.1 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Affected products

  • Legion of the Bouncy Castle Inc. BC-JAVA
  • Legion of the Bouncy Castle Inc. BC-LTS-JAVA

Classification

Weakness
  • CWE-789 Memory Allocation with Excessive Size Value

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.