CVEfocus › CVE database › CVE-2026-59638

CVE-2026-59638JSSE hostname verifier CN-fallback enabled by default despite documented opt-in

CVSS 9.3 CriticalEPSS 0.3% (higher than 28% of CVEs)Published 2026-08-03Updated 2026-08-03Assigner: bcorg

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

CWE-297

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
8Fix pending
1Under investigation
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10bouncycastleFix pendingUBUNTU-CVE-2026-59638
Ubuntu 26.04bouncycastleUnder investigationUBUNTU-CVE-2026-59638
Ubuntu 24.04bouncycastleFix pendingUBUNTU-CVE-2026-59638
Ubuntu 22.04bouncycastleFix pendingUBUNTU-CVE-2026-59638
Ubuntu 20.04bouncycastleFix pendingUBUNTU-CVE-2026-59638
Ubuntu 18.04bouncycastleFix pendingUBUNTU-CVE-2026-59638
Ubuntu 16.04bouncycastleFix pendingUBUNTU-CVE-2026-59638
Debian 14bouncycastleFixed1.86-1DEBIAN-CVE-2026-59638
Debian 13bouncycastleFix pendingDEBIAN-CVE-2026-59638
Debian 12bouncycastleFix pendingDEBIAN-CVE-2026-59638
Red Hat Enterprise Linux 9jmcNot affected
Red Hat Enterprise Linux 9pki-resteasy-clientNot affected
Red Hat Enterprise Linux 9pki-resteasy-coreNot affected
Red Hat Enterprise Linux 9pki-resteasy-jackson2-providerNot affected
Red Hat Enterprise Linux 9pki-resteasy-servlet-initializerNot affected
Red Hat Enterprise Linux 9resteasyNot affected
Red Hat Enterprise Linux 8resteasyNot affected
Red Hat Enterprise Linux 8resteasy-javadocNot affected

What the vendor says

As published in the CVE record by bcorg, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.