CVE catalog

CVE-2025-46718

UBUNTU-CVE-2025-46718

[CVE catalog]

Severity
Low · CVSS 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with limited sudo privileges (e.g. execution of a single command) can list sudo privileges of other users using the `-U` flag. This vulnerability allows users with limited sudo privileges to enumerate the sudoers file, revealing sensitive information about other users' permissions. Attackers can collect information that can be used to more targeted attacks. Systems where users either do not have sudo privileges or have the ability to run all commands as root through sudo (the default configuration on most systems) are not affected by this advisory. Version 0.2.6 fixes the vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrust-sudo-rs130.2.5-5fixed
Debianrust-sudo-rs140.2.5-5fixed
Ubunturust-sudo-rs24.040.2.1-1vulnerable
Ubunturust-sudo-rs24.040.2.1-2vulnerable
Ubunturust-sudo-rs24.040.2.2-1vulnerable
Ubunturust-sudo-rs25.100.2.4-1vulnerable
Ubunturust-sudo-rs25.100.2.5-3ubuntu1vulnerable
Ubunturust-sudo-rs25.100.2.5-4vulnerable
Ubunturust-sudo-rs25.100.2.5-5vulnerable
Ubunturust-sudo-rs25.100.2.5-5ubuntu1vulnerable
Ubunturust-sudo-rs25.100.2.5-5ubuntu3vulnerable
Ubunturust-sudo-rs25.100.2.8-1ubuntu2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-sudo-rsdeb130.2.5-5Not reportedDEBIAN-CVE-2025-46718Not reported
Debianrust-sudo-rsdeb140.2.5-5Not reportedDEBIAN-CVE-2025-46718Not reported
Ubunturust-sudo-rsdeb25.100.2.8-1ubuntu2Not reportedUBUNTU-CVE-2025-46718Not reported

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • Source package: [rust-sudo-rs]

    Details (4)
    • 0.2.5-5+deb13u1 · amd64 · trixie

      Fixed · Fixed: 0.2.5-5

      pypi · rust-sudo-rs · debian · 13

    • 0.2.5-5+deb13u1 · arm64 · trixie

      Fixed · Fixed: 0.2.5-5

      pypi · rust-sudo-rs · debian · 13

    • 0.2.5-5+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 0.2.5-5

      pypi · rust-sudo-rs · debian · 13

    • 0.2.5-5+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 0.2.5-5

      pypi · rust-sudo-rs · debian · 13

  • [sudo-rs]Fixed

    Source package: [rust-sudo-rs]

    Details (4)
    • 0.2.5-5+deb13u1 · amd64 · trixie

      Fixed · Fixed: 0.2.5-5

      pypi · rust-sudo-rs · debian · 13

    • 0.2.5-5+deb13u1 · arm64 · trixie

      Fixed · Fixed: 0.2.5-5

      pypi · rust-sudo-rs · debian · 13

    • 0.2.5-5+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 0.2.5-5

      pypi · rust-sudo-rs · debian · 13

    • 0.2.5-5+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 0.2.5-5

      pypi · rust-sudo-rs · debian · 13

Observed:

References