Description
In Bouncy Castle for Java before 1.85, MTI/A0 DH agreement exponentiates unvalidated peer value. This issue also affects Bouncy Castle for Java LTS before 2.73.12.
Published: 2026-08-03
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in Bouncy Castle for Java libraries prior to version 1.85 and the LTS line before 2.73.12, where the Diffie‑Hellman key agreement routine exponentiates a peer value that has not been validated. Because the library accepts any peer‑provided DH parameters, an attacker can supply crafted values that lead to an incorrect or predictable shared secret. This can allow the attacker to recover session keys, decrypt traffic, or otherwise break confidentiality for connections that rely on the affected library.

Affected Systems

Any Java application that uses Bouncy Castle for Java up to version 1.84 or the long‑term support build up to 2.73.11 is affected. The library is widely used in SSL/TLS stacks, secure messaging, and other cryptographic components in enterprise and open source Java projects.

Risk and Exploitability

The CVSS base score is 9.3, indicating a high security impact. EPSS is not available and the flaw is not listed in the CISA Known Exploited Vulnerabilities catalog. The attack vector is effectively remote, as a malicious peer can transmit the unvalidated DH parameters over a network that the application trusts. Exploitation would require the application to initiate or accept a DH key agreement session with a compromised party, which is common in many network protocols that rely on Bouncy Castle.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Bouncy Castle to version 1.85 or later, or upgrade the LTS build to 2.73.12 or newer, which includes the necessary validation of peer DH values.
  • If an upgrade cannot be performed immediately, implement application‑level validation of all DH parameters before supplying them to the library, ensuring they conform to expected group sizes and prime limits.
  • Restrict inbound or outbound connections that perform DH key agreement to trusted peers only, or block untrusted network traffic that could deliver malicious DH parameters.

Generated by OpenCVE AI on August 3, 2026 at 09:07 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-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-java
Legion Of The Bouncy Castle Inc. bc-lts-java

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

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, '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, MTI/A0 DH agreement exponentiates unvalidated peer value. This issue also affects Bouncy Castle for Java LTS before 2.73.12.
Title MTI/A0 DH agreement exponentiates unvalidated peer value
Weaknesses CWE-20
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber'}


Subscriptions

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

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T13:32:53.676Z

Reserved: 2026-07-06T07:09:01.524Z

Link: CVE-2026-59650

cve-icon Vulnrichment

Updated: 2026-08-03T13:32:49.732Z

cve-icon NVD

Status : Undergoing Analysis

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

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

Link: CVE-2026-59650

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-20

    Improper Input Validation