Description
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).
Published: 2026-08-03
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw stems from the DTLS handshake reassembler allocating a buffer based on an unchecked 24‑bit length field. Because the length value is not validated against the actual input size, an attacker can trigger a buffer overrun, causing memory corruption that may crash the application or potentially allow arbitrary code execution, as described by CWE‑789.

Affected Systems

The vulnerability affects all Bouncy Castle for Java releases prior to 1.85, including the long‑term support branch before 2.73.12, and all Bouncy Castle for Java FIPS (BC‑FJA) builds before bctls‑fips 1.0.24, 2.0.24, and 2.1.24. Systems that use these libraries in DTLS implementations should verify their software version against these thresholds.

Risk and Exploitability

The CVSS score of 8.7 signals a high‑severity vulnerability, and although an EPSS score is not available, the absence of a KEV listing does not mitigate the risk of exploitation. An attacker can supply a malicious DTLS handshake packet to a server or client using the affected library, triggering the unchecked buffer allocation. Current mitigation requires applying the published patch or upgrading to a fixed library release.

Generated by OpenCVE AI on August 3, 2026 at 09:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Bouncy Castle for Java library to version 1.85 or newer, or to LTS 2.73.12 or newer, and for FIPS builds upgrade to bctls‑fips 1.0.24, 2.0.24, or 2.1.24 or later.
  • If an upgrade cannot be applied immediately, disable DTLS processing in the affected application or replace it with a vetted DTLS implementation to prevent the unchecked allocation.
  • After applying the patch or upgrade, conduct functional testing of the DTLS handshake in a staging environment before deploying changes to production.

Generated by OpenCVE AI on August 3, 2026 at 09:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java

Mon, 03 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 05:30:00 +0000


Mon, 03 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
Description 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).
Title DTLS handshake reassembler allocates buffer from unchecked 24-bit length
Weaknesses CWE-789
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Legion Of The Bouncy Castle Inc. Bc-fja Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T14:53:11.064Z

Reserved: 2026-07-06T06:58:29.263Z

Link: CVE-2026-59646

cve-icon Vulnrichment

Updated: 2026-08-03T14:53:05.814Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T01:16:44.733

Modified: 2026-08-04T14:50:12.360

Link: CVE-2026-59646

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:52:33Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value