Back to CVE records
Critical 9.1Published Oct 2, 2026

CVE-2026-63569MTI/A0 DHAgreement does not validate the peer's ephemeral value

Updated under an hour ago ()

Does this affect you?

It affects Legion of the Bouncy Castle Inc. bc-csharp. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.40%, higher than 32% of scored CVEs.

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
9.1 CRITICAL (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-20
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.40% (percentile 32)
Assigned by
bcorg
NVD analysis
Undergoing Analysis
Record last updated
Oct 2, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Legion of the Bouncy Castle Inc. bc-csharp
legion_of_the_bouncy_castle:bc_csharp (from the name)
before 2.7.0
CNA record

References

  • vendor-advisory
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.