# CVE-2023-28113: russh may use insecure Diffie-Hellman keys

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-03-16 · Modified: 2025-02-25
- Aliases: GHSA-cqvm-j2r2-hwpg
- Record: https://cvemate.com/vulnerability/CVE-2023-28113 · JSON: https://cvemate.com/vulnerability/CVE-2023-28113/json

## Description

```text
russh is a Rust SSH client and server library. Starting in version 0.34.0 and prior to versions 0.36.2 and 0.37.1, Diffie-Hellman key validation is insufficient, which can lead to insecure shared secrets and therefore breaks confidentiality. Connections between a russh client and server or those of a russh peer with some other misbehaving peer are most likely to be problematic. These may vulnerable to eavesdropping. Most other implementations reject such keys, so this is mainly an interoperability issue in such a case. This issue is fixed in versions 0.36.2 and 0.37.1
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.638%, percentile 52.04%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- Crates.Io russh (Crates.Io): \< 0.36.2 \| ≥ 0.37.0, \< 0.37.1
- russh\_project russh: ≥ 0.34.0, \< 0.36.2 \| 0.37.0 \| 0.37.0:beta1
- warp-tech russh: ≥ 0.34.0, \< 0.34.0\* \| ≥ 0.36.2, \< 0.36.2 \| ≥ 0.37.0, \< 0.37.0\* \| ≥ 0.37.1, \< 0.37.1

## References

- <https://github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e>
- <https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L72-L76>
- <https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L78-L81>
- <https://github.com/warp-tech/russh/releases/tag/v0.36.2>
- <https://github.com/warp-tech/russh/releases/tag/v0.37.1>
- <https://github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28113>
- <https://github.com/warp-tech/russh/commit/45d2d82930bf4a675bd57abfafec8fe4065befcd>
- <https://github.com/warp-tech/russh>

---

Data as of 2026-12-05T14:16:44.294Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
