{"schemaVersion":3,"id":"CVE-2026-59638","aliases":["UBUNTU-CVE-2026-59638","DEBIAN-CVE-2026-59638"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2026-08-03T00:57:31.904Z","modified":"2026-08-03T13:23:06.454Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"critical","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.3,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":9.3,"severity":"critical","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.3,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00345,"percentile":0.26609,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.135,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0021},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00345,"percentile":0.26609}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00345,"percentile":0.26609}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch","description":"The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/297.html"}],"affected":[{"vendor":"bouncycastle","product":"bc-java","name":"bc-java","label":"bc-java","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.85","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.85","eol":null,"hubHref":"/vendor/bouncycastle/bc-java"},{"vendor":"bouncycastle","product":"bctls-fips","name":"bctls-fips","label":"bctls-fips","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.0.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.19, < 2.0.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.1.20, < 2.1.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.0.24 | ≥ 2.0.19, < 2.0.24 | ≥ 2.1.20, < 2.1.24","eol":null,"hubHref":"/vendor/bouncycastle/bctls-fips"},{"vendor":"bouncycastle","product":"bouncy_castle_for_java_lts","name":"bouncy castle for java lts","label":"bouncy_castle_for_java_lts","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.73.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.73.11","eol":null,"hubHref":"/vendor/bouncycastle/bouncy_castle_for_java_lts"},{"vendor":"debian","product":"bouncycastle","name":"bouncycastle","label":"bouncycastle","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bouncycastle","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.86-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.86-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bouncycastle","name":"bouncycastle","label":"bouncycastle","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bouncycastle","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"legion of the bouncy castle inc.","product":"bc-fja","name":"BC-FJA","label":"bc-fja","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.7, < 1.0.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.1.0, < 2.1.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.7, < 1.0.24 | ≥ 2.0.0, < 2.0.24 | ≥ 2.1.0, < 2.1.24","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-fja"},{"vendor":"legion of the bouncy castle inc.","product":"bc-java","name":"BC-JAVA","label":"bc-java","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.61, < 1.85","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.61, < 1.85","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-java"},{"vendor":"legion of the bouncy castle inc.","product":"bc-lts-java","name":"BC-LTS-JAVA","label":"bc-lts-java","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.73.0, < 2.73.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.73.0, < 2.73.12","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-lts-java"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059638","label":"github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059638","hostname":"github.com","tags":["Vendor Advisory","REPORT","Third Party Advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/799bd15320a6310a447863638aa3df64acef829b","label":"github.com/bcgit/bc-java/commit/799bd15320a6310a447863638aa3df64acef829b","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://github.com/bcgit/bc-java/commit/5ac55351cd1a8a7184d41c96a7ee87df0770240a","label":"github.com/bcgit/bc-java/commit/5ac55351cd1a8a7184d41c96a7ee87df0770240a","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-59638","label":"ubuntu.com/security/CVE-2026-59638","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59638","label":"www.cve.org/CVERecord?id=CVE-2026-59638","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-59638","label":"security-tracker.debian.org/tracker/CVE-2026-59638","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11445-1","OPENSUSE-SU-2026:21538-1","SUSE-SU-2026:23127-1","SUSE-SU-2026:23150-1","SUSE-SU-2026:3559-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11445-1","OPENSUSE-SU-2026:21538-1","SUSE-SU-2026:23127-1","SUSE-SU-2026:23150-1","SUSE-SU-2026:3559-1"]},"timeline":[{"kind":"published","date":"2026-08-03T00:57:31.904Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-03T13:23:06.454Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:30:09.646Z","stale":false,"partial":false}}