Skip to main content
CVE-2025-64517VulnerabilityPublished Updated

Rust sudo rs: With Defaults targetpw (or Defaults rootpw) enabled, the password of the target account (or root

Affects rust-sudo-rsSource GCVE Database

0
Compare
Authoritative record:CVE-2025-64517· Medium 4.4

Not known to be exploited · CVSS 4.4 Medium : upgrade to 0.2.8-1ubuntu5.2 when convenient.

Data as of 13 Nov 2026, 20:32 UTC

CVSS 3.1 base score
4.4Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.2.8-1ubuntu5.2
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade the Ubuntu rust-sudo-rs package to 0.2.8-1ubuntu5.2.

Affected software

ProductAffectedFixed in
Ubuntu 25.10rust-sudo-rspkg:deb/ubuntu/rust-sudo-rs?arch=source&distro=questingOther threatsAffected
  • <0.2.8-1ubuntu5.2
Fixed in
  • 0.2.8-1ubuntu5.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Update sudo-rs to version 0.2.8-1ubuntu5.2 or later, which contains the official fix for this vulnerability. A standard system update on affected Ubuntu releases will apply the necessary patch. No other mitigation is required as the issue is resolved in the fixed version.

Description

A vulnerability in sudo-rs versions prior to 0.2.8-1ubuntu5.2 allows bypassing authentication when the Defaults targetpw or rootpw options are enabled. The issue arises because sudo-rs incorrectly records the invoking user's UID instead of the authenticated user's UID in the authentication timestamp, enabling a privileged user to run commands as other permitted accounts without knowing their passwords. This flaw is patched in version 0.2.8-1ubuntu5.2.

References

Community reviews

Loading reviews…