CVE-2026-58060

published 3 Aug 2026 · updated 3 Aug 2026

HSS public-key level count unbounded, enabling huge allocation on verify

8.7HighCVSS 8.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.0.2, 2.1.3, 1.85 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Legion of the Bouncy Castle>=2.0.0 <2.0.2, >=2.1.0 <2.1.3, >=1.65 <1.85, >=2.73.0 <2.73.122.0.2, 2.1.3, 1.85, 2.73.12

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58060 severity on Zeptric[![CVE-2026-58060](https://zeptric.io/badge/cve/CVE-2026-58060.svg)](https://zeptric.io/cve/CVE-2026-58060)