CVE-2026-35368

Publication date 22 April 2026

Last updated 11 November 2026


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

Description

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
rust-coreutils 26.10 stonking
Fixed in 0.9.0-2ubuntu1
26.04 LTS resolute
Fixed in 0.10.0-1ubuntu2~26.04.1
25.10 questing Ignored end of life, was needed
24.04 LTS noble
Vulnerable
22.04 LTS jammy Not in release

Notes


john-breton

Fixed in 0.10.0-1ubuntu2~26.04.1 in resolute-updates (LP: #2166202), but not yet in the -security pocket.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
rust-coreutils

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.8 · High

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-9041-1
    • uutils coreutils vulnerabilities
    • 11 November 2026

Other references


Access our resources on patching vulnerabilities