CVE-2026-59650

Legion of the Bouncy Castle · BC-JAVA

Bouncy Castle for Java and Java LTS versions contain an improper input validation vulnerability where peer values are exponentiated without validation during Diffie-Hellman key agreement.

Executive summary

An unauthenticated remote attacker could exploit an improper input validation flaw in Bouncy Castle for Java to compromise cryptographic integrity.

Vulnerability

The library improperly validates peer values during the MTI or A0 Diffie-Hellman key agreement process. This flaw allows an unauthenticated attacker to supply malicious input, potentially leading to incorrect cryptographic operations.

Business impact

The library is a foundational component for many Java applications, making this a high-risk vulnerability. Successful exploitation could lead to the compromise of encrypted communications or the bypass of security controls, warranting a critical severity rating given the CVSS score of 9.3.

Remediation

Immediate Action: Upgrade to Bouncy Castle for Java version 1.85 or Bouncy Castle for Java LTS version 2.73.12 immediately.

Proactive Monitoring: Review application logs for unusual cryptographic errors or handshake failures that might indicate an attempt to manipulate key exchange parameters.

Compensating Controls: Ensure that downstream applications using this library are isolated within secure network segments to limit exposure to untrusted peer connections.

Exploitation status

Public Exploit Available: No (exploit_available: false)

Analyst recommendation

Given the critical nature of cryptographic libraries, organizations must prioritize patching Bouncy Castle dependencies. Update all instances of BC-JAVA and BC-LTS-JAVA to the specified fixed versions to ensure the integrity of key exchange mechanisms.