Skip to main content
EPSS 0.3%top 74%

In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by default despite documented opt-in. (CVE-2026-59638)

0
Critical
Published: 08/03/2026 (08/03/2026, 03:31:54 UTC)
Source: GCVE Database

Description

Bouncy Castle for Java versions prior to 1.85 have a security vulnerability where the JSSE hostname verifier's CN-fallback is enabled by default, contrary to the documented opt-in behavior. This affects multiple Bouncy Castle Java variants including LTS and FIPS versions before specified patch releases. The vulnerability relates to improper hostname verification, which can impact confidentiality, integrity, and availability.

CVSS v3.1

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Affected software

Affected versions
<1.85<2.73.12<1.0.24<2.0.24<2.1.24

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 03:22:54 UTC

Technical Analysis

CVE-2026-59638 describes a vulnerability in Bouncy Castle for Java before version 1.85, where the JSSE hostname verifier's Common Name (CN) fallback is enabled by default despite documentation stating it should be opt-in. This behavior also affects Bouncy Castle for Java LTS versions before 2.73.12 and Bouncy Castle for Java FIPS (BC-FJA) versions 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). The issue is classified under CWE-297 (Improper Validation of Certificate with Host Mismatch). The CVSS v3.1 score is 8.6 (critical), indicating network attack vector, low attack complexity, no privileges or user interaction required, and impacts confidentiality, integrity, and availability.

Potential Impact

The vulnerability allows improper hostname verification due to the CN-fallback being enabled by default, which can lead to potential man-in-the-middle attacks or other attacks compromising confidentiality, integrity, and availability of communications relying on Bouncy Castle's JSSE hostname verification.

Mitigation Recommendations

No explicit patch links or vendor advisory content are provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor official Bouncy Castle advisories for updates and apply patches once available. Until then, consider disabling CN-fallback manually if possible or using updated versions once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-8rxj-3p7p-rq39
Osv Schema Version
1.4.0
Aliases
["CVE-2026-59638"]
Database Specific Severity
CRITICAL
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a91c078acd9273b491e7b2f

Added to database: 08/28/2026, 17:08:08 UTC

Last enriched: 09/08/2026, 03:22:54 UTC

Last updated: 10/12/2026, 18:48:21 UTC

Views: 80

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses