CVE-2026-58059
Quadratic-time escaping when stringifying X.500 distinguished names
- State
- Published
- Severity
- 8.7 High
- Published
- Aug 3, 2026
- Updated
- Aug 3, 2026
- Reserved
- Jun 28, 2026
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | bcorg |
Weaknesses
- CWE-407 Inefficient Algorithmic Complexity
Affected Products
| Product | Versions |
|---|---|
BC-JAVALegion of the Bouncy Castle Inc. |
|
BC-LTS-JAVALegion of the Bouncy Castle Inc. |
|
BC-FJALegion of the Bouncy Castle Inc. |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.