CVE-2026-59646: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA
CVE-2026-59646 is a high-severity vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library. The issue involves the DTLS handshake reassembler allocating a buffer based on an unchecked 24-bit length value, leading to potential memory allocation with excessive size. This affects Bouncy Castle for Java versions prior to 1.85 and certain LTS and FIPS versions before specified patch releases.
AI Analysis
Technical Summary
The vulnerability CVE-2026-59646 in BC-JAVA arises from the DTLS handshake reassembler allocating memory buffers using an unchecked 24-bit length value. This can cause excessive memory allocation, classified under CWE-789 (Memory Allocation with Excessive Size Value). Affected versions include Bouncy Castle for Java before 1.85, Bouncy Castle for Java LTS versions from 2.73.0 up to but not including 2.73.12, and Bouncy Castle for Java FIPS versions 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). The CVSS 4.0 base score is 8.7, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability.
Potential Impact
Successful exploitation could lead to excessive memory allocation during DTLS handshake processing, potentially causing denial of service or resource exhaustion. The vulnerability does not require authentication or user interaction and can be triggered remotely over the network. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation is indicated in the provided data. Users should monitor the official Bouncy Castle advisories for patches addressing this vulnerability and apply them promptly once available.
CVE-2026-59646: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA
Description
CVE-2026-59646 is a high-severity vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library. The issue involves the DTLS handshake reassembler allocating a buffer based on an unchecked 24-bit length value, leading to potential memory allocation with excessive size. This affects Bouncy Castle for Java versions prior to 1.85 and certain LTS and FIPS versions before specified patch releases.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/bctls-lts8onRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-59646 in BC-JAVA arises from the DTLS handshake reassembler allocating memory buffers using an unchecked 24-bit length value. This can cause excessive memory allocation, classified under CWE-789 (Memory Allocation with Excessive Size Value). Affected versions include Bouncy Castle for Java before 1.85, Bouncy Castle for Java LTS versions from 2.73.0 up to but not including 2.73.12, and Bouncy Castle for Java FIPS versions 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). The CVSS 4.0 base score is 8.7, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability.
Potential Impact
Successful exploitation could lead to excessive memory allocation during DTLS handshake processing, potentially causing denial of service or resource exhaustion. The vulnerability does not require authentication or user interaction and can be triggered remotely over the network. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation is indicated in the provided data. Users should monitor the official Bouncy Castle advisories for patches addressing this vulnerability and apply them promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- bcorg
- Date Reserved
- 2026-07-06T06:58:29.263Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6fe8f3bf32cb7a34b623af
Added to database: 08/03/2026, 01:03:47 UTC
Last enriched: 08/03/2026, 01:18:26 UTC
Last updated: 08/03/2026, 02:38:02 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.