Skip to content
Fencer Vulns
high 7.5

CVE-2026-58059 json

Quadratic-time escaping when stringifying X.500 distinguished names

published 2026-08-03 3 mo ago modified 2026-09-02 2 mo ago also EUVD-2026-52092

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

Summary

In Bouncy Castle for Java before 1.85, Quadratic-time escaping when stringifying X.500 distinguished names. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).

Patch / fix

  • Legion of the Bouncy Castle Inc. BC-JAVA 1.85
  • Legion of the Bouncy Castle Inc. BC-LTS-JAVA 2.73.12
  • Legion of the Bouncy Castle Inc. BC-FJA 1.0.2.7, 2.0.2, 2.1.3
  • bouncycastle Debian 14 1.86-1

debian advisories DEBIAN-CVE-2026-58059

  • 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-58059 updated cvss 7.5

org.bouncycastle/bc-java: Bouncy Castle for Java: Denial of Service via quadratic-time escaping of X.500 distinguished names

  • Red Hat OpenShift Developer Tools and Services jenkins, jenkins-2-plugins Red Hat AMQ Broker 7 bcprov-jdk18on Red Hat build of Apache Camel 4 for Quarkus 3 bcprov-jdk18on Red Hat build of Apicurio Registry 3 bcprov-lts8on, bcprov-jdk18on
    affected: workaround, no fix available
  • Red Hat JBoss Enterprise Application Platform 7 bcprov-jdk18on
    affected: workaround, no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Application Platform 8 bcprov-jdk18on
    affected: workaround, no fix available
  • Red Hat Single Sign-On 7 bcprov-jdk18on
    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 18 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 Build of Apache Camel 3.33.3.SP2 bcprov-jdk18on 1.85.2.redhat-00001
    fixed: vendor fix RHSA-2026:70257
  • Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16
    fixed: vendor fix RHSA-2026:71675
  • Red Hat build of Keycloak 26.4 rhbk/keycloak-rhel9 26.4-29, rhbk/keycloak-rhel9-operator 26.4-30, rhbk/keycloak-operator-bundle 26.4.17-2
    fixed: vendor fix RHSA-2026:95760
  • Red Hat build of Keycloak 26.4.17
    fixed: vendor fix RHSA-2026:95759
  • Red Hat build of Keycloak 26.6 rhbk/keycloak-rhel9 26.6-24, rhbk/keycloak-rhel9-operator 26.6-24, rhbk/keycloak-operator-bundle 26.6.8-2
    fixed: vendor fix RHSA-2026:95762
  • Red Hat build of Keycloak 26.6.8
    fixed: vendor fix RHSA-2026:95761
  • Red Hat build of Quarkus 3.27.5.SP2
    fixed: vendor fix RHSA-2026:69470
  • Red Hat build of Quarkus 3.33.3.SP2
    fixed: vendor fix RHSA-2026:69440
  • Red Hat JBoss Enterprise Application Platform 8.1.8.GA bcprov-jdk18on 1.85.0.redhat-00001
    fixed: vendor fix RHSA-2026:70277
  • Red Hat OpenShift AI 2.25 rhoai/odh-modelmesh-rhel9 1790881700
    fixed: vendor fix RHSA-2026:87410
  • 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
    +6 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 Red Hat AMQ Clients bcpg-jdk18on, bcprov-jdk15on, bcprov-jdk18on, bcutil-jdk18on
    not affected: vulnerable code not present

20 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
yes
Technical impact
partial
Assessed
3 mo ago

Exploit prediction

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

CVSS scores

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

Affected products

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

Classification

Weakness
  • CWE-407 Inefficient Algorithmic Complexity

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.