# CVE-2026-48107: Russh: Unchecked keyboard-interactive prompt count in client auth path

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- 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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-06-10T20:23:45.325Z
- Modified: 2026-07-23T09:10:00.113Z
- Also known as: GHSA-g9g7-5cgw-6v28
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Eugeny russh: >= 0.37.0, < 0.61.0
- russh (crates.io): from 0.37.0 before 0.61.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

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

## Sources

- CVE List: [CVE-2026-48107](https://www.cve.org/CVERecord?id=CVE-2026-48107), CVE Terms of Use, modified 2026-06-11
- GitHub Advisory Database: [GHSA-g9g7-5cgw-6v28](https://github.com/advisories/GHSA-g9g7-5cgw-6v28), CC-BY-4.0, modified 2026-06-11
- NVD: [CVE-2026-48107](https://nvd.nist.gov/vuln/detail/CVE-2026-48107), Public domain, modified 2026-07-23

---

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