CVE-2014-9114
High · 7.8CVSS
7.8
EPSS
0.6%
Published
Mar 31, 2017
CISA due date
—
Cloudanix analysis
A common Linux tool can be tricked by someone already on the computer into running harmful programs, potentially giving them full control of the machine.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Local command injection in blkid allows unprivileged users to execute arbitrary code via crafted input processed by the utility.
Why it matters to the business
Local attackers can gain full control of affected systems, leading to data theft, persistence, or lateral movement; widespread use in Linux distributions increases exposure across servers and endpoints.
How an attack unfolds
An attacker with local access supplies malicious input to blkid that triggers command injection, resulting in execution of attacker-controlled code with the privileges of the invoking user or process.
How to fix it
Upgrade util-linux to version 2.26rc-1 or later on all affected distributions; rebuild and redeploy packages where blkid is statically linked or embedded.
How to confirm the fix worked
Verify installed util-linux version is 2.26rc-1 or newer; run blkid against test inputs containing shell metacharacters and confirm no unexpected command execution occurs.
Typical attack path
- Obtain local shell or execution context on the target system.
- Invoke blkid with specially crafted device names, labels, or environment variables containing shell metacharacters.
- Trigger code execution to drop payloads, escalate privileges, or establish persistence.
How to detect it
Review process execution logs and audit trails for unexpected invocations of blkid with unusual arguments or device paths; examine command history and shell logs for suspicious metacharacter usage around blkid calls.
What your security team should do
- Prioritize patching util-linux across all Linux fleets within standard change windows.
- Scan package inventories for vulnerable util-linux versions and schedule immediate upgrades.
- Review any automated scripts or monitoring tools that invoke blkid and restrict their input sources.
The record
Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | util-linux | 0 | 2.25.2-4 |
| Debian:12 | util-linux | 0 | 2.25.2-4 |
| Debian:13 | util-linux | 0 | 2.25.2-4 |
| Mageia:4 | util-linux | 0 | 2.24.2-1.mga4 |
| SUSE:Linux Enterprise Desktop 12 | python-libmount | 0 | 2.25-10.3 |
| SUSE:Linux Enterprise Desktop 12 | util-linux | 0 | 2.25-10.1 |
| SUSE:Linux Enterprise Desktop 12 | util-linux-systemd | 0 | 2.25-10.1 |
| SUSE:Linux Enterprise Server 12 | python-libmount | 0 | 2.25-10.3 |
| SUSE:Linux Enterprise Server 12 | util-linux | 0 | 2.25-10.1 |
| SUSE:Linux Enterprise Server 12 | util-linux-systemd | 0 | 2.25-10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | python-libmount | 0 | 2.25-10.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | util-linux | 0 | 2.25-10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | util-linux-systemd | 0 | 2.25-10.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | util-linux | 0 | 2.25-10.1 |
| SUSE:Linux Enterprise Workstation Extension 12 | util-linux | 0 | 2.25-10.1 |
| Ubuntu:14.04:LTS | util-linux | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | util-linux | 0 | No fix |
| openSUSE:Tumbleweed | util-linux | 0 | 2.28.2-2.1 |
Related vulnerabilities
- CVE-2024-28085 wall in util-linux through 2.40, often installed with setgid tty permissions, allows… Also affects util-linux
- CVE-2016-5011 The parse_dos_extended function in partitions/dos.c in the libblkid library in util-linux… Also affects util-linux
- CVE-2016-2779 runuser in util-linux allows local users to escape to the parent session via a crafted… Also affects util-linux
- CVE-2015-5218 Buffer overflow in text-utils/colcrt.c in colcrt in util-linux before 2.27 allows local… Also affects util-linux
- CVE-2026-27456 util-linux is a random collection of Linux utilities. Also affects util-linux
- CVE-2026-3184 A flaw was found in util-linux. Also affects util-linux
- CVE-2025-14104 A flaw was found in util-linux. Also affects util-linux
- CVE-2026-95727 A command injection vulnerability exists in HPE Networking VIA. CWE-77