
CVE catalog
CVE-2025-46718
UBUNTU-CVE-2025-46718
- Severity
- Low · CVSS 3.3
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-sudo-rs | 13 | 0.2.5-5 | fixed |
| Debian | rust-sudo-rs | 14 | 0.2.5-5 | fixed |
| Ubuntu | rust-sudo-rs | 24.04 | 0.2.1-1 | vulnerable |
| Ubuntu | rust-sudo-rs | 24.04 | 0.2.1-2 | vulnerable |
| Ubuntu | rust-sudo-rs | 24.04 | 0.2.2-1 | vulnerable |
| Ubuntu | rust-sudo-rs | 25.10 | 0.2.4-1 | vulnerable |
| Ubuntu | rust-sudo-rs | 25.10 | 0.2.5-3ubuntu1 | vulnerable |
| Ubuntu | rust-sudo-rs | 25.10 | 0.2.5-4 | vulnerable |
| Ubuntu | rust-sudo-rs | 25.10 | 0.2.5-5 | vulnerable |
| Ubuntu | rust-sudo-rs | 25.10 | 0.2.5-5ubuntu1 | vulnerable |
| Ubuntu | rust-sudo-rs | 25.10 | 0.2.5-5ubuntu3 | vulnerable |
| Ubuntu | rust-sudo-rs | 25.10 | 0.2.8-1ubuntu2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-sudo-rs | deb | 13 | 0.2.5-5 | Not reported | DEBIAN-CVE-2025-46718 | Not reported |
| Debian | rust-sudo-rs | deb | 14 | 0.2.5-5 | Not reported | DEBIAN-CVE-2025-46718 | Not reported |
| Ubuntu | rust-sudo-rs | deb | 25.10 | 0.2.8-1ubuntu2 | Not reported | UBUNTU-CVE-2025-46718 | Not reported |
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [librust-sudo-rs-dev]Fixed
Source package: [rust-sudo-rs]
Details (4)
0.2.5-5+deb13u1· amd64 · trixieFixed · Fixed:
0.2.5-5pypi · rust-sudo-rs · debian · 13
0.2.5-5+deb13u1· arm64 · trixieFixed · Fixed:
0.2.5-5pypi · rust-sudo-rs · debian · 13
0.2.5-5+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.2.5-5pypi · rust-sudo-rs · debian · 13
0.2.5-5+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.2.5-5pypi · rust-sudo-rs · debian · 13
- [sudo-rs]Fixed
Source package: [rust-sudo-rs]
Details (4)
0.2.5-5+deb13u1· amd64 · trixieFixed · Fixed:
0.2.5-5pypi · rust-sudo-rs · debian · 13
0.2.5-5+deb13u1· arm64 · trixieFixed · Fixed:
0.2.5-5pypi · rust-sudo-rs · debian · 13
0.2.5-5+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.2.5-5pypi · rust-sudo-rs · debian · 13
0.2.5-5+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.2.5-5pypi · rust-sudo-rs · debian · 13
Observed: