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.

Severity (CVSS 3.1)3.8Low
Exploit odds (30 days)0.1%top 95.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:13rust-sudo-rs0.2.5-5+deb13u1DEBIAN-CVE-2025-64170
Debian:13rust-sudo-rs0.2.5-5+deb13u1DSA-6052-1
Debian:14rust-sudo-rs0.2.10-1DEBIAN-CVE-2025-64170
Ubuntu:25.10rust-sudo-rs0.2.8-1ubuntu5.2UBUNTU-CVE-2025-64170

Affected products (as reported)

VendorProductVersions
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

References