{"id":"CVE-2026-58060","published":"2026-08-03T02:37:43Z","modified":"2026-08-03T15:34:42Z","title":"HSS public-key level count unbounded, enabling huge allocation on verify","vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","tier":"tail","description":{"text":"In Bouncy Castle for Java before 1.85, HSS public-key level count unbounded, enabling huge allocation on verify. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 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.00616,"percentile":0.43791,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9058060","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/311cabbb6fcead7647fec16681423a4439118276","tags":["patch"]},{"url":"https://github.com/bcgit/bc-java/commit/6c9f30b3fdaa3f2140809278caebbffc55920922","tags":["patch"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":8.76},{"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.65, < 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":[">= 2.0.0, < 2.0.2",">= 2.1.0, < 2.1.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-03T15:34:32.133000Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-52091","exploited":false,"provenance":"source"}}