CVE-2026-58060: HSS public-key level count unbounded, enabling huge allocation on verify
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).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Bouncy Castle for Javato a version that resolves this vulnerability.Fixed in 1.85 - Upgrade
Upgrade
Bouncy Castle for Java LTSto a version that resolves this vulnerability.Fixed in 2.73.12 - Upgrade
Upgrade
Bouncy Castle for Java FIPS (BC-FJA)to a version that resolves this vulnerability.Fixed in 2.0.2 - Upgrade
Upgrade
Bouncy Castle for Java FIPS (BC-FJA)to a version that resolves this vulnerability.Fixed in 2.1.3
Event History
Frequently Asked Questions
What is the severity of CVE-2026-58060?
CVE-2026-58060 has a severity rating of high, with a CVSS score of 8.7.
What is CVE-2026-58060 about?
CVE-2026-58060 refers to an unbounded public-key level count issue in Bouncy Castle for Java, which can lead to excessive memory allocation during verification.
How do I fix CVE-2026-58060?
To fix CVE-2026-58060, update Bouncy Castle for Java to version 1.85 or later, or use the appropriate patched versions of Java LTS or BC-FJA.
Which versions are affected by CVE-2026-58060?
CVE-2026-58060 affects Bouncy Castle for Java versions before 1.85, Java LTS before 2.73.12, and BC-FJA before 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
What are the potential risks of CVE-2026-58060?
The risks associated with CVE-2026-58060 include potential denial of service due to resource exhaustion from huge allocations during public-key verification.