Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. russh
  4. ›
  5. CVE-2026-48107

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

June 11, 2026

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 is a client-side denial-of-service / resource-exhaustion issue on the keyboard-interactive auth path.

References

  • github.com/Eugeny/russh/security/advisories/GHSA-g9g7-5cgw-6v28
  • github.com/advisories/GHSA-g9g7-5cgw-6v28
  • nvd.nist.gov/vuln/detail/CVE-2026-48107

Code Behaviors & Features

Detect and mitigate CVE-2026-48107 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.37.0 before 0.61.0

Fixed versions

  • 0.61.0

Solution

Upgrade to version 0.61.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

cargo/russh/CVE-2026-48107.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:20 +0000.