Inefficient Algorithmic Complexity in Bouncy Castle for Java and Bouncy Castle for Java LTS - CVE-2026-58059
Published: August 31, 2026
Vulnerability identifier: #VU146447
CSH Severity: Medium
CVSS v4: 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]
CVE-ID: CVE-2026-58059
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled resource consumption in X.500 distinguished name stringification when escaping strings with quadratic-time behavior. A remote attacker can supply crafted distinguished names to cause a denial of service.
Affected software
Bouncy Castle for Java
Bouncy Castle for Java LTS
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Development Tools Module
Bamboo Data Center
bouncycastle-pkix
bouncycastle
bouncycastle-pg
bouncycastle-util
Bouncy Castle for Java LTS
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Development Tools Module
Bamboo Data Center
bouncycastle-pkix
bouncycastle
bouncycastle-pg
bouncycastle-util
How to mitigate CVE-2026-58059
Install security update from vendor's website.
Bouncy Castle for Java - update to 1.85
Bouncy Castle for Java LTS - update to 2.73.12
Bamboo Data Center - addressed in versions 10.2.22, 12.1.10
bouncycastle-pkix - update to 1.85-150200.3.38.1
bouncycastle - update to 1.85-150200.3.38.1
bouncycastle-pg - update to 1.85-150200.3.38.1
bouncycastle-util - update to 1.85-150200.3.38.1
Bouncy Castle for Java LTS - update to 2.73.12
Bamboo Data Center - addressed in versions 10.2.22, 12.1.10
bouncycastle-pkix - update to 1.85-150200.3.38.1
bouncycastle - update to 1.85-150200.3.38.1
bouncycastle-pg - update to 1.85-150200.3.38.1
bouncycastle-util - update to 1.85-150200.3.38.1