Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
SSH.NET versions before 2020.0.2 are vulnerable. During an X25519 key exchange, the client's private key is generated with System.Random, which is not cryptographically secure and whose seed can be brute-forced. An attacker able to eavesdrop on the connection could then decrypt the session. Upgrade to version 2020.0.2 or later. Alternatively, disable the curve25519-sha256 and [email protected] key exchange algorithms before connecting.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.5 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.015, the 74th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:24 UTC First seen by agentprime
- 31 Oct 2026, 15:24 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-72p8-v4hg-v45p
- OSV: GHSA-72p8-v4hg-v45p
- github.com/sshnet/SSH.NET/security/advisories/GHSA-72p8-v4hg-v45p
- nvd.nist.gov/vuln/detail/CVE-2022-29245
- github.com/sshnet/SSH.NET/commit/03c6d60736b8f7b42e44d6989a53f9b644a091fb
- github.com/sshnet/SSH.NET/commit/f1f273cf349532b9d41c1de51d3b83a9accedc88
- github.com/sshnet/SSH.NET
- github.com/sshnet/SSH.NET/blob/bc99ada7da3f05f50d9379f2644941d91d5bf05a/src/Renci.SshNet/Security/KeyExchangeECCurve25519.cs#L51
- github.com/sshnet/SSH.NET/releases/tag/2020.0.2