Skip to content
Fencer Vulns
high 7.2

CVE-2007-5191 json

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 value…

published 2007-10-04 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-5172

cvss
7.2
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 38%
public exploits
0
none known

Summary

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.

Patch / fix

  • util-linux Debian 14, Debian 13, Debian 12 2.13-8

debian advisories DEBIAN-CVE-2007-5191

  • util-linux RHEL 3 2.11y-31.24
  • util-linux RHEL 4 2.12a-17.el4_6.1
  • util-linux RHEL 5 2.13-0.45.el5_1.1
  • mount RHEL 3 2.11y-31.24
  • losetup RHEL 3 2.11y-31.24

red hat advisories RHSA-2007:0969

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2007-5191 updated

util-linux (u)mount doesn't drop privileges properly when calling helpers

  • Red Hat Desktop version 3 mount 2.11y-31.24, losetup 2.11y-31.24, util-linux 2.11y-31.24 Red Hat Enterprise Linux (v. 5 server) util-linux 2.13-0.45.el5_1.1 Red Hat Enterprise Linux AS version 3 mount 2.11y-31.24, losetup 2.11y-31.24, util-linux 2.11y-31.24 Red Hat Enterprise Linux AS version 4 util-linux 2.12a-17.el4_6.1 Red Hat Enterprise Linux Desktop (v. 5 client) util-linux 2.13-0.45.el5_1.1 Red Hat Enterprise Linux Desktop version 4 util-linux 2.12a-17.el4_6.1
    +4 more products
    Red Hat Enterprise Linux ES version 3 mount 2.11y-31.24, losetup 2.11y-31.24, util-linux 2.11y-31.24 Red Hat Enterprise Linux ES version 4 util-linux 2.12a-17.el4_6.1 Red Hat Enterprise Linux WS version 3 mount 2.11y-31.24, losetup 2.11y-31.24, util-linux 2.11y-31.24 Red Hat Enterprise Linux WS version 4 util-linux 2.12a-17.el4_6.1
    fixed: vendor fix RHSA-2007:0969

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.