Skip to content
Fencer Vulns
low 3.8

CVE-2025-64170 json

sudo-rs: Partial password reveal is possible after timeout

published 2025-11-12 11 mo ago modified 2026-10-18 21 d ago also EUVD-2025-131955 , GHSA-c978-wq47-pvvw

cvss
3.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 4%
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io sudo-rs 0.2.10
  • trifectatech sudo 0.2.10
  • rust-sudo-rs Debian 13 0.2.5-5+deb13u1
  • rust-sudo-rs Debian 14 0.2.10-1

debian advisories DEBIAN-CVE-2025-64170

  • rust-sudo-rs Ubuntu 25.10 0.2.8-1ubuntu5.2

ubuntu advisories UBUNTU-CVE-2025-64170

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-64170 updated cvss 3.8

sudo-rs: sudo-rs: Partial password reveal is possible after timeout

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
11 mo ago

Exploit prediction

0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 3.8 CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
GitHub 3.1 3.8 CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
crates.io sudo-rs
>=0.2.7, <0.2.10
0.2.10

Affected products

  • trifectatechfoundation sudo-rs

Classification

Weakness
  • CWE-549 Missing Password Field Masking

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.