Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59646: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA

0
High
VulnerabilityCVE-2026-59646cvecve-2026-59646cwe-789
Published: 08/03/2026 (08/03/2026, 00:48:29 UTC)
Source: CVE Database V5
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
bctls
pkg:github/bctls
Affected versions
<1.85
GitHub Actionsmore threats →cve
bctls-lts8on
pkg:github/bctls-lts8on
Affected versions
>=2.73.0 <2.73.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 01:18:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses