Skip to content
Noroxi
CVE-2018-7738· NVD / CVE Program· CNA mitre

In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name

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.

HighCVSS 7.8 · v3.0—No exploit Fix available
Published
Mar 6, 2018
Updated
Jun 16, 2026
EPSS
0.4% · 36th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
kernelutil-linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • kernel util-linuxup to 2.31 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12bash-completionall versions—
Debian:12util-linuxbefore 2.31.1-0.52.31.1-0.5
Debian:9util-linuxbefore 2.29.2-1+deb9u12.29.2-1+deb9u1
openSUSE:Leap 15.4python-libmountbefore 2.31.1-150000.9.24.12.31.1-150000.9.24.1
SUSE:Linux Enterprise Desktop 12 SP3python-libmountbefore 2.29.2-3.8.12.29.2-3.8.1
SUSE:Linux Enterprise Desktop 12 SP3python-libmountbefore 2.29.2-3.12.12.29.2-3.12.1
SUSE:Linux Enterprise Desktop 12 SP3util-linuxbefore 2.29.2-3.8.12.29.2-3.8.1
SUSE:Linux Enterprise Desktop 12 SP3util-linuxbefore 2.29.2-3.12.12.29.2-3.12.1
SUSE:Linux Enterprise Desktop 12 SP3util-linux-systemdbefore 2.29.2-3.12.12.29.2-3.12.1
SUSE:Linux Enterprise Desktop 12 SP3util-linux-systemdbefore 2.29.2-3.8.12.29.2-3.8.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSutil-linuxbefore 2.33.2-150100.4.40.12.33.2-150100.4.40.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSutil-linux-systemdbefore 2.33.2-150100.4.40.12.33.2-150100.4.40.1
SUSE:Linux Enterprise Module for Basesystem 15util-linuxbefore 2.31.1-9.3.12.31.1-9.3.1
SUSE:Linux Enterprise Module for Basesystem 15util-linux-systemdbefore 2.31.1-9.3.12.31.1-9.3.1
SUSE:Linux Enterprise Server 12 SP5python-libmountbefore 2.33.2-4.33.12.33.2-4.33.1
SUSE:Linux Enterprise Server 12 SP5util-linux-systemdbefore 2.33.2-4.33.12.33.2-4.33.1
SUSE:Linux Enterprise Software Development Kit 12 SP5util-linuxbefore 2.33.2-4.33.12.33.2-4.33.1
SUSE:OpenStack Cloud 7python-libmountbefore 2.28-44.18.382.28-44.18.38
SUSE:OpenStack Cloud 7util-linuxbefore 2.28-44.18.182.28-44.18.18
SUSE:OpenStack Cloud 7util-linux-systemdbefore 2.28-44.18.252.28-44.18.25

Other highest-scoring records for the same primary product.

  • CVE-2015-5224The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name collision and possibly o
    40Plan
  • CVE-2016-2779runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the te
    31Monitor
  • CVE-2007-5191mount 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
    28Monitor
  • CVE-2020-21583An issue was discovered in hwclock.13-v2.27 allows attackers to gain escalated privlidges or execute arbitrary commands via the path paramet
    26Monitor
  • CVE-2021-3996A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem.
    22Monitor
  • CVE-2021-3995A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem.
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:util-linux2.31.1-0.5 · Debian:12Package registry (OSV)
opensuse:python-libmount2.31.1-150000.9.24.1 · openSUSE:Leap 15.4Package registry (OSV)
suse:python-libmount2.29.2-3.8.1 · SUSE:Linux Enterprise Desktop 12 SP3Package registry (OSV)
suse:util-linux2.31.1-9.3.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:util-linux-systemd2.31.1-9.3.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

—

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records