A russh SSH server accepts a publickey authentication whose signature uses a different algorithm than the one named in the request

State
Published
Severity
2.3 Low
Published
Nov 5, 2026
Updated
Nov 5, 2026
Reserved
Oct 15, 2026

Read the record on cve.org

Description

russh is a Rust SSH client and server library. From version 0.34.0-beta.1 until version 0.64.0, its SSH server does not require the signature algorithm in a public-key authentication signature to match the algorithm named in the authentication request. A client possessing an authorized RSA private key can announce  rsa-sha2-512  while supplying a valid  ssh-rsa  SHA-1 signature, bypassing restrictions or producing misleading audit records when applications rely on the requested algorithm. A valid private-key signature remains required, and russh clients are not affected. This issue is fixed in version 0.64.0.

ProductVersions
russh Eugeny>= 0.34.0-beta.1, < 0.64.0 Affected

Weaknesses

  • CWE-347 Improper Verification of Cryptographic Signature

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.