What’s Vulnerable › Vulnerabilities

CVE-2026-59638: JSSE hostname verifier CN-fallback enabled by default despite documented opt-in

Description

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 products

How to fix

Upgrade to a fixed version: Legion of the Bouncy Castle Inc. BC-JAVA 1.85; Bouncycastle Bctls-Fips 1.0.24, 2.0.24, 2.1.24. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59638 or the next vulnerability affects your stack