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

Severity (CVSS)

Base score9.3
SeverityCritical
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber
Provided byCNA

Weaknesses

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

Affected products

VendorProductVersions
Legion of the Bouncy Castle Inc.BC-JAVA1.61 to <1.85
Legion of the Bouncy Castle Inc.BC-LTS-JAVA2.73.0 to <2.73.12
Legion of the Bouncy Castle Inc.BC-FJA1.0.7 to <1.0.24; 2.0.0 to <2.0.24; 2.1.0 to <2.1.24

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 03 Aug 2026 08:53 UTC.