CVE-2026-63569
Published:October 02, 2026
Updated:October 09, 2026
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.
Affected Packages
BouncyCastle.Cryptography (DOT_NET):
Affected version(s) >=2.0.0.20352 <2.7.0Fix Suggestion:
Update to version 2.7.0https://github.com/bcgit/bc-csharp.git (GITHUB):
Affected version(s) >=release-2.0.0 <release-2.7.0Fix Suggestion:
Update to version release-2.7.0bouncycastle.cryptography (NUGET):
Affected version(s) >=2.0.0 <2.7.0Fix Suggestion:
Update to version 2.7.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.40