CVE-2026-59646: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA
A high-severity vulnerability (CVE-2026-59646) exists in Bouncy Castle for Java (BC-JAVA) where the DTLS handshake reassembler allocates a buffer based on an unchecked 24-bit length value. This affects versions before 1.85 and versions from 2.73.0 up to but not including 2.73.12, including certain FIPS series releases. The unchecked allocation can lead to excessive memory allocation, classified under CWE-789.
AI Analysis
Technical Summary
CVE-2026-59646 is a memory allocation vulnerability in the DTLS handshake reassembler component of Bouncy Castle for Java. The flaw arises because the buffer size is derived from an unchecked 24-bit length value, potentially causing excessive memory allocation. This issue affects BC-JAVA versions prior to 1.85 and versions in the range >=2.73.0 <2.73.12, as well as specific FIPS series versions before their respective 1.0.24, 2.0.24, and 2.1.24 releases. The vulnerability has a CVSS 4.0 base score of 8.7, indicating high severity, with no privileges or user interaction required and no vector complexity. No official remediation level or patch links are provided in the source data.
Potential Impact
Successful exploitation could lead to excessive memory allocation during the DTLS handshake process, which may cause denial of service or other memory-related impacts. The vulnerability does not require privileges or user interaction to exploit and is remotely exploitable over the network. There are no known exploits in the wild at the time of this report.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official remediation level or patch links are provided, users should monitor the vendor's announcements for updates and apply any forthcoming patches promptly. Until a fix is available, consider mitigating exposure by restricting access to affected services or applying any recommended temporary mitigations from the vendor.
CVE-2026-59646: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA
Description
A high-severity vulnerability (CVE-2026-59646) exists in Bouncy Castle for Java (BC-JAVA) where the DTLS handshake reassembler allocates a buffer based on an unchecked 24-bit length value. This affects versions before 1.85 and versions from 2.73.0 up to but not including 2.73.12, including certain FIPS series releases. The unchecked allocation can lead to excessive memory allocation, classified under CWE-789.
CVSS v4.0
Score 8.7high
Affected software
Legion of the Bouncy Castle Inc.
BC-JAVA
Legion of the Bouncy Castle Inc.
BC-LTS-JAVA
Legion of the Bouncy Castle Inc.
BC-FJA
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
CVE-2026-59646 is a memory allocation vulnerability in the DTLS handshake reassembler component of Bouncy Castle for Java. The flaw arises because the buffer size is derived from an unchecked 24-bit length value, potentially causing excessive memory allocation. This issue affects BC-JAVA versions prior to 1.85 and versions in the range >=2.73.0 <2.73.12, as well as specific FIPS series versions before their respective 1.0.24, 2.0.24, and 2.1.24 releases. The vulnerability has a CVSS 4.0 base score of 8.7, indicating high severity, with no privileges or user interaction required and no vector complexity. No official remediation level or patch links are provided in the source data.
Potential Impact
Successful exploitation could lead to excessive memory allocation during the DTLS handshake process, which may cause denial of service or other memory-related impacts. The vulnerability does not require privileges or user interaction to exploit and is remotely exploitable over the network. There are no known exploits in the wild at the time of this report.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official remediation level or patch links are provided, users should monitor the vendor's announcements for updates and apply any forthcoming patches promptly. Until a fix is available, consider mitigating exposure by restricting access to affected services or applying any recommended temporary mitigations from the vendor.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- bcorg
- Date Reserved
- 2026-07-06T06:58:29.263Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6fe8f3bf32cb7a34b623af
Added to database: 08/03/2026, 01:03:47 UTC
Last enriched: 08/10/2026, 15:19:13 UTC
Last updated: 09/13/2026, 22:01:35 UTC
Views: 60
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.