CVE-2018-7738: High severity kernel util-linux vulnerability

Published Mar 6, 2018
·
Updated

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.

Affected Software

3 affected componentsFixes available
kernel util-linux<=2.31
debian/bash-completion<=1:2.11-2, <=1:2.11-6, <=1:2.16.0-7, <=1:2.16.0-8
debian/util-linux
2.36.1-8+deb11u22.38.1-5+deb12u32.38.1-5+deb12u12.41-52.42.2-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/util-linux to a version that resolves this vulnerability.

    Fixed in 2.36.1-8+deb11u2Fixed in 2.38.1-5+deb12u3Fixed in 2.38.1-5+deb12u1Fixed in 2.41-5Fixed in 2.42.2-2
  2. Upgrade

    Upgrade util-linux to a version that resolves this vulnerability.

    Fixed in 2.32-rc1
  3. Compensating control

    Until the util-linux update to 2.32-rc1 is applied, restrict access to run the affected umount command (e.g., limit local user permissions or use an appropriate policy so unprivileged users cannot trigger umount/umount autocompletion-related behavior).

Event History

Mar 6, 2018
Data Sourced
01:54 PM
SeverityAffected Software
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Mar 7, 2018
Data Sourced
via NVD·02:29 AM
RemedyDescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:10 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·08:57 PM
RemedyDescriptionSeverityAffected Software
Jul 18, 2026
Data Sourced
via Debian·11:30 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-7738?

CVE-2018-7738 is a vulnerability in util-linux before 2.32-rc1 that allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command.

2

How can an attacker exploit CVE-2018-7738?

An attacker can exploit CVE-2018-7738 by creating a malicious mountpoint name with embedded shell commands, and then triggering a umount command as a different user.

3

What is the severity of CVE-2018-7738?

CVE-2018-7738 has a severity rating of 7.8 (high).

4

Which versions of util-linux are affected by CVE-2018-7738?

Versions before 2.32-rc1 of util-linux are affected by CVE-2018-7738.

5

Is there a fix available for CVE-2018-7738?

Yes, the fix for CVE-2018-7738 is included in version 2.32-rc1 of util-linux.

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