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

CVE-2025-64170 · Severity: low · CVSS 3.8 · Published 2025-11-12

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.

Technologies: sudo-rs (crates.io). Vendors: crates.io.

Quick answers

Is CVE-2025-64170 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-64170 being exploited in the wild.
How severe is CVE-2025-64170?
Low severity, with a CVSS score of 3.8, published 12 November 2025.
Which products and versions are affected?
sudo-rs (crates.io) SEMVER:introduced=0.2.7,fixed=0.2.10.
Is there a fix for CVE-2025-64170?
Yes. sudo-rs (crates.io): upgrade to 0.2.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-64170?
Check whether you run sudo-rs (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • sudo-rs (crates.io): upgrade to 0.2.10 or later
    cargo update -p sudo-rs

Affected products

  • sudo-rs (crates.io) SEMVER:introduced=0.2.7,fixed=0.2.10

Identifiers

  • CVE-2025-64170
  • GHSA-c978-wq47-pvvw

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.