Vulnerability · Published Nov 12, 2025 · Assigned by GitHub_M
CVE-2025-64170sudo-rs: Partial password reveal is possible after timeout
Low 3.8
In plain English
A low-severity security flaw in sudo-rs from trifectatechfoundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | rust-sudo-rs | 0.2.5-5+deb13u1 | DEBIAN-CVE-2025-64170 |
| Debian:13 | rust-sudo-rs | 0.2.5-5+deb13u1 | DSA-6052-1 |
| Debian:14 | rust-sudo-rs | 0.2.10-1 | DEBIAN-CVE-2025-64170 |
| Ubuntu:25.10 | rust-sudo-rs | 0.2.8-1ubuntu5.2 | UBUNTU-CVE-2025-64170 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| trifectatechfoundation | sudo-rs | >= 0.2.7, < 0.2.10 |
Weakness: CWE-549 · Vector: CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N