CVE-2026-58059

HIGHCVSS 7.5/10EPSS 0.35%

Last modified

CVE-2026-58059 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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).. EPSS estimates a 0.35% chance of exploitation in the next 30 days.

Description

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).

Metrics

Weakness Enumeration

Affected Software

VendorProductVersions
BouncycastleBc-Java< 1.85
BouncycastleBouncy Castle For Java Lts<= 2.73.11
BouncycastleFips Java Api>= 1.0.0, < 1.0.2.7
BouncycastleFips Java Api>= 2.0.0, < 2.0.2
BouncycastleFips Java Api>= 2.1.0, < 2.1.3

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2026-58059?
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).
How severe is CVE-2026-58059?
CVE-2026-58059 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 0.35% probability of exploitation in the next 30 days.
How do I fix CVE-2026-58059?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-58059?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST