
CVE catalog
CVE-2026-35368
A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropp
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 2026
A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropping root privileges. On glibc-based systems, this can trigger the Name Service Switch (NSS) to load shared libraries (e.g., libnss_*.so.2) from the new root directory. If the NEWROOT is writable by an attacker, they can inject a malicious NSS module to execute arbitrary code as root, facilitating a full container escape or privilege escalation.
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-coreutils | sid | 0.12.0-1 | fixed |
| Debian | rust-coreutils | forky | 0.12.0-1 | fixed |
| Debian | rust-coreutils | trixie | 0.0.30-2 | vulnerable |
| Debian | rust-coreutils | bookworm | 0.0.17-2 | vulnerable |
| Cpe | rust-coreutils | Not reported | Not reported | vulnerable |
| Cpe | coreutils | Not reported | Not reported | unknown |
| Cpe | coreutils | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-coreutils | source | sid | 0.9.0-1 | not yet assigned | Not reported | [1136198] |
| Debian | rust-coreutils | source | forky | 0.9.0-1 | not yet assigned | Not reported | [1136198] |
| Debian | rust-coreutils | source | trixie | (unfixed) | not yet assigned | Not reported | [1136198] |
| Debian | rust-coreutils | source | bookworm | (unfixed) | not yet assigned | Not reported | [1136198] |
Notes
[trixie] rust-coreutils: Minor issue [bookworm] rust-coreutils: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [rust-coreutils]Affected
Details (2)
0.0.17-2· amd64 · bookwormAffected
nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12
0.0.17-2· arm64 · bookwormAffected
nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12
[Debian 13 (Trixie)]
- [rust-coreutils]Affected
Details (2)
0.0.30-2· amd64 · trixieAffected
nvd · rust-coreutils · debian · 13
0.0.30-2· arm64 · trixieAffected
nvd · rust-coreutils · debian · 13
Observed:
References
- [https://github.com/uutils/coreutils/issues/10327]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-35368]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-35368]
- [https://security-tracker.debian.org/tracker/CVE-2026-35368]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35368.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]