{
  "cveId": "CVE-2025-64517",
  "url": "https://patchblox.com/security/cve/CVE-2025-64517",
  "summary": "CVE-2025-64517 is fixed in 2 products on 1 platform, first by sudo-rs 0.2.8-1ubuntu5.2, released November 12, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "rust-sudo-rs: sudo-rs is a memory safe implementation of sudo and su written in Rust",
  "description": "sudo-rs is a memory safe implementation of sudo and su written in Rust. With \u0060Defaults targetpw\u0060 (or \u0060Defaults rootpw\u0060) enabled,  the password of the target account (or root account) instead of the invoking user is used for authentication. sudo-rs starting in version 0.2.5 and prior to version 0.2.10 incorrectly recorded the invoking user\u2019s UID instead of the authenticated-as user\u0027s UID in the authentication timestamp. Any later \u0060sudo\u0060 invocation on the same terminal while the timestamp was still valid would use that timestamp, potentially bypassing new authentication even if the policy would have required it. A highly-privileged user (able to run commands as other users, or as root, through sudo) who knows one password of an account they are allowed to run commands as, would be able to run commands as any other account the policy permits them to run commands for, even if they don\u0027t know the password for those accounts. A common instance of this would be that a user can still use their own password to run commands as root (the default behaviour of \u0060sudo\u0060), effectively negating the intended behaviour of the \u0060targetpw\u0060 or \u0060rootpw\u0060 options. Version 0.2.10 contains a patch for the issue. Versions prior to 0.2.5 are not affected, since they do not offer \u0060Defaults targetpw\u0060 or \u0060Defaults rootpw\u0060.",
  "published": "2025-11-12T14:15:00Z",
  "severity": "medium",
  "cvss": 4.4,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N",
  "epss": 0.00177,
  "epssPercentile": 0.07219,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "rust-sudo-rs",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "0.2.5-5\u002Bdeb13u1",
      "fix": "DEBIAN-CVE-2025-64517",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-64517",
      "released": "2025-11-12T22:15:50Z"
    },
    {
      "platform": "linux",
      "product": "rust-sudo-rs",
      "release": "Debian 14",
      "fixedVersion": "0.2.10-1",
      "fix": "DEBIAN-CVE-2025-64517",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-64517",
      "released": "2025-11-12T22:15:50Z"
    },
    {
      "platform": "linux",
      "product": "sudo-rs",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "0.2.8-1ubuntu5.2",
      "fix": "sudo-rs 0.2.8-1ubuntu5.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-sudo-rs-0.2.8-1ubuntu5.2",
      "released": "2025-11-12T14:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}