Skip to content
Noroxi
CVE-2007-5191· NVD / CVE Program· CNA redhat

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

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.

HighCVSS 7.2 · v2.0—No exploit Fix available
Published
Oct 4, 2007
Updated
Jun 16, 2026
EPSS
0.4% · 36th percentile
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

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.2 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

Affected systems

VendorProduct
kernelutil-linux
loop-aes-utils projectloop-aes-utils
fedoraprojectfedora
canonicalubuntu linux
debiandebian linux

Affected versions

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

  • canonical ubuntu linux6.06
  • canonical ubuntu linux6.10
  • canonical ubuntu linux7.04
  • debian debian linux3.1
  • fedoraproject fedora7
  • kernel util-linuxup to 2.13.1.1 inclusive
  • loop-aes-utils project loop-aes-utilsall versions

Package-level exposure

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

EcosystemPackageAffected rangeFix
Debian:12util-linuxbefore 2.13-82.13-8
Debian:3.1loop-aes-utilsbefore 2.12p-4sarge22.12p-4sarge2
Debian:3.1util-linuxbefore 2.12p-4sarge22.12p-4sarge2
Debian:4.0loop-aes-utilsbefore 2.12r-15+etch12.12r-15+etch1
Debian:4.0util-linuxbefore 2.12r-19etch12.12r-19etch1
Debian:5.0loop-aes-utilsbefore 2.12r-16+lenny12.12r-16+lenny1
Debian:5.0util-linuxbefore 2.12r-19+lenny12.12r-19+lenny1
Red Hat:enterprise_linux:3::aslosetupbefore 0:2.11y-31.240:2.11y-31.24
Red Hat:enterprise_linux:3::asmountbefore 0:2.11y-31.240:2.11y-31.24
Red Hat:enterprise_linux:3::asutil-linuxbefore 0:2.11y-31.240:2.11y-31.24
Red Hat:enterprise_linux:3::asutil-linux-debuginfobefore 0:2.11y-31.240:2.11y-31.24
Red Hat:enterprise_linux:4::asutil-linuxbefore 0:2.12a-17.el4_6.10:2.12a-17.el4_6.1
Red Hat:enterprise_linux:4::asutil-linux-debuginfobefore 0:2.12a-17.el4_6.10:2.12a-17.el4_6.1
Red Hat:enterprise_linux:5::clientutil-linuxbefore 0:2.13-0.45.el5_1.10:2.13-0.45.el5_1.1
Red Hat:enterprise_linux:5::clientutil-linux-debuginfobefore 0:2.13-0.45.el5_1.10:2.13-0.45.el5_1.1

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-2018-7738In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name
    31Monitor
  • 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-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:loop-aes-utils2.12r-15+etch1 · Debian:4.0Package registry (OSV)
debian:util-linux2.13-8 · Debian:12Package registry (OSV)
red hat:losetup0:2.11y-31.24 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:mount0:2.11y-31.24 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:util-linux0:2.11y-31.24 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:util-linux-debuginfo0:2.11y-31.24 · Red Hat:enterprise_linux:3::asPackage 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.

No commit or PR link among the references.

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

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
C · data can be read
Integrity
C · data or configuration can be modified
Availability
C · the service can be disrupted
Attack complexity
Low
Confidentiality impact
C
Integrity impact
C
Availability impact
C

CVSS vector

AV:L/AC:L/Au:N/C:C/I:C/A:C

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.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; 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

Change log

  1. Fix✗ → ✓

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

References

All records