{"id":"CVE-2026-63569","published":"2026-10-02T07:00:23Z","modified":"2026-10-02T19:07:59Z","title":"MTI/A0 DHAgreement does not validate the peer's ephemeral value","vendor":"Legion of the Bouncy Castle Inc.","product":"bc-csharp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00326,"percentile":0.26336,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63569","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-csharp/commit/fe236ad207c5960eeae1ebb6560c783a3bb5b692","tags":["patch"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.27},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"bc-csharp","versions":["< 2.7.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-02T19:06:30.758087Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-91220","exploited":false,"provenance":"source"}}