CVE-2007-5191: 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…
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.44% (FIRST EPSS).
- No special conditions are required; it is repeatable.
- Fixed version: util-linux (Debian:12) 2.13-8; loop-aes-utils (Debian:3.1) 2.12p-4sarge2; util-linux (Debian:3.1) 2.12p-4sarge2.
Low priority for now. Upgrade to util-linux (Debian:12) 2.13-8; loop-aes-utils (Debian:3.1) 2.12p-4sarge2; util-linux (Debian:3.1) 2.12p-4sarge2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 4, 2007
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 38th percentile
- CWE
- CWE-252
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| kernel | util-linux | cpe:2.3:a:kernel:util-linux |
| loop-aes-utils project | loop-aes-utils | cpe:2.3:a:loop-aes-utils_project:loop-aes-utils |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | util-linux | before 2.13-8 | 2.13-8 |
| Debian:3.1 | loop-aes-utils | before 2.12p-4sarge2 | 2.12p-4sarge2 |
| Debian:3.1 | util-linux | before 2.12p-4sarge2 | 2.12p-4sarge2 |
| Debian:4.0 | loop-aes-utils | before 2.12r-15+etch1 | 2.12r-15+etch1 |
| Debian:4.0 | util-linux | before 2.12r-19etch1 | 2.12r-19etch1 |
| Debian:5.0 | loop-aes-utils | before 2.12r-16+lenny1 | 2.12r-16+lenny1 |
| Debian:5.0 | util-linux | before 2.12r-19+lenny1 | 2.12r-19+lenny1 |
| Red Hat:enterprise_linux:3::as | losetup | before 0:2.11y-31.24 | 0:2.11y-31.24 |
| Red Hat:enterprise_linux:3::as | mount | before 0:2.11y-31.24 | 0:2.11y-31.24 |
| Red Hat:enterprise_linux:3::as | util-linux | before 0:2.11y-31.24 | 0:2.11y-31.24 |
| Red Hat:enterprise_linux:3::as | util-linux-debuginfo | before 0:2.11y-31.24 | 0:2.11y-31.24 |
| Red Hat:enterprise_linux:4::as | util-linux | before 0:2.12a-17.el4_6.1 | 0:2.12a-17.el4_6.1 |
| Red Hat:enterprise_linux:4::as | util-linux-debuginfo | before 0:2.12a-17.el4_6.1 | 0:2.12a-17.el4_6.1 |
| Red Hat:enterprise_linux:5::client | util-linux | before 0:2.13-0.45.el5_1.1 | 0:2.13-0.45.el5_1.1 |
| Red Hat:enterprise_linux:5::client | util-linux-debuginfo | before 0:2.13-0.45.el5_1.1 | 0:2.13-0.45.el5_1.1 |
Same product
kernel: all recordsOther 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…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…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…31Monitor
Published before and after this one in the same product
- ← EarlierCVE-2001-1494Dec 31, 2001 · script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the…22Monitor
- Later →CVE-2013-0157Jan 21, 2014 · (a) mount and (b) umount in util-linux 2.14.1, 2.17.2, and probably other versions allow local users to determine the existence of…8Monitor
- Later →CVE-2015-5218Nov 9, 2015 · Buffer overflow in text-utils/colcrt.c in colcrt in util-linux before 2.27 allows local users to cause a denial of service (crash) via a…8Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:loop-aes-utils | 2.12r-15+etch1 · Debian:4.0 | Package registry (OSV) |
| debian:util-linux | 2.13-8 · Debian:12 | Package registry (OSV) |
| red hat:losetup | 0:2.11y-31.24 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:mount | 0:2.11y-31.24 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:util-linux | 0:2.11y-31.24 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:util-linux-debuginfo | 0:2.11y-31.24 · Red Hat:enterprise_linux:3::as | Package 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.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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
Weakness class (CWE)
CWE-252 · Unchecked Return ValueCVSS 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.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- frontal2.mandriva.com/en/security/advisories?name=MDKSA-2007:198
- git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git%3Ba=commit%3Bh=ebbeb2c7ac1b00b6083905957837a271e80b187e
- lists.opensuse.org/opensuse-security-announce/2007-10/msg00008.html
- lists.vmware.com/pipermail/security-announce/2008/000002.html
- secunia.com/advisories/27104
- secunia.com/advisories/27122
- secunia.com/advisories/27145
- secunia.com/advisories/27188
- secunia.com/advisories/27283
- secunia.com/advisories/27354
- secunia.com/advisories/27399
- secunia.com/advisories/27687
- secunia.com/advisories/28348
- secunia.com/advisories/28349
- secunia.com/advisories/28368
- secunia.com/advisories/28469
- security.gentoo.org/glsa/glsa-200710-18.xml
- support.avaya.com/elmodocs2/security/ASA-2008-023.htm
- www.debian.org/security/2008/dsa-1449
Vendor advisories and official records. Exploit/PoC links are deliberately left out.