8.7High

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

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA Published: (3 months ago)

Description

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).

Weakness (CWE): CWE-789

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
bouncycastle bc-java 1.65 – < 1.85
bouncycastle bouncy castle for java lts ≤ 2.73.11
bouncycastle fips java api < 2.0.2
Legion of the Bouncy Castle Inc. BC-FJA 2.0.0 – < 2.0.2, 2.1.0 – < 2.1.3
Legion of the Bouncy Castle Inc. BC-JAVA 1.65 – < 1.85
Legion of the Bouncy Castle Inc. BC-LTS-JAVA 2.73.0 – < 2.73.12

References and patches

CPE matches (NVD) (4)

  • cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* ≥ 1.65 < 1.85
  • cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:* ≤ 2.73.11
  • cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:* < 2.0.2
  • cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:* ≥ 2.1.0 < 2.1.3