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

Published Aug 3, 2026
·
Updated

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

3 affected components
Bouncy Castle Bouncy Castle for Java<1.85
Bouncy Castle Bouncy Castle for Java LTS<2.73.12
Bouncy Castle Bouncy Castle for Java FIPS (BC-FJA)>1.0<1.0.24, >2.0<2.0.24, >2.1<2.1.24

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Bouncy Castle for Java to a version that resolves this vulnerability.

    Fixed in 1.85
  2. Upgrade

    Upgrade Bouncy Castle for Java LTS to a version that resolves this vulnerability.

    Fixed in 2.73.12
  3. Upgrade

    Upgrade Bouncy Castle for Java FIPS (BC-FJA) bctls-fips 1.0.X series to a version that resolves this vulnerability.

    Fixed in bctls-fips 1.0.24

Event History

Aug 3, 2026
CVE Published
via MITRE·12:57 AM
Data Sourced
via MITRE·12:57 AM
DescriptionWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-59638?

The severity of CVE-2026-59638 is rated at risk level 33.

2

How do I fix CVE-2026-59638?

To fix CVE-2026-59638, upgrade to Bouncy Castle for Java version 1.85 or later, or to the specified LTS or FIPS versions.

3

Which versions of Bouncy Castle are affected by CVE-2026-59638?

CVE-2026-59638 affects Bouncy Castle for Java before version 1.85, as well as specific LTS and FIPS versions prior to the mentioned updates.

4

What is the impact of CVE-2026-59638 on applications?

The impact of CVE-2026-59638 is that it enables the JSSE hostname verifier CN-fallback feature by default, which may lead to suboptimal security.

5

Is the CN-fallback feature configurable in Bouncy Castle regarding CVE-2026-59638?

Yes, the CN-fallback feature in Bouncy Castle is documented as an optional configuration, but it is enabled by default in the affected versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203