CVE-2026-58059

Summary

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 Software

VendorProductVersion RangeStatus
Legion of the Bouncy Castle Inc.BC-JAVA0 < 1.85affected
Legion of the Bouncy Castle Inc.BC-LTS-JAVA2.73.0 < 2.73.12affected
Legion of the Bouncy Castle Inc.BC-FJA1.0.0 < 1.0.2.7affected
Legion of the Bouncy Castle Inc.BC-FJA2.0.0 < 2.0.2affected
Legion of the Bouncy Castle Inc.BC-FJA2.1.0 < 2.1.3affected

Weaknesses

  • CWE-407: CWE-407 Inefficient Algorithmic Complexity

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References