CVE-2025-64170
sudo-rs: Partial password reveal is possible after timeout
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low3.8 | CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Low3.8 | CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.15% · top 96% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.8.
Weakness
Affected products
trifectatechfoundation · sudo-rs
- affected >= 0.2.7, < 0.2.10
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- crates.iosudo-rsGHSA-c978-wq47-pvvw (opens in a new tab)
References (2)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-c978-wq47-pvvw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-64170)Record last updated .