← Back

Util Linux

util-linux

Vendor: Kernel • 18 CVEs

CVEs (18)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
2Kernel
Redhat
4Enterprise Linux
Hardened ImagesOpenshift Container Platform+1 more
Jul 8, 2026
Jun 29, 2026
N/A· v4
5.3 MEDIUM· v3
N/A· v2
A flaw was found in the libblkid library of util-linux. During nested partition probing, the BSD, Minix, Solaris x86, and UnixWare partition probers cache a raw pointer to a parent partition entry in a dynamically alloca...Show more
A flaw was found in the libblkid library of util-linux. During nested partition probing, the BSD, Minix, Solaris x86, and UnixWare partition probers cache a raw pointer to a parent partition entry in a dynamically allocated array. When subsequent partition additions cause the array to be reallocated, this pointer becomes stale, leading to a heap use-after-free read. An attacker who can present a crafted block device image (for example, via USB insertion or a loop-mounted disk image) can trigger this flaw without user interaction, as libblkid is invoked automatically by udev/udisks as root on block-device hot-plug events. This could lead to limited information disclosure or denial of service.Show less
1Kernel
1Util Linux
Jul 24, 2026
Apr 3, 2026
N/A· v4
4.7 MEDIUM· v3
N/A· v2
util-linux is a random collection of Linux utilities. Prior to version 2.41.4, a TOCTOU (Time-of-Check-Time-of-Use) vulnerability has been identified in the SUID binary /usr/bin/mount from util-linux. The mount binary, w...Show more
util-linux is a random collection of Linux utilities. Prior to version 2.41.4, a TOCTOU (Time-of-Check-Time-of-Use) vulnerability has been identified in the SUID binary /usr/bin/mount from util-linux. The mount binary, when setting up loop devices, validates the source file path with user privileges via fork() + setuid() + realpath(), but subsequently re-canonicalizes and opens it with root privileges (euid=0) without verifying that the path has not been replaced between both operations. Neither O_NOFOLLOW, nor inode comparison, nor post-open fstat() are employed. This allows a local unprivileged user to replace the source file with a symlink pointing to any root-owned file or device during the race window, causing the SUID binary to open and mount it as root. Exploitation requires an /etc/fstab entry with user,loop options whose path points to a directory where the attacker has write permission, and that /usr/bin/mount has the SUID bit set (the default configuration on virtually all Linux distributions). The impact is unauthorized read access to root-protected files and block devices, including backup images, disk volumes, and any file containing a valid filesystem. This issue has been patched in version 2.41.4.Show less
2Kernel
Redhat
2Hardened Images
Util Linux
Jul 21, 2026
Apr 3, 2026
N/A· v4
5.3 MEDIUM· v3
N/A· v2
A flaw was found in util-linux. Improper hostname canonicalization in the `login(1)` utility, when invoked with the `-h` option, can modify the supplied remote hostname before setting `PAM_RHOST`. A remote attacker could...Show more
A flaw was found in util-linux. Improper hostname canonicalization in the `login(1)` utility, when invoked with the `-h` option, can modify the supplied remote hostname before setting `PAM_RHOST`. A remote attacker could exploit this by providing a specially crafted hostname, potentially bypassing host-based Pluggable Authentication Modules (PAM) access control rules that rely on fully qualified domain names. This could lead to unauthorized access.Show less
2Debian
Kernel
2Debian Linux
Util Linux
Jun 17, 2026
Mar 27, 2024
N/A· v4
3.3 LOW· v3
N/A· v2
wall in util-linux through 2.40, often installed with setgid tty permissions, allows escape sequences to be sent to other users' terminals through argv. (Specifically, escape sequences received from stdin are blocked, bu...Show more
wall in util-linux through 2.40, often installed with setgid tty permissions, allows escape sequences to be sent to other users' terminals through argv. (Specifically, escape sequences received from stdin are blocked, but escape sequences received from argv are not blocked.) There may be plausible scenarios where this leads to account takeover.Show less
1Kernel
1Util Linux
Jun 17, 2026
Aug 22, 2023
N/A· v4
6.7 MEDIUM· v3
N/A· v2
An issue was discovered in hwclock.13-v2.27 allows attackers to gain escalated privlidges or execute arbitrary commands via the path parameter when setting the date.
2Fedoraproject
Kernel
2Fedora
Util Linux
Jun 17, 2026
Aug 23, 2022
N/A· v4
5.5 MEDIUM· v3
N/A· v2
A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem. This flaw allows a local user on a vulnerable system to unmount other users' fi...Show more
A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem. This flaw allows a local user on a vulnerable system to unmount other users' filesystems that are either world-writable themselves (like /tmp) or mounted in a world-writable directory. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems.Show less
2Fedoraproject
Kernel
2Fedora
Util Linux
Jun 17, 2026
Aug 23, 2022
N/A· v4
5.5 MEDIUM· v3
N/A· v2
A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem. This flaw allows an unprivileged local attacker to unmount FUSE filesystems tha...Show more
A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem. This flaw allows an unprivileged local attacker to unmount FUSE filesystems that belong to certain other users who have a UID that is a prefix of the UID of the attacker in its string form. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems.Show less
2Kernel
Netapp
2Ontap Select Deploy Administration Utility
Util Linux
Jun 17, 2026
Feb 21, 2022
N/A· v4
5.5 MEDIUM· v3
1.9 LOW· v2
A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library canno...Show more
A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4.Show less
2Kernel
Netapp
2Ontap Select Deploy Administration Utility
Util Linux
Jun 17, 2026
Jul 30, 2021
N/A· v4
5.5 MEDIUM· v3
1.2 LOW· v2
An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is...Show more
An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is unexploitable in GNU C Library environments, and possibly in all realistic environments.Show less
1Kernel
1Util Linux
Jun 17, 2026
Mar 7, 2018
N/A· v4
7.8 HIGH· v3
7.2 HIGH· v2
In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command (within Bash) by a different user,...Show more
In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command (within Bash) by a different user, as demonstrated by logging in as root and entering umount followed by a tab character for autocompletion.Show less
1Kernel
1Util Linux
May 13, 2026
Aug 23, 2017
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name collision and possibly other attacks.
3Ibm
KernelRedhat
9Enterprise Linux Desktop
Enterprise Linux EusEnterprise Linux Server+6 more
May 13, 2026
Apr 11, 2017
N/A· v4
4.6 MEDIUM· v3
4.9 MEDIUM· v2
The parse_dos_extended function in partitions/dos.c in the libblkid library in util-linux allows physically proximate attackers to cause a denial of service (memory consumption) via a crafted MSDOS partition table with a...Show more
The parse_dos_extended function in partitions/dos.c in the libblkid library in util-linux allows physically proximate attackers to cause a denial of service (memory consumption) via a crafted MSDOS partition table with an extended partition boot record at zero offset.Show less
3Fedoraproject
KernelOpensuse
3Fedora
OpensuseUtil Linux
May 13, 2026
Mar 31, 2017
N/A· v4
7.8 HIGH· v3
7.2 HIGH· v2
Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.
1Kernel
1Util Linux
May 13, 2026
Feb 7, 2017
N/A· v4
7.8 HIGH· v3
7.2 HIGH· v2
runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
3Kernel
OpensuseOpensuse Project
3Leap
OpensuseUtil Linux
May 6, 2026
Nov 9, 2015
N/A· v4
N/A· v3
2.1 LOW· v2
Buffer overflow in text-utils/colcrt.c in colcrt in util-linux before 2.27 allows local users to cause a denial of service (crash) via a crafted file, related to the page global variable.
1Kernel
1Util Linux
Apr 29, 2026
Jan 21, 2014
N/A· v4
N/A· v3
2.1 LOW· v2
(a) mount and (b) umount in util-linux 2.14.1, 2.17.2, and probably other versions allow local users to determine the existence of restricted directories by (1) using the --guess-fstype command-line option or (2) attempt...Show more
(a) mount and (b) umount in util-linux 2.14.1, 2.17.2, and probably other versions allow local users to determine the existence of restricted directories by (1) using the --guess-fstype command-line option or (2) attempting to mount a non-existent device, which generates different error messages depending on whether the directory exists.Show less
5Canonical
DebianFedoraproject+2 more
5Debian Linux
FedoraLoop Aes Utils+2 more
Apr 23, 2026
Oct 4, 2007
N/A· v4
N/A· v3
7.2 HIGH· v2
mount and umount in util-linux and loop-aes-utils call the setuid and setgid functions in the wrong order and do not check the return values, which might allow attackers to gain privileges via helpers such as mount.nfs.
2Avaya
Kernel
7Cvlan
Integrated Management SuitInteractive Response+4 more
Apr 16, 2026
Dec 31, 2001
N/A· v4
5.5 MEDIUM· v3
2.1 LOW· v2
script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script comm...Show more
script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script command.Show less