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).
Published: 2026-08-03
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Bouncy Castle for Java caused the hostname verifier to enable CN‑fallback by default, even though the library’s documentation states that this feature requires explicit opt‑in. This weakness means that a client library could accept a certificate whose Common Name does not match the hostname it is connecting to, potentially allowing a malicious server to impersonate another site. The result is a classic man‑in‑the‑middle scenario where sensitive data can be intercepted, altered, or logged by an attacker, compromising confidentiality and integrity.

Affected Systems

The vulnerability affects Legion of the Bouncy Castle Inc. products: Bouncy Castle for Java before version 1.85, Bouncy Castle for Java LTS before version 2.73.12, and Bouncy Castle for Java FIPS before bctls‑fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) or 2.1.24 (2.1.X series).

Risk and Exploitability

The CVSS score of 9.3 indicates a high‑severity vulnerability with full remote impact. EPSS data is unavailable, so the exploitation probability is not quantified, but the lack of a KEV listing does not diminish the risk to environments that rely on the affected Bouncy Castle libraries. Attackers would need to position themselves between the client and the intended server, presenting a forged certificate that would pass validation, a scenario that is both realistic and potentially catastrophic in high‑trust deployments.

Generated by OpenCVE AI on August 3, 2026 at 09:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Bouncy Castle Java 1.85 or newer, Bouncy Castle Java LTS 2.73.12 or newer, or Bouncy Castle FIPS to the corresponding 1.0.24, 2.0.24, or 2.1.24 release.
  • If an immediate upgrade is not possible, configure the application to use a strict hostname verifier that disables CN‑fallback until the library is updated.
  • Consult Bouncy Castle’s release notes and support channels for guidance on implementing secure deployment practices.

Generated by OpenCVE AI on August 3, 2026 at 09:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java

Mon, 03 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 05:30:00 +0000


Mon, 03 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
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).
Title JSSE hostname verifier CN-fallback enabled by default despite documented opt-in
Weaknesses CWE-297
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS: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'}


Subscriptions

Legion Of The Bouncy Castle Inc. Bc-fja Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T13:23:06.454Z

Reserved: 2026-07-06T06:58:29.263Z

Link: CVE-2026-59638

cve-icon Vulnrichment

Updated: 2026-08-03T13:23:02.399Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T01:16:43.543

Modified: 2026-08-04T14:50:12.360

Link: CVE-2026-59638

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:52:21Z

Weaknesses
  • CWE-297

    Improper Validation of Certificate with Host Mismatch