REDHAT-BUG-2519648: High severity util-linux util-linux vulnerability

Published Aug 19, 2026
·
Updated

The SUID binary /usr/bin/mount from util-linux reads the LIBMOUNTFORCEMOUNT2 environment variable via an unsafe getenv() call rather than safegetenv(), even when running with elevated privileges. An unprivileged local user can set LIBMOUNTFORCEMOUNT2=always to force mount(8) onto the legacy mount(2) code path, which performs a bind mount followed by a separate remount/propagation syscall to apply security flags such as nosuid and noexec. During the window between these two syscalls, the mounted filesystem is missing those protections, allowing the attacker to execute a SUID/SGID binary from the newly mounted filesystem before the restrictions are applied, resulting in local privilege escalation to root. Affects util-linux v2.39.1 through v2.43-devel (current master); unfixed as of the June 16, 2026 advisory. Reported upstream by Xinyao Hu. GHSA-67r7-8m5w-22wx.

Affected Software

1 affected component
util-linux util-linux>=2.39.1<=2.43-devel

Event History

Aug 19, 2026
Data Sourced
via Red Hat·02:36 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to exploitation?

Systems with an affected util-linux version where /usr/bin/mount is installed as a SUID binary are exposed to a local unprivileged user. The issue affects util-linux v2.39.1 through v2.43-devel, according to the advisory data.

2

What does an attacker need to exploit this issue?

The attacker needs local unprivileged access and must be able to invoke the SUID mount(8) binary with LIBMOUNT_FORCE_MOUNT2=always in its environment. Exploitation relies on mounting a filesystem containing a SUID or SGID executable that can be run during the brief interval before nosuid and noexec protections are applied.

3

Are default mount security flags sufficient to prevent exploitation?

No. When the environment variable forces the legacy mount(2) path, flags such as nosuid and noexec are applied only after an initial bind mount, leaving a temporary interval in which they are absent.

4

How can administrators determine whether a system is potentially affected?

Check whether the installed util-linux version falls between v2.39.1 and v2.43-devel and whether /usr/bin/mount has the SUID permission bit. The provided advisory states that the issue was unfixed as of June 16, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203