Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP/network request with oversized-L HSS public key
-
DeliveryBouncy Castle parser reads L value without RFC 8554 bounds check
-
ExploitUnbounded memory allocation attempted in JVM heap
-
ExecutionHeap exhaustion triggers OutOfMemoryError
-
ImpactApplication process crash or sustained denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | Exploitation requires that the target application uses a vulnerable version of bc-java (before 1.85), bc-lts-java (before 2.73.12), or bc-fja (before 2.0.2 or 2.1.3), AND that the application parses or verifies HSS/LMS public keys sourced from attacker-controlled input - such as an API accepting PEM/DER-encoded post-quantum keys, a TLS stack validating HSS-based certificates, or any deserialization path that reaches HSSPublicKeyParameters.getInstance(). Applications using Bouncy Castle solely for RSA, ECDSA, AES, or other non-HSS algorithms are not affected. No authentication is required (PR:N per CVSS 4.0 vector), and no non-default server configuration is needed beyond the application having an HSS key-acceptance code path reachable from the network. Exploitation is limited in breadth by HSS/LMS not yet being a mainstream algorithm in production deployments. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N, score 8.7) describes a remotely exploitable, low-complexity, unauthenticated denial-of-service with no confidentiality or integrity impact. The U:Amber urgency modifier signals a meaningful but not emergency-tier threat. No EPSS score was provided in the input data, so exploitation probability is unknown. No CISA KEV listing exists, confirming no observed active exploitation at time of analysis. Real-world risk is meaningfully constrained by one factor: the vulnerable code path is in the HSS/LMS post-quantum signature implementation, which - while increasingly adopted - is still far less prevalent in production workloads than RSA or ECDSA paths. Applications using Bouncy Castle exclusively for classical algorithms are unaffected. However, for services that do process external HSS/LMS public keys (e.g., post-quantum TLS experiments, PQC certificate validation, or research-grade PKI), the attack is trivially reproducible from the network without credentials, making it a genuine priority for those deployments. |
| Exploit ScenarioDerived | An attacker submits a network request to a service that accepts HSS/LMS public keys for verification - such as a post-quantum certificate validation endpoint or a PQC-enabled signing API - embedding a crafted key with an L value far exceeding the RFC 8554 maximum of 8. When Bouncy Castle's parser ingests the key without bounds validation, it attempts to allocate memory proportional to the malicious L value, rapidly exhausting the JVM heap. The result is an OutOfMemoryError or severe garbage collection pressure, crashing or hanging the service. No public exploit code has been identified at time of analysis, but constructing the malicious byte sequence requires only basic knowledge of the HSS key encoding format. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
Uncontrolled memory allocation in Bouncy Castle for Java's HSS public-key parser allows remote unauthenticated attackers to exhaust JVM heap memory by supplying a crafted public key with an arbitrarily large HSS level count (L value), causing denial of service during signature verification. All three product lines are affected: bc-java before 1.85, bc-lts-java before 2.73.12, and BC-FIPS (bc-fja) before 2.0.2/2.1.3 depending on series. No public exploit has been identified at time of analysis and no CISA KEV listing exists, but the AV:N/AC:L/PR:N attack profile and Bouncy Castle's ubiquity as a Java crypto dependency make this a credible availability risk for any service accepting external HSS/LMS key material.
RemediationAI
Upgrade to the patched releases: bc-java 1.85 or later, bc-lts-java 2.73.12 or later, bc-fja 2.0.2 (for 2.0.X deployments) or 2.1.3 (for 2.1.X deployments). The fix commits are available at https://github.com/bcgit/bc-java/commit/311cabbb6fcead7647fec16681423a4439118276 and https://github.com/bcgit/bc-java/commit/6c9f30b3fdaa3f2140809278caebbffc55920922; upgrading to an official tagged release is strongly preferred over applying patches manually. If patching is not immediately possible, the most effective compensating control is to reject or sanitize HSS/LMS public key material before it reaches Bouncy Castle's parser - for example, enforcing a maximum byte-length cap on inbound key blobs at the API or network boundary, which prevents oversized L values from being submitted. Be aware this control requires application-level changes and does not address unknown LMS/OTS type-code abuse covered by the same fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Bouncy Castle for Java is one of the most widely-used cryptographic provider libraries in the Java ecosystem, implementing a broad range of algorithms including post-quantum schemes. The affected code implements HSS (Hierarchical Signature Scheme) and its underlying LMS (Leighton-Micali Signature) as specified in RFC 8554. CWE-789 (Uncontrolled Memory Allocation) is the root cause: the HSSPublicKeyParameters.getInstance() parser did not validate that the L field - the HSS hierarchy level count - fell within the RFC 8554-defined valid range of 1 to 8 inclusive. A crafted byte sequence embedding an arbitrarily large L value caused the library to attempt allocation of a correspondingly enormous data structure during key parsing or signature verification. The fix visible in commit 311cabbb6f adds the explicit bounds check 'if (L < 1 || L > 8)' per RFC 8554 Section 6, enforces exact-consumption of public key bytes (rejecting trailing garbage as required by RFC 8554 Sections 5.3 and 6.1), and validates LMS type codes and LM-OTS type codes against known-valid values, rejecting unknowns with clean IOExceptions instead of proceeding with undefined behavior.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable unauthenticated parsing path, no scope change, and exclusively availability impact via unbounded heap allocation; no confidentiality or integrity effect.
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (bcorg).
CVSS VectorVendor: bcorg
DescriptionCVE.org
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).
Executive ViewAI
Bouncy Castle for Java has an unauthenticated remote denial-of-service vulnerability (CVE-2026-58060) with no public exploit identified at time of analysis. Services using this cryptographic library to process external key material could face outages; given Bouncy Castle's prevalence in Java applications, exposure is likely widespread. Patches are available and deployment should be prioritized for systems handling untrusted cryptographic input.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Bouncy Castle for Java Cryptographic Vulnerabilities
View all 23Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-52091
GHSA-3q78-fqj5-g3mc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB