{"id":"CVE-2026-58059","aliases":["CVE-2026-58059"],"related":[],"kind":"vulnerability","state":"published","title":"Quadratic-time escaping when stringifying X.500 distinguished names","summary":"In Bouncy Castle for Java before 1.85, Quadratic-time escaping when stringifying X.500 distinguished names. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Bouncy Castle for Java before 1.85, Quadratic-time escaping when stringifying X.500 distinguished names. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).","source":"cvelist"}],"published":"2026-08-03T02:41:30.973Z","modified":"2026-09-02T14:31:10.347Z","severity":{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-407"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"1.85","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","package":"bcprov","repo":"https://github.com/bcgit/bc-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"2.73.0","fixed":"2.73.12","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","package":"bcprov-lts8on","repo":"https://github.com/bcgit/bc-lts-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"1.0.0","fixed":"1.0.2.7","status":"affected"},{"type":"maven","introduced":"2.0.0","fixed":"2.0.2","status":"affected"},{"type":"maven","introduced":"2.1.0","fixed":"2.1.3","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","package":"bc-fips","platforms":["all"],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.85"}],"vendor":"bouncycastle","product":"bc-java","cpe":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"2.73.11"}],"vendor":"bouncycastle","product":"bouncy_castle_for_java_lts","cpe":"cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.0.2.7"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.2"},{"status":"affected","introduced":"2.1.0","fixed":"2.1.3"}],"vendor":"bouncycastle","product":"fips_java_api","cpe":"cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9058059","tags":["patch","third-party-advisory","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-java/commit/7bf20eea8c1b71a4d3574b75ba20ccf26ffff36b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Alex Gaynor in collaboration with Claude and Anthropic Research"],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-03T15:32:14.380Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58059","url":"https://www.cve.org/CVERecord?id=CVE-2026-58059","licence":"CVE Terms of Use","modified":"2026-08-03T15:32:46.729Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58059","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58059","licence":"Public domain","modified":"2026-09-02T14:31:10.347Z"}],"updatedAt":"2026-11-25T22:59:30.837Z","epss":{"score":0.00563,"percentile":0.4821,"date":"2026-12-01T12:00:22.000Z"}}