Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft PKCS#8 key with extreme KDF cost
-
DeliverySubmit key via upload or API endpoint
-
ExploitApplication invokes BC PBES2 decryptor
-
ExecutionUnbounded scrypt/PBKDF2 computation begins
-
PersistCPU or JVM memory exhausted
-
ImpactThread/process denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application uses a Bouncy Castle PKCS#8 or PBES2 decryptor (specifically |
| Impact | The CVSS 4.0 base score of 5.3 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L) reflects a moderate, network-reachable DoS with low availability impact. The UI:P metric is significant: passive user interaction is required, meaning the target application must actually attempt to decrypt attacker-supplied key material. This constrains exploitation to scenarios where an application loads external or user-supplied PEM/PKCS#8 private keys - TLS mutual-authentication endpoints that accept client certificates, certificate management APIs, SSH-key-import features, or similar flows. EPSS data is not provided in the input. There is no KEV listing and no POC has been identified, suggesting no confirmed opportunistic exploitation. The real-world priority is moderate: the impact ceiling is a process-level DoS (CPU/memory exhaustion on the thread that triggers decryption) rather than code execution or data exfiltration. However, any service that accepts key material from untrusted users and immediately decrypts it is directly exploitable with a trivially crafted PKCS#8 file, making the attack low-complexity once an applicable endpoint is found. The SUSE tag in the intelligence data suggests downstream Linux distribution tracking, which may broaden the effective patch surface. |
| Exploit ScenarioDerived | An attacker submits a crafted PKCS#8-encoded private key - for example, through a mutual-TLS client-certificate upload endpoint or a key-import API - in which the scrypt cost parameter N is set to an astronomically large value (e.g., 2^30) within the unauthenticated ASN.1 container. When the application calls a Bouncy Castle PBES2 decryptor to decrypt the key, it allocates and processes gigabytes of scrypt working memory before returning an error, causing the handling thread to stall and potentially crashing the JVM with an OutOfMemoryError. No public POC has been identified, but the attack requires only knowledge of PKCS#8 ASN.1 structure and is trivially constructable with standard tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
Denial-of-service via unbounded KDF cost in Bouncy Castle for Java's PKCS#8 / PBES2 decryptors allows remote attackers to exhaust CPU or memory by supplying crafted encrypted key material with extreme KDF parameters. The vulnerability affects bc-java before 1.85, bc-lts-java before 2.73.12, and BC-FJA (bcpkix-fips) across all supported 1.0.X, 2.0.X, and 2.1.X series. No public exploit has been identified at time of analysis, and active exploitation has not been confirmed by CISA KEV.
RemediationAI
Upgrade to bc-java 1.85 or later, bc-lts-java 2.73.12 or later, or the appropriate BC-FJA release (bcpkix-fips 1.0.12, 2.0.12, or 2.1.12 depending on the series in use). The patch is confirmed via commit 7ab4ee6 at https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b and advisory at https://github.com/bcgit/bc-java/wiki/CVE-2026-15055. If immediate patching is not possible, a compensating control is to set the JVM system properties org.bouncycastle.pbe.max_iteration_count and org.bouncycastle.pbe.max_scrypt_memory to conservative upper bounds (the patched defaults are 10,000,000 iterations and 1,073,741,824 bytes respectively); note these properties are only honoured after upgrading to the fixed version, so they are not retroactively applicable to unpatched jars. For applications that load external key material, the most effective architectural mitigation is to reject or sandbox PKCS#8/PEM input from untrusted sources before passing it to Bouncy Castle decryptors - for example, validating that supplied key files originate from trusted internal sources, which eliminates the attacker-controlled KDF cost vector entirely without requiring an application restart.
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
PKCS#8 and PBES2 (Password-Based Encryption Scheme 2) protect private keys by deriving an encryption key from a password via a KDF - either PBKDF2 or scrypt. Critically, the KDF cost parameters (PBKDF2 iteration count, scrypt N cost factor, r block size) are stored inside the encrypted-key ASN.1 container as unauthenticated metadata that the decryptor reads and acts upon before any authentication occurs. In all affected Bouncy Castle versions, the decryptors JceOpenSSLPKCS8DecryptorProviderBuilder and JcePKCSPBEInputDecryptorProviderBuilder honoured whatever iteration count or scrypt cost was embedded in this unauthenticated container with no upper bound. CWE-770 (Allocation of Resources Without Limits or Throttling) describes this class: the application allocates CPU cycles or memory proportional to an attacker-controlled integer with no ceiling check. Affected CPEs include cpe:2.3:a:legion_of_the_bouncy_castle_inc.:bc-java:*, bc-lts-java:*, and bc-fja:*. The fix, visible in commit 7ab4ee6, introduces Properties.PBE_MAX_ITERATION_COUNT (default 10,000,000) and Properties.PBE_MAX_SCRYPT_MEMORY (default 1 GiB) with bounds-checking functions invoked before key derivation begins.
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:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Amber
Network-reachable but requires application to actively process attacker-supplied key material (UI:R); no confidentiality or integrity impact, only limited availability exhaustion.
Primary rating from Vendor (bcorg).
CVSS VectorVendor: bcorg
DescriptionCVE.org
In Bouncy Castle for Java before 1.85, PKCS#8 / PBES2 decryptors honour unbounded KDF cost from input. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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 Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| 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-52019
GHSA-mx98-27g8-c9xc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB