CVE-2026-59638

Medium

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).

SeverityMedium
CVSS6.5
Exploit probability—
ProductBouncycastle Bctls-fips
PublishedAug 3, 2026
First seenAug 3, 2026
Weakness typeCWE-297CWE-297

How to fix

Affected products

ProductAffected versionsFixed in
bouncycastle bctls-fips1.0.0 ≤ v < 1.0.24, 2.0.19 ≤ v < 2.0.24, 2.1.20 ≤ v < 2.1.241.0.24, 2.0.24, 2.1.24
bouncycastle bc-javav < 1.851.85
bouncycastle bouncy_castle_for_java_ltsv ≤ 2.73.11—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.