{"id":"CVE-2026-59638","sourceIdentifier":"91579145-5d7b-4cc5-b925-a0262ff19630","published":"2026-08-03T01:16:43.543","lastModified":"2026-08-28T17:29:17.083","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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)."}],"affected":[{"source":"91579145-5d7b-4cc5-b925-a0262ff19630","affectedData":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","defaultStatus":"unaffected","collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java/","packageName":"bctls","modules":["tls"],"platforms":["all"],"programFiles":["HostnameUtil"],"repo":"https://github.com/bcgit/bc-java","packageURL":"pkg:maven/org.bouncycastle/bctls-jdk18on","versions":[{"version":"1.61","lessThan":"1.85","versionType":"maven","status":"affected"}]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","defaultStatus":"unaffected","collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-lts/","packageName":"bctls-lts8on","modules":["tls"],"platforms":["all"],"programFiles":["HostnameUtil"],"repo":"https://github.com/bcgit/bc-lts-java","packageURL":"pkg:maven/org.bouncycastle/bctls-lts8on","versions":[{"version":"2.73.0","lessThan":"2.73.12","versionType":"maven","status":"affected"}]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","defaultStatus":"unaffected","collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","packageName":"bctls-fips","platforms":["all"],"packageURL":"pkg:maven/org.bouncycastle/bctls-fips","versions":[{"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","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"91579145-5d7b-4cc5-b925-a0262ff19630","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":9.3,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"AMBER"}}],"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":2.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-03T13:22:54.412148Z","id":"CVE-2026-59638","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"91579145-5d7b-4cc5-b925-a0262ff19630","type":"Secondary","description":[{"lang":"en","value":"CWE-297"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","versionEndExcluding":"1.85","matchCriteriaId":"FA6A5663-2E62-44AA-8A64-A3CB0DC8813B"},{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bctls-fips:*:*:*:*:*:*:*:*","versionStartIncluding":"1.0.0","versionEndExcluding":"1.0.24","matchCriteriaId":"08420234-16EB-4911-B907-6354B4241167"},{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bctls-fips:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.19","versionEndExcluding":"2.0.24","matchCriteriaId":"E59C75F1-DB26-4688-A772-817285432027"},{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bctls-fips:*:*:*:*:*:*:*:*","versionStartIncluding":"2.1.20","versionEndExcluding":"2.1.24","matchCriteriaId":"03E93498-95D0-453F-83A9-07E2CAEFEA08"},{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*","versionEndIncluding":"2.73.11","matchCriteriaId":"F5ED4F42-08FF-4642-815D-1ED0C82FDBD2"}]}]}],"references":[{"url":"https://github.com/bcgit/bc-java/commit/5ac55351cd1a8a7184d41c96a7ee87df0770240a","source":"91579145-5d7b-4cc5-b925-a0262ff19630","tags":["Patch"]},{"url":"https://github.com/bcgit/bc-java/commit/799bd15320a6310a447863638aa3df64acef829b","source":"91579145-5d7b-4cc5-b925-a0262ff19630","tags":["Patch"]},{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059638","source":"91579145-5d7b-4cc5-b925-a0262ff19630","tags":["Third Party Advisory"]}]}