Quadratic-Time Vulnerability in Bouncy Castle for Java Affects Multiple Versions
CVE-2026-58059
8.7HIGH
Key Information:
- Status
- Vendor
- CVE Published:
- 3 August 2026
What is CVE-2026-58059?
A quadratic-time escaping vulnerability exists in Bouncy Castle for Java prior to version 1.85. This vulnerability manifests when stringifying X.500 distinguished names, leading to potential performance degradation and denial of service under certain conditions. The issue impacts the LTS and FIPS versions of Bouncy Castle, stressing the importance of updating to mitigate risks associated with this vulnerability.
Affected Version(s)
BC-FJA all 1.0.0 < 1.0.2.7
BC-FJA all 2.0.0 < 2.0.2
BC-FJA all 2.1.0 < 2.1.3
References
CVSS V4
Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Alex Gaynor in collaboration with Claude and Anthropic Research
