CVE-2026-63569

CRITICAL CVSS 4.0: 9.1 EPSS 0.33%
Updated Oct 28, 2026
Legion Of The Bouncy Castle Inc.
Parameter Value
CVSS 9.1 (CRITICAL)
Affected Versions before 2.7.0
Fixed In 2.7.0
Type CWE-20 (Improper Input Validation)
Vendor Legion Of The Bouncy Castle Inc.
Public PoC No

Improper input validation in DHAgreement.CalculateAgreement (MTI/A0 two-pass Diffie-Hellman) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an on-path attacker to make the local party compute an agreed value the attacker already knows, defeating the key authentication MTI/A0 is meant to provide. It also allows a malicious peer to learn the local static private key modulo the small factors of p-1, and to recover it entirely in groups with many such factors. The attack uses a crafted out-of-range or small-order ephemeral value, and works because that value is raised to the static private key without the range and subgroup-membership checks applied to DH public keys.

Only applications that call DHAgreement directly are affected.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Bouncycastle Bc-Csharp
cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*
— 2.7.0