CVE-2026-59638

Summary

In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by default despite documented opt-in. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).

Affected Software

VendorProductVersion RangeStatus
Legion of the Bouncy Castle Inc.BC-JAVA1.61 < 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.7 < 1.0.24affected
Legion of the Bouncy Castle Inc.BC-FJA2.0.0 < 2.0.24affected
Legion of the Bouncy Castle Inc.BC-FJA2.1.0 < 2.1.24affected

Weaknesses

  • CWE-297: CWE-297 Improper Validation of Certificate with Host Mismatch

References