CVE-2007-5191 Unchecked Return Value
No CVSS score yet. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-252 Unchecked Return Value
- OWASP Top 10
- A10:2025 Mishandling of Exceptional Conditions
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Red Hat: fixed package versions per release
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-5191 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-5191?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-5191?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-5191 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- canonical:ubuntu_linux
- debian:debian_linux
- fedoraproject:fedora
- kernel:util-linux
- loop-aes-utils_project:loop-aes-utils
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| kernel:util-linux | through 2.13.1.1 |
| fedoraproject:fedora | 7 |
| canonical:ubuntu_linux | 6.06 |
| canonical:ubuntu_linux | 6.10 |
| canonical:ubuntu_linux | 7.04 |
| debian:debian_linux | 3.1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.1 | loop-aes-utils | 2.12p-4sarge2 | DSA-1449-1 |
| Debian | 3.1 | util-linux | 2.12p-4sarge2 | DSA-1450-1 |
| Debian | 4.0 | loop-aes-utils | 2.12r-15+etch1 | DSA-1449-1 |
| Debian | 4.0 | util-linux | 2.12r-19etch1 | DSA-1450-1 |
| Debian | 5.0 | loop-aes-utils | 2.12r-16+lenny1 | DTSA-70-1 |
| Debian | 5.0 | util-linux | 2.12r-19+lenny1 | DTSA-64-1 |
| Debian | 12, 13, 14 | util-linux | 2.13-8 | DEBIAN-CVE-2007-5191 |
| Red Hat | enterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 more | mount, losetup, util-linux and 1 more | 0:2.11y-31.24 | RHSA-2007:0969 |
| Red Hat | enterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 more | util-linux, util-linux-debuginfo | 0:2.12a-17.el4_6.1 | RHSA-2007:0969 |
| Red Hat | enterprise_linux:5::client, enterprise_linux:5::server | util-linux, util-linux-debuginfo | 0:2.13-0.45.el5_1.1 | RHSA-2007:0969 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | util-linux-0:2.11y-31.24 | Fixed 2007-11-15 | RHSA-2007:0969 |
| Red Hat Enterprise Linux 4 | util-linux-0:2.12a-17.el4_6.1 | Fixed 2007-11-15 | RHSA-2007:0969 |
| Red Hat Enterprise Linux 5 | util-linux-0:2.13-0.45.el5_1.1 | Fixed 2007-11-15 | RHSA-2007:0969 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-5191.
References
- http://bugs.gentoo.org/show_bug.cgi?id=195390
- http://frontal2.mandriva.com/en/security/advisories?name=MDKSA-2007:198
- 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
- http://lists.vmware.com/pipermail/security-announce/2008/000002.html
- http://secunia.com/advisories/27104
- http://secunia.com/advisories/27122
- http://secunia.com/advisories/27145
- http://secunia.com/advisories/27188
- http://secunia.com/advisories/27283
- http://secunia.com/advisories/27354
- http://secunia.com/advisories/27399
- http://secunia.com/advisories/27687
- http://secunia.com/advisories/28348
- http://secunia.com/advisories/28349
- http://secunia.com/advisories/28368
- http://secunia.com/advisories/28469
- http://security.gentoo.org/glsa/glsa-200710-18.xml
- http://support.avaya.com/elmodocs2/security/ASA-2008-023.htm
- http://www.debian.org/security/2008/dsa-1449
- http://www.debian.org/security/2008/dsa-1450
- http://www.redhat.com/support/errata/RHSA-2007-0969.html
- http://www.securityfocus.com/archive/1/485936/100/0/threaded
- http://www.securityfocus.com/archive/1/486859/100/0/threaded
- http://www.securityfocus.com/bid/25973
- http://www.securitytracker.com/id?1018782
- http://www.ubuntu.com/usn/usn-533-1
- http://www.vmware.com/security/advisories/VMSA-2008-0001.html
- http://www.vupen.com/english/advisories/2007/3417
- http://www.vupen.com/english/advisories/2008/0064
- https://bugzilla.redhat.com/show_bug.cgi?id=320041
- https://issues.rpath.com/browse/RPL-1757
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10101
- https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00144.html