# CVE-2025-64170: sudo-rs: Partial password reveal is possible after timeout

- Severity: Low 3.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-11-12T20:30:14.961Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-c978-wq47-pvvw
- Weaknesses: CWE-549
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- trifectatechfoundation sudo-rs: >= 0.2.7, < 0.2.10
- sudo-rs (crates.io): from 0.2.7 before 0.2.10

## Every score

- GitHub_M: CVSS:3.1 3.8 Low `CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 3.8 Low `CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-c978-wq47-pvvw> (web)
- <https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64170> (advisory)
- <https://github.com/trifectatechfoundation/sudo-rs/commit/0e3d3837aec3ee9fb5dcb8bfe11e8adb367f58f4> (web)
- <https://github.com/trifectatechfoundation/sudo-rs> (package)

## Sources

- CVE List: [CVE-2025-64170](https://www.cve.org/CVERecord?id=CVE-2025-64170), CVE Terms of Use, modified 2025-11-14
- GitHub Advisory Database: [GHSA-c978-wq47-pvvw](https://github.com/advisories/GHSA-c978-wq47-pvvw), CC-BY-4.0, modified 2025-11-15
- NVD: [CVE-2025-64170](https://nvd.nist.gov/vuln/detail/CVE-2025-64170), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-64170 · Whole record: https://cve.day/CVE-2025-64170.json · Rebuilt by cve.day 2026-11-25T22:59:07.586Z
