← Vulnerability feed

Vulnerability record · CVE-2007-5191 · published 4 October 2007

CVE-2007-5191: Kernel util-linux unchecked return value vulnerability

Kernel · Util Linux

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.

7.2 CVSS 2.0 High EPSS 0.44% · top 61.2% CWE-252 · Unchecked return value
7.2CVSS 2.0 base score
0.44%EPSS exploitation probability, 30 days
NoNot in CISA KEV
5Affected product versions listed by NVD
68References
16 Jun 2026Last modified by NVD

Description

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.

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

Affected products

5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugs.gentoo.org/show_bug.cgi?id=195390 Issue TrackingThird Party Advisory
http://frontal2.mandriva.com/en/security/advisories?name=MDKSA-2007:198 Third Party Advisory
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git%3Ba=commit%3Bh=ebbeb2c7ac1b00b6083905957837a271e80b187e
http://lists.opensuse.org/opensuse-security-announce/2007-10/msg00008.html Mailing ListThird Party Advisory
http://lists.vmware.com/pipermail/security-announce/2008/000002.html Third Party Advisory
http://secunia.com/advisories/27104 Third Party Advisory
http://secunia.com/advisories/27122 Third Party Advisory
http://secunia.com/advisories/27145 Third Party Advisory
http://secunia.com/advisories/27188 Third Party Advisory
http://secunia.com/advisories/27283 Third Party Advisory
http://secunia.com/advisories/27354 Third Party Advisory
http://secunia.com/advisories/27399 Third Party Advisory
http://secunia.com/advisories/27687 Third Party Advisory
http://secunia.com/advisories/28348 Third Party Advisory
http://secunia.com/advisories/28349 Third Party Advisory
http://secunia.com/advisories/28368 Third Party Advisory
http://secunia.com/advisories/28469 Third Party Advisory
http://security.gentoo.org/glsa/glsa-200710-18.xml Third Party Advisory
http://support.avaya.com/elmodocs2/security/ASA-2008-023.htm Third Party Advisory
http://www.debian.org/security/2008/dsa-1449 Third Party Advisory
http://www.debian.org/security/2008/dsa-1450 Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2007-0969.html Third Party Advisory
http://www.securityfocus.com/archive/1/485936/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/486859/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/25973 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1018782 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/usn-533-1 Third Party Advisory
http://www.vmware.com/security/advisories/VMSA-2008-0001.html Third Party Advisory
http://www.vupen.com/english/advisories/2007/3417 Third Party Advisory
http://www.vupen.com/english/advisories/2008/0064 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=320041 Issue TrackingThird Party Advisory
https://issues.rpath.com/browse/RPL-1757 Broken Link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10101 Third Party Advisory
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00144.html Third Party Advisory
http://bugs.gentoo.org/show_bug.cgi?id=195390 Issue TrackingThird Party Advisory
http://frontal2.mandriva.com/en/security/advisories?name=MDKSA-2007:198 Third Party Advisory
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git%3Ba=commit%3Bh=ebbeb2c7ac1b00b6083905957837a271e80b187e
http://lists.opensuse.org/opensuse-security-announce/2007-10/msg00008.html Mailing ListThird Party Advisory
http://lists.vmware.com/pipermail/security-announce/2008/000002.html Third Party Advisory
http://secunia.com/advisories/27104 Third Party Advisory

Track CVE-2007-5191 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed10.0CVE-2015-3306ProFTPD mod_copy arbitrary file read and writeThe mod_copy module in ProFTPD 1.3.5 fails to restrict the SITE CPFR and SITE CPTO commands, letting remote attackers copy arbitrary files on the ser…KEVEPSS 99%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 3.3%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2007-5191), CISA KEV, FIRST EPSS (scores of 2026-11-16). This page is refreshed as NVD updates the record.