CVE-2025-64170

sudo-rs: Partial password reveal is possible after timeout

State
Published
Severity
3.8 Low
Published
Nov 12, 2025
Updated
Nov 14, 2025
Reserved
Oct 28, 2025

Read the record on cve.org

Description

sudo-rs is a memory safe implementation of sudo and su written in Rust. Starting in version 0.2.7 and prior to version 0.2.10, if a user begins entering a password but does not press return for an extended period, a password timeout may occur. When this happens, the keystrokes that were entered are echoed back to the console. This could reveal partial password information, possibly exposing history files when not carefully handled by the user and on screen, usable for Social Engineering or Pass-By attacks. Version 0.2.10 fixes the issue.

Scores

CVSSScoreVectorSource
3.13.8 LowCVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-549 Missing Password Field Masking

Affected Products

ProductVersions
sudo-rstrifectatechfoundation
  • >= 0.2.7, < 0.2.10Affected

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.