Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify DTLS UDP endpoint on target
-
DeliverySend crafted handshake fragment with maximum 24-bit declared length
-
ExploitTrigger unchecked 16MB heap allocation pre-authentication
-
ExecutionRepeat at high rate across connections
-
ImpactExhaust JVM heap and crash service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | The target application must use Bouncy Castle's DTLS stack (bc-java, bc-lts-java, or bctls-fips) for network communication and must have a DTLS endpoint reachable by the attacker over UDP. The vulnerable allocation occurs pre-authentication - no valid credentials, prior session state, or completed handshake is required. Because DTLS is UDP-based, source address spoofing is possible on networks lacking BCP38 filtering, enabling amplification-style DoS from spoofed sources. Exploitation is scoped exclusively to the DTLS handshake path; applications using Bouncy Castle only for TLS/TCP, JCE cryptographic operations (signing, encryption), or PKIX without a DTLS transport layer are not vulnerable via this code path. Sustained or repeated connection attempts are likely required to exhaust memory on a well-provisioned JVM rather than a single packet, which may provide a detection window in network flow monitoring. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H) accurately reflects the threat model: any unauthenticated network attacker can trigger repeated large heap allocations with crafted UDP packets, and no special attack preconditions are required. Impact is limited entirely to availability; the CVSS vector confirms no confidentiality or integrity exposure. Notably, the 'Information Disclosure' tag in the source intelligence is inconsistent with the CVSS impact metrics (VC:N) - no confidentiality impact is established by the description or the patch diff, and this tag appears to be a classification artifact or secondary concern not elaborated in the advisory; security teams should not assume data exposure. EPSS data was not provided, leaving quantified exploitation probability unestimated from that source. The vulnerability is not in CISA KEV and no public exploit code has been identified, reducing urgency somewhat relative to the raw score. However, AV:N/AC:L/PR:N/UI:N makes this trivially automatable against any internet-exposed DTLS endpoint. Real-world risk is highest for Java services using Bouncy Castle's DTLS stack exposed to untrusted networks (e.g., DTLS-based IoT gateways, VoIP, WebRTC backends, or FIPS-regulated financial services using BC-FJA). Applications using Bouncy Castle only for TLS-over-TCP or for non-transport cryptography are unaffected by this specific path. |
| Exploit ScenarioDerived | An attacker with UDP reachability to a Java server's DTLS port sends a flood of crafted DTLS handshake records, each advertising a 24-bit message length near the maximum (~16MB), targeting the reassembler before any handshake authentication completes. Each malicious record causes the server to allocate a large heap buffer; repeated at sufficient rate, this exhausts the JVM heap and triggers an OutOfMemoryError, crashing the service or causing severe degradation. No public exploit code has been released, but the attack requires only UDP socket access and knowledge of the DTLS record format, both of which are publicly documented. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
Memory exhaustion denial-of-service in Bouncy Castle's DTLS implementation allows remote unauthenticated attackers to crash or degrade Java applications by sending crafted handshake messages with inflated 24-bit length fields. Affected are bc-java before 1.85, bc-lts-java before 2.73.12, and BC-FJA (bctls-fips) before 1.0.24, 2.0.24, or 2.1.24 depending on the deployed branch. The buffer allocation occurs pre-authentication during the DTLS handshake reassembly phase - before any signature or Finished verification - making this exploitable without credentials against any exposed DTLS endpoint. No public exploit code has been identified and the vulnerability is not listed in CISA KEV.
RemediationAI
The primary fix is to upgrade to a patched release: bc-java 1.85 or later, bc-lts-java 2.73.12 or later, or bctls-fips 1.0.24 (for 1.0.X deployments), 2.0.24 (for 2.0.X), or 2.1.24 (for 2.1.X). The upstream patch commits are available at https://github.com/bcgit/bc-java/commit/2ea38942c7917f6d7ab4de93d8a5336d021df0d9 and https://github.com/bcgit/bc-java/commit/2d98721e71bbd822ffa0f84e088eea645cf679fa; the advisory at https://github.com/bcgit/bc-java/wiki/CVE-2026-59646 should be treated as authoritative for confirmed artifact release versions. SUSE and other downstream distributors should be checked for updated packages. Where immediate patching is not possible, restrict inbound UDP traffic to DTLS-listening ports to known, trusted peers using firewall or security group rules - this eliminates the attack surface from arbitrary internet sources but does not protect against compromised or malicious trusted peers, and may not be feasible in open-service deployments. Reducing JVM heap size (-Xmx) shrinks the memory available for exhaustion and may cause faster OOM crashes rather than sustained degradation, but it does not prevent the vulnerability and may cause collateral availability issues for legitimate traffic.
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 is a widely used open-source Java cryptographic library covering three product lines (CPE: cpe:2.3:a:legion_of_the_bouncy_castle_inc.:bc-java, bc-lts-java, bc-fja). The root cause is CWE-789 (Uncontrolled Memory Allocation) in DTLSReliableHandshake.java. DTLS (Datagram TLS) operates over UDP and requires fragment reassembly because handshake messages may be split across multiple datagrams. The reassembler reads a 24-bit message length field from each incoming handshake record and allocates a buffer sized to that declared length - up to 16,777,215 bytes (16MB) per message - without any configured upper bound. Crucially, this allocation happens before any cryptographic material (signatures, Finished MAC) is verified, meaning an unauthenticated attacker controls the allocation size. The fix, in commits 2ea38942 and 2d98721e, introduces a maxHandshakeMessageSize parameter (defaulting to at least 1024 bytes, bounded by the application's configured maximum) propagated through DTLSClientProtocol and DTLSServerProtocol into DTLSReliableHandshake.processRecord(), which now silently drops records whose declared length exceeds the maximum rather than allocating the attacker-controlled buffer.
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-authentication DTLS endpoint requires no privileges or interaction; impact is availability-only heap exhaustion with no scope change.
Primary rating from Vendor (bcorg).
CVSS VectorVendor: bcorg
DescriptionCVE.org
In Bouncy Castle for Java before 1.85, DTLS handshake reassembler allocates buffer from unchecked 24-bit length. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).
Executive ViewAI
Bouncy Castle's DTLS implementation contains a remote, unauthenticated denial-of-service vulnerability affecting Java applications across bc-java, bc-lts-java, and BC-FJA libraries. Attackers can crash or significantly degrade exposed services by exploiting memory exhaustion during the handshake phase without requiring valid credentials. Organizations running DTLS-enabled Java services face immediate service disruption risk until patched.
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-52028
GHSA-4m8h-6737-hrw6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB