Skip to main content
EPSS 0.7%top 50%

In Bouncy Castle for Java before 1.85, HSS public-key level count unbounded, enabling huge allocation on verify. (CVE-2026-58060)

0
High
Published: 08/03/2026 (08/03/2026, 03:31:57 UTC)
Source: GCVE Database

Description

Bouncy Castle for Java versions before 1.85 have an unbounded HSS public-key level count, which can lead to excessive memory allocation during verification. This vulnerability also affects Bouncy Castle for Java LTS versions before 2.73.12 and Bouncy Castle for Java FIPS versions before 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber

Affected software

org.bouncycastle/bcprov-jdk15on
pkg:maven/org.bouncycastle/bcprov-jdk15on
Affected versions
<1.85
org.bouncycastle/bcprov-jdk15on-lts
pkg:maven/org.bouncycastle/bcprov-jdk15on-lts
Affected versions
<2.73.12
org.bouncycastle/bcprov-jdk15on-fips-2.0.x
pkg:maven/org.bouncycastle/bcprov-jdk15on-fips-2.0.x
Affected versions
<2.0.2
org.bouncycastle/bcprov-jdk15on-fips-2.1.x
pkg:maven/org.bouncycastle/bcprov-jdk15on-fips-2.1.x
Affected versions
<2.1.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 21:41:44 UTC

Technical Analysis

The vulnerability in Bouncy Castle for Java prior to version 1.85 involves an unbounded count of HSS public-key levels. This flaw allows an attacker to trigger huge memory allocations during the verification process, potentially leading to resource exhaustion. The issue similarly affects Bouncy Castle for Java LTS before 2.73.12 and Bouncy Castle for Java FIPS before versions 2.0.2 and 2.1.3 in their respective series. No patch links are provided in the data, and no known exploits are reported in the wild.

Potential Impact

This vulnerability can cause excessive memory allocation during HSS public-key verification, which may lead to denial of service due to resource exhaustion. There is no indication of privilege escalation or data compromise from the provided information.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor vendor communications for updates and consider limiting input sizes or applying other resource controls if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-3q78-fqj5-g3mc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-58060"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a710683bf32cb7a343985db

Added to database: 08/03/2026, 21:22:11 UTC

Last enriched: 08/03/2026, 21:41:44 UTC

Last updated: 09/17/2026, 22:01:36 UTC

Views: 60

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses