Medium severity · published Oct 2, 2026
CVE-2026-63569
MTI/A0 DHAgreement does not validate the peer's ephemeral value
6.5
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 34% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BC
bc-csharp · Legion of the Bouncy Castle Inc.
before 2.7.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-63569
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-63569
vendor-advisory
https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63569
patch
https://github.com/bcgit/bc-csharp/commit/fe236ad207c5960eeae1ebb6560c783a3bb5b692
More from bc-csharp
7.5
CVE-2026-103604
Quadratic-time escaping when converting X.509 distinguished names to strings
7.5
CVE-2026-103603
Unbounded HSS public key level count allows huge array allocation during signature verification
7.5
CVE-2026-103601
CcmBlockCipher and KCcmBlockCipher leave unverified plaintext in the output buffer after a failed tag check
7.5
CVE-2026-103600
Unbounded ASN.1 nesting depth causes process-terminating stack overflow
7.5
CVE-2026-63578
Unbounded PBE iteration count when decrypting PKCS#8 private keys
