Skip to content
OpenAdvisories
Low · 3.8 CVE-2025-64170 EUVD-2025-131955GHSA-c978-wq47-pvvw

sudo-rs: Partial password reveal is possible after timeout

Published Nov 12, 2025 · Updated Nov 14, 2025 · 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.

Affected products

VendorProductAffectedFixed
trifectatechfoundation sudo-rs >= 0.2.7, < 0.2.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-sudo-rs 0.2.10-1 —
Debian 13 rust-sudo-rs 0.2.5-5+deb13u1 DSA-6052-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 rust-sudo-rs 0.2.8-1ubuntu5.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io sudo-rs >= 0.2.7, < 0.2.10 0.2.10 GHSA-c978-wq47-pvvw

Advisories 1

References