{"id":"CVE-2026-48107","summary":"Russh: Unchecked keyboard-interactive prompt count in client auth path","details":"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.","aliases":["GHSA-g9g7-5cgw-6v28"],"modified":"2026-08-12T03:51:11.034809254Z","published":"2026-06-10T20:23:45.325Z","database_specific":{"cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48107.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48107.json"},{"type":"ADVISORY","url":"https://github.com/Eugeny/russh/security/advisories/GHSA-g9g7-5cgw-6v28"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48107"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eugeny/russh","events":[{"introduced":"90d283c1a198bcee240fd05832254544d45cacb2"},{"fixed":"1947d6b1bb3a9d79840b5adf7eb9b33df2c6e4a7"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"0.37.0"},{"fixed":"0.61.0"},{"introduced":"0"}]}}],"versions":["v0.60.3","v0.60.2","v0.60.1","v0.60.0","v0.59.0","v0.58.0","v0.57.1","v0.57.0","v0.56.0","v0.55.0","v0.54.6","v0.54.5","v0.54.4","v0.54.3","v0.54.2","v0.54.1","v0.54.0","v0.53.0","v0.53.0-beta.1","v0.52.1","v0.52.0","v0.52.0-beta.1","v0.51.1","v0.51.0","v0.51.0-beta.3","v0.51.0-beta.2","v0.51.0-beta.1","v0.50.4","v0.50.3","v0.50.1","v0.50.0","v0.50.0-beta.12","v0.50.0-beta.11","v0.50.0-beta.10","v0.50.0-beta.9","v0.50.0-beta.8","v0.50.0-beta.7","v0.50.0-beta.6","v0.50.0-beta.5","v0.50.0-beta.4","v0.50.0-beta.3","v0.50.0-beta.2","v0.49.0","v0.48.2","v0.48.1","v0.48.0","v0.47.0-beta.4","v0.47.0-beta.3","v0.46.0","v0.45.0","v0.44.0","v0.44.0-beta.4","v0.44.0-beta.3","v0.44.0-beta.1","v0.43.0","v0.43.0-beta.1","v0.42.0","v0.40.2","v0.40.1","v0.40.0","v0.38.0","v0.39.0-beta.1","v0.38.0-beta.1","v0.37.1","v0.37.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48107.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}