Vulnerability · Published Apr 3, 2026 · Assigned by GitHub_M
CVE-2026-27456util-linux: TOCTOU Race Condition in util-linux mount(8) - Loop Device Setup
Medium 4.7
In plain English
A medium-severity privilege mismanagement in util-linux from util-linux. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | libblkid | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libblkid-devel | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libfdisk | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libfdisk-devel | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libmount | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libmount-devel | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libsmartcols | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libsmartcols-devel | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libuuid | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | libuuid-devel | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | python3-libmount | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | util-linux | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | util-linux-core | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| AlmaLinux:10 | uuidd | 2.40.2-18.el10_2.20 | ALSA-2026:93461 |
| Alpine:v3.22 | util-linux | 2.41.6-r0 | ALPINE-CVE-2026-27456 |
| Alpine:v3.23 | util-linux | 2.41.4-r0 | ALPINE-CVE-2026-27456 |
| Alpine:v3.24 | util-linux | 2.41.4-r0, 2.42.3-r0 | ALPINE-CVE-2026-27456 |
| Debian:12 | util-linux | no fix listed | DEBIAN-CVE-2026-27456 |
| Debian:13 | util-linux | 2.41.5-0+deb13u1 | DEBIAN-CVE-2026-27456 |
| Debian:14 | util-linux | 2.42-1 | DEBIAN-CVE-2026-27456 |
| Rocky Linux:10 | util-linux | 0:2.40.2-18.el10_2.20 | RLSA-2026:93461 |
| Ubuntu:22.04:LTS | util-linux | 2.37.2-4ubuntu3.6 | USN-8702-1 |
| Ubuntu:22.04:LTS | util-linux | 2.37.2-4ubuntu3.6 | UBUNTU-CVE-2026-27456 |
| Ubuntu:24.04:LTS | util-linux | 2.39.3-9ubuntu6.6 | USN-8702-1 |
| Ubuntu:24.04:LTS | util-linux | 2.39.3-9ubuntu6.6 | UBUNTU-CVE-2026-27456 |
| Ubuntu:25.10 | util-linux | no fix listed | UBUNTU-CVE-2026-27456 |
| Ubuntu:26.04:LTS | util-linux | 2.41.3-3ubuntu2.2 | UBUNTU-CVE-2026-27456 |
| Ubuntu:26.04:LTS | util-linux | 2.41.3-3ubuntu2.2 | USN-8702-1 |
| Ubuntu:26.10 | util-linux | no fix listed | UBUNTU-CVE-2026-27456 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| util-linux | util-linux | < 2.41.4 |
Weakness: CWE-59, CWE-269, CWE-367 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N