CVE-2026-58059
JSON

8.7high

Quadratic-time escaping when stringifying X.500 distinguished names

Severity
8.7high CVSS:4.0 by bcorg
Exploit likelihood
0.56% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
bcorg

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

Affected

Product or packageVersionsReported by
bcprovbefore 1.85CVE List
bcprov-lts8onfrom 2.73.0 before 2.73.12CVE List
bc-fipsfrom 1.0.0 before 1.0.2.7, from 2.0.0 before 2.0.2, from 2.1.0 before 2.1.3CVE List
bouncycastle bc-javabefore 1.85NVD
bouncycastle bouncy_castle_for_java_ltsup to 2.73.11NVD
bouncycastle fips_java_apifrom 1.0.0 before 1.0.2.7, from 2.0.0 before 2.0.2, from 2.1.0 before 2.1.3NVD

All scores

bcorg8.7high CVSS:4.0CVSS: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
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-407

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58059 changed 2026-08-03CVE Terms of Use
NVDCVE-2026-58059 changed 2026-09-02Public domain