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

- Severity: Critical 9.1 (CVSS:4.0, scored by bcorg) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-10-02T07:00:23.526Z
- Modified: 2026-10-28T14:58:49.057Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: bcorg

## 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.

(As written by CVE List.)

## Affected

- BouncyCastle.Cryptography: before 2.7.0
- bouncycastle bc-csharp: before 2.7.0

## Every score

- bcorg: CVSS:4.0 9.1 Critical `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63569> (patch, vendor-advisory)
- <https://github.com/bcgit/bc-csharp/commit/fe236ad207c5960eeae1ebb6560c783a3bb5b692> (patch)

## Sources

- CVE List: [CVE-2026-63569](https://www.cve.org/CVERecord?id=CVE-2026-63569), CVE Terms of Use, modified 2026-10-02
- NVD: [CVE-2026-63569](https://nvd.nist.gov/vuln/detail/CVE-2026-63569), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-63569 · Whole record: https://cve.day/CVE-2026-63569.json · Rebuilt by cve.day 2026-11-25T22:59:41.906Z
