CVE-2025-64517
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-64517 affects sudo-rs, a memory-safe implementation of sudo and su written in Rust. The vulnerability was discovered and disclosed on November 11, 2025, affecting versions after 0.2.5 and was patched in version 0.2.10. The issue specifically impacts systems using sudo-rs with Defaults targetpw or Defaults rootpw configurations (GitHub Advisory).

Technical details

The vulnerability stems from sudo-rs incorrectly recording the invoking user's UID instead of the authenticated-as user's UID in the authentication timestamp. When Defaults targetpw or Defaults rootpw is enabled, the system uses the password of the target account (or root account) for authentication rather than the invoking user's password. However, the timestamp recording mechanism failed to properly track which user was actually authenticated (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 base score indicating moderate severity with the vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N.

Impact

The vulnerability allows a highly-privileged user who knows one password of an account they are allowed to run commands as to execute commands as any other account permitted by the policy, even without knowing the passwords for those accounts. A common exploitation scenario involves users still being able to use their own password to run commands as root, effectively negating the intended security behavior of the targetpw or rootpw options (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in sudo-rs version 0.2.10. Ubuntu has released security updates for affected systems, with version 0.2.8-1ubuntu5.2 available for Ubuntu 25.10 (questing) (Ubuntu Security Notice). Users are advised to update their systems to the patched versions to address this security issue.

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59089MEDIUM5.9
  • Linux DebianLinux Debian
  • idm:client::ipa-selinux
NoYesNov 12, 2025
CVE-2025-64517MEDIUM4.4
  • Linux DebianLinux Debian
  • rust-sudo-rs
NoYesNov 12, 2025
CVE-2025-64170LOW3.8
  • RustRust
  • rust-sudo-rs
NoYesNov 12, 2025
CVE-2025-57812LOW3.7
  • Linux DebianLinux Debian
  • cups-filters
NoNoNov 12, 2025
CVE-2025-63811N/AN/A
  • Linux DebianLinux Debian
  • golang-github-dvsekhvalnov-jose2go
NoNoNov 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management