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).
References
| Link | Resource |
|---|---|
| https://github.com/bcgit/bc-java/commit/7bf20eea8c1b71a4d3574b75ba20ccf26ffff36b | Patch |
| https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9058059 | Third Party Advisory Patch |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-08-03 03:16
Updated : 2026-09-02 14:31
NVD link : CVE-2026-58059
Mitre link : CVE-2026-58059
CVE.ORG link : CVE-2026-58059
JSON object : View
Products Affected
bouncycastle
- bouncy_castle_for_java_lts
- bc-java
- fips_java_api
CWE
CWE-407
Inefficient Algorithmic Complexity
