Vulnerability Details CVE-2026-63569
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.003
EPSS Ranking 25.7%
CVSS Severity
CVSS v3 Score 6.5
Products affected by CVE-2026-63569
-
cpe:2.3:a:bouncycastle:bc-csharp:-
-
cpe:2.3:a:bouncycastle:bc-csharp:1.7.0
-
cpe:2.3:a:bouncycastle:bc-csharp:1.7.0.1
-
cpe:2.3:a:bouncycastle:bc-csharp:1.7.0.2
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.0
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.1
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.10
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.2
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.3
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.4
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.5
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.6
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.7
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.8
-
cpe:2.3:a:bouncycastle:bc-csharp:1.8.9
-
cpe:2.3:a:bouncycastle:bc-csharp:1.9.0
-
cpe:2.3:a:bouncycastle:bc-csharp:2.0.0
-
cpe:2.3:a:bouncycastle:bc-csharp:2.1.0
-
cpe:2.3:a:bouncycastle:bc-csharp:2.1.1
-
cpe:2.3:a:bouncycastle:bc-csharp:2.2.0
-
cpe:2.3:a:bouncycastle:bc-csharp:2.2.1
-
cpe:2.3:a:bouncycastle:bc-csharp:2.3.0
-
cpe:2.3:a:bouncycastle:bc-csharp:2.3.1
-
cpe:2.3:a:bouncycastle:bc-csharp:2.4.0
-
cpe:2.3:a:bouncycastle:bc-csharp:2.5.0
-
cpe:2.3:a:bouncycastle:bc-csharp:2.5.1
-
cpe:2.3:a:bouncycastle:bc-csharp:2.6.0
-
cpe:2.3:a:bouncycastle:bc-csharp:2.6.1
-
cpe:2.3:a:bouncycastle:bc-csharp:2.6.2