CVE-2026-48107
MEDIUM 6.5CVSS 3.1Russh: Unchecked keyboard-interactive prompt count in client auth path
Russh is a Rust SSH client & server library. From version 0.37.0 to before version 0.61.0, in the russh client keyboard-interactive authentication path, a malicious SSH server could send a USERAUTH_INFO_REQUEST with an attacker-controlled prompt count, and the client would use that raw count directly in Vec::with_capacity(...) before validating that enough prompt data was actually present in the packet. This issue has been patched in version 0.61.0.
- Published
- 10 Jun 2026
- Last modified
- 23 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-20
- Also known as
- GHSA-g9g7-5cgw-6v28
- Sources
- NVDJSONOSV GHSA-g9g7-5cgw-6v28JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | russh | >= 0.37.0, < 0.61.0 | 0.61.0 |
References
- https://github.com/Eugeny/russh/security/advisories/GHSA-g9g7-5cgw-6v28 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-48107 · ADVISORY
- https://github.com/Eugeny/russh · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Jun 2026)