9.3
CRITICAL CVSS 4.0
CVE-2026-59638
JSSE hostname verifier CN-fallback enabled by default despite documented opt-in
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).

INFO

Published Date :

Aug. 3, 2026, 1:16 a.m.

Last Modified :

Aug. 3, 2026, 1:16 a.m.

Remotely Exploit :

Yes !

Source :

91579145-5d7b-4cc5-b925-a0262ff19630
Affected Products

The following products are affected by CVE-2026-59638 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 CRITICAL 91579145-5d7b-4cc5-b925-a0262ff19630
CVSS 4.0 CRITICAL 91579145-5d7b-4cc5-b925-a0262ff19630
Solution
Update Bouncy Castle libraries to the latest secure versions to resolve default CN-fallback misconfiguration.
  • Update Bouncy Castle for Java to 1.85 or later.
  • Update Bouncy Castle LTS to 2.73.12 or later.
  • Update Bouncy Castle FIPS to latest specified versions.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-59638.

URL Resource
https://github.com/bcgit/bc-java/commit/5ac55351cd1a8a7184d41c96a7ee87df0770240a
https://github.com/bcgit/bc-java/commit/799bd15320a6310a447863638aa3df64acef829b
https://github.com/bcgit/bc-java/wiki/CVE-2026-59638
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-59638 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-59638 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-59638 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-59638 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 91579145-5d7b-4cc5-b925-a0262ff19630

    Aug. 03, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://github.com/bcgit/bc-java', 'vendor': 'Legion of the Bouncy Castle Inc.', 'modules': ['tls'], 'product': 'BC-JAVA', 'versions': [{'status': 'affected', 'version': '1.61', 'lessThan': '1.85', 'versionType': 'maven'}], 'platforms': ['all'], 'packageURL': 'pkg:maven/org.bouncycastle/bctls-jdk18on', 'packageName': 'bctls', 'programFiles': ['HostnameUtil'], 'collectionURL': 'https://www.bouncycastle.org/download/bouncy-castle-java/', 'defaultStatus': 'unaffected'}, {'repo': 'https://github.com/bcgit/bc-lts-java', 'vendor': 'Legion of the Bouncy Castle Inc.', 'modules': ['tls'], 'product': 'BC-LTS-JAVA', 'versions': [{'status': 'affected', 'version': '2.73.0', 'lessThan': '2.73.12', 'versionType': 'maven'}], 'platforms': ['all'], 'packageURL': 'pkg:maven/org.bouncycastle/bctls-lts8on', 'packageName': 'bctls-lts8on', 'programFiles': ['HostnameUtil'], 'collectionURL': 'https://www.bouncycastle.org/download/bouncy-castle-java-lts/', 'defaultStatus': 'unaffected'}, {'vendor': 'Legion of the Bouncy Castle Inc.', 'product': 'BC-FJA', 'versions': [{'status': 'affected', 'version': '1.0.7', 'lessThan': '1.0.24', 'versionType': 'maven'}, {'status': 'affected', 'version': '2.0.0', 'lessThan': '2.0.24', 'versionType': 'maven'}, {'status': 'affected', 'version': '2.1.0', 'lessThan': '2.1.24', 'versionType': 'maven'}], 'platforms': ['all'], 'packageURL': 'pkg:maven/org.bouncycastle/bctls-fips', 'packageName': 'bctls-fips', 'collectionURL': 'https://www.bouncycastle.org/download/bouncy-castle-java-fips/', 'defaultStatus': 'unaffected'}]
    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).
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
    Added CWE CWE-297
    Added Reference https://github.com/bcgit/bc-java/commit/5ac55351cd1a8a7184d41c96a7ee87df0770240a
    Added Reference https://github.com/bcgit/bc-java/commit/799bd15320a6310a447863638aa3df64acef829b
    Added Reference https://github.com/bcgit/bc-java/wiki/CVE-2026-59638
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.