cve.bz

CVE-2007-5191 Unchecked Return Value

no score yetEPSS 0.4%

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

Ask an AI about this CVE

Show the promptExplain 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

Versions

From the NVD's CPE matches.

ProductAffected
kernel:util-linuxthrough 2.13.1.1
fedoraproject:fedora7
canonical:ubuntu_linux6.06
canonical:ubuntu_linux6.10
canonical:ubuntu_linux7.04
debian:debian_linux3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.1loop-aes-utils2.12p-4sarge2DSA-1449-1
Debian3.1util-linux2.12p-4sarge2DSA-1450-1
Debian4.0loop-aes-utils2.12r-15+etch1DSA-1449-1
Debian4.0util-linux2.12r-19etch1DSA-1450-1
Debian5.0loop-aes-utils2.12r-16+lenny1DTSA-70-1
Debian5.0util-linux2.12r-19+lenny1DTSA-64-1
Debian12, 13, 14util-linux2.13-8DEBIAN-CVE-2007-5191
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moremount, losetup, util-linux and 1 more0:2.11y-31.24RHSA-2007:0969
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moreutil-linux, util-linux-debuginfo0:2.12a-17.el4_6.1RHSA-2007:0969
Red Hatenterprise_linux:5::client, enterprise_linux:5::serverutil-linux, util-linux-debuginfo0:2.13-0.45.el5_1.1RHSA-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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3util-linux-0:2.11y-31.24Fixed 2007-11-15RHSA-2007:0969
Red Hat Enterprise Linux 4util-linux-0:2.12a-17.el4_6.1Fixed 2007-11-15RHSA-2007:0969
Red Hat Enterprise Linux 5util-linux-0:2.13-0.45.el5_1.1Fixed 2007-11-15RHSA-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

Check your stackJSON