{"id":"CVE-2026-58059","published":"2026-08-03T02:41:30Z","modified":"2026-08-03T15:32:46Z","title":"Quadratic-time escaping when stringifying X.500 distinguished names","vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","tier":"tail","description":{"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00493,"percentile":0.35185,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9058059","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/7bf20eea8c1b71a4d3574b75ba20ccf26ffff36b","tags":["patch"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.04},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","versions":["< 1.85"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","versions":[">= 2.73.0, < 2.73.12"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","versions":[">= 1.0.0, < 1.0.2.7",">= 2.0.0, < 2.0.2",">= 2.1.0, < 2.1.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-03T15:32:14.380599Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-52092","exploited":false,"provenance":"source"}}