Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted OpenPGP certificate to parsing endpoint
-
DeliverySupply User Attribute subpacket with ~2 GiB declared body length
-
ExploitUserAttributeSubpacketInputStream reads length and calls new byte[bodyLen - 1]
-
ExecutionJVM heap exhaustion before any body bytes are read
-
PersistOutOfMemoryError or process crash
-
ImpactService denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | The vulnerability fires during OpenPGP certificate parsing in |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) confirms a remotely exploitable, unauthenticated, low-complexity denial-of-service with high availability impact and no attack requirements. The attack is trivially automatable: a single malformed certificate triggers allocation exhaustion before any authentication check can occur. No EPSS data was provided in the source intelligence; the absence of a KEV listing suggests no confirmed widespread active exploitation at time of analysis. However, Bouncy Castle is one of the most pervasive cryptographic libraries in the Java ecosystem, meaning the downstream exposure surface across application servers, key management services, and PGP-enabled mail infrastructure is very broad. The availability-only impact (VC:N/VI:N/VA:H) means no data exfiltration or tampering is possible, but a successful attack causes JVM heap exhaustion leading to OutOfMemoryError or process termination in any service parsing untrusted OpenPGP certificates. The 'Information Disclosure' tag in the CVE record is inconsistent with the technical impact described in the advisory and commit diff, which show a pure DoS; this tag should not be treated as confirmed. The fix is available and straightforward to apply, keeping remediation cost low. |
| Exploit ScenarioDerived | An attacker constructs a malicious OpenPGP certificate containing a User Attribute subpacket with a 4-octet length header declaring approximately 2 GiB of body data, then submits it to any service endpoint-such as a PGP key import API, key server query handler, or signed-message verification service-backed by a vulnerable Bouncy Castle version. The JVM allocates a multi-gigabyte byte array before reading any body content, triggering an OutOfMemoryError or JVM process termination. No public proof-of-concept has been confirmed at time of analysis, but the attack structure is directly reconstructable from the public commit diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
Memory exhaustion in Bouncy Castle for Java's OpenPGP parser enables unauthenticated remote denial of service via a crafted User Attribute subpacket with an oversized length header. All Java applications importing untrusted OpenPGP certificates using bc-java before 1.85, bc-lts-java before 2.73.12, or BC-FJA (FIPS) in affected series are vulnerable to pre-authentication JVM heap exhaustion. No KEV listing or public exploit has been confirmed at time of analysis, but the zero-complexity unauthenticated network attack vector and CVSS 4.0 score of 8.7 signal high operational priority for services that accept OpenPGP certificates from external sources.
RemediationAI
Upgrade to Bouncy Castle for Java 1.85 or later, Bouncy Castle for Java LTS 2.73.12 or later, or the corrected BC-FJA (bcpg-fips) release appropriate to your series: 1.0.13 (1.0.X), 2.0.13 (2.0.X), or 2.1.13 (2.1.X). The upstream patch commit is available at https://github.com/bcgit/bc-java/commit/a43c40dc12c3e1c6cbd03c83fe30aaec4029b824; the fix is a released patched version per vendor advisory, though the exact artifact publication should be confirmed against the Maven Central repository for your specific dependency coordinate. If immediate upgrade is not feasible, implement upstream input size validation that rejects OpenPGP certificates with declared subpacket lengths exceeding 2 MiB before they reach the Bouncy Castle parser-this blocks the allocation trigger but requires a custom parsing wrapper. Alternatively, disable or network-restrict any endpoint that accepts untrusted OpenPGP certificates (key import, certificate upload, PGP signature verification); this eliminates the attack surface entirely but may break OpenPGP key management features. The vendor advisory is at https://github.com/bcgit/bc-java/wiki/CVE-2026-59649.
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
CWE-789 (Uncontrolled Memory Allocation) in the OpenPGP packet parsing component (bcpg) of Bouncy Castle for Java. The vulnerable class UserAttributeSubpacketInputStream reads the declared body length from the wire header and immediately executes new byte[bodyLen - 1] to allocate a buffer. The only guard was StreamUtil.findLimit(), which for BCPGInputStream-the stream type used during packet parsing-returns a value near the JVM heap ceiling rather than the bytes actually available on the wire. A packet header declaring ~2 GiB of body data therefore forces a multi-gigabyte heap allocation before a single body byte is consumed. The fix introduces MAX_SUBPACKET_LEN = 2 * 1024 * 1024 (2 MiB), enforced in UserAttributeSubpacketInputStream independently of the findLimit() hint, matching the caps already applied to SignaturePacket.MAX_SUBPACKET_LEN and PublicKeyPacket.MAX_LEN. The advisory explicitly identifies this as the structural sibling of CVE-2026-3505 (signature subpackets). Affected CPEs cover all three distribution lines: cpe:2.3:a:legion_of_the_bouncy_castle_inc.:bc-java:*, bc-lts-java:*, and bc-fja:*.
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 pre-auth parse path, no privileges or interaction required; impact is heap exhaustion (availability only) with no confidentiality or integrity effect.
Primary rating from Vendor (bcorg).
CVSS VectorVendor: bcorg
DescriptionCVE.org
In Bouncy Castle for Java before 1.85, OpenPGP user-attribute subpacket length bounded only by JVM max memory. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).
Executive ViewAI
Bouncy Castle for Java versions before 1.85 and 2.73.12 contain a remote denial-of-service vulnerability in their OpenPGP parser that allows attackers to crash Java applications by sending maliciously crafted certificates without authentication. Any organization deploying Java applications that process OpenPGP certificates from external sources-including email systems, secure messaging platforms, and certificate management tools-faces immediate application availability risk from network-accessible attackers.
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: 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-52025
GHSA-r7h8-35pv-fwgx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB