CVEfocus › CVE database › CVE-2025-64170

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

CVSS 3.8 LowEPSS 0.2% (higher than 7% of CVEs)Published 2025-11-12Updated 2025-11-14Assigner: GitHub_M

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.

CWE-549

What to do

Fixed builds are available from Debian, Ubuntu, crates.io: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10rust-sudo-rsFixed0.2.8-1ubuntu5.2UBUNTU-CVE-2025-64170
Ubuntu 24.04rust-sudo-rsNot affected
vulnerable_code_not_present
Debian 14rust-sudo-rsFixed0.2.10-1DEBIAN-CVE-2025-64170
Debian 13rust-sudo-rsFixed0.2.5-5+deb13u1DEBIAN-CVE-2025-64170
crates.io librarysudo-rsFixed0.2.10GHSA-c978-wq47-pvvw

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.