{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59638","id":"CVE-2026-59638","title":"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).","descriptionLong":"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-03T00:57:31.904Z","updated":"2026-10-28T11:10:07.791377790Z","reserved":"2026-07-06T06:58:29.263Z","status":"Analyzed","rejected":false,"assigner":"bcorg","metric":{"version":"4.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","rating":"critical","source":"bcorg"},"metrics":[{"version":"4.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","rating":"critical","source":"bcorg"},{"version":"4.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/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","rating":"critical","source":"91579145-5d7b-4cc5-b925-a0262ff19630"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"critical","products":["Legion of the Bouncy Castle Inc. BC-JAVA","Legion of the Bouncy Castle Inc. BC-LTS-JAVA","Legion of the Bouncy Castle Inc. BC-FJA"],"affectedProducts":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","defaultStatus":"unaffected","versions":[{"status":"affected","version":"1.61","lessThan":"1.85","versionType":"maven"}],"platforms":["all"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","defaultStatus":"unaffected","versions":[{"status":"affected","version":"2.73.0","lessThan":"2.73.12","versionType":"maven"}],"platforms":["all"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","defaultStatus":"unaffected","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"]}],"packages":[],"cwes":["CWE-297"],"aliases":[],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059638","tags":["vendor-advisory","Third Party Advisory","advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/799bd15320a6310a447863638aa3df64acef829b","tags":["patch","Patch","fix"]},{"url":"https://github.com/bcgit/bc-java/commit/5ac55351cd1a8a7184d41c96a7ee87df0770240a","tags":["patch","Patch","fix"]},{"url":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","tags":["web"]},{"url":"https://www.bouncycastle.org/download/bouncy-castle-java-lts/","tags":["web"]},{"url":"https://www.bouncycastle.org/download/bouncy-castle-java/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59638.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59638","tags":["advisory"]},{"url":"https://github.com/bcgit/bc-java","tags":["package"]},{"url":"https://github.com/bcgit/bc-lts-java","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00345,"epssPercentile":0.28595,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59638","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59638","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59638","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59638","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}