Legion of the Bouncy Castle Inc. BC-JAVA
JSSE hostname verifier CN-fallback enabled by default despite documented opt-in
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.61, < 1.85
Fixed in 1.85
- >= 2.73.0, < 2.73.12
Fixed in 2.73.12
- >= 1.0.7, < 1.0.24
- >= 2.0.0, < 2.0.24
- >= 2.1.0, < 2.1.24
Fixed in 1.0.24, 2.0.24, 2.1.24
Mitigation
Upgrade BC-JAVA to 1.85 or later.
Upgrade BC-LTS-JAVA to 2.73.12 or later.
Upgrade BC-FJA to 1.0.24 or 2.0.24 or 2.1.24 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| xiaoqiMikko/bc-check | 5 Aug 2026 +2.5 d | 0 | Informational · list
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.