Low severity · published Nov 12, 2025
CVE-2025-64170
sudo-rs: Partial password reveal is possible after timeout
3.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
Attack vector
Physical
Complexity
High
Privileges
High
User interaction
Required
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 4% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SU
sudo-rs · trifectatechfoundation
>= 0.2.7, < 0.2.10 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-64170
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-64170
github.com
https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10
github.com
https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-c978-wq47-pvvw
More from sudo-rs
4.4
CVE-2025-64517
sudo-rs doesn't record authenticating user properly in timestamp
3.3
CVE-2025-46718
sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
3.3
CVE-2025-46717
sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders
