CVE-2015-5218
NoneCVSS
—
EPSS
0.6%
Published
Nov 9, 2015
CISA due date
—
Cloudanix analysis
A flaw in a common system tool lets someone with local access crash the program by feeding it a specially made file, which can interrupt text handling tasks until fixed.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Local buffer overflow in colcrt utility allows a crafted input file to corrupt memory via the page global variable, resulting in a crash and denial of service with no confidentiality or integrity impact.
Why it matters to the business
Disrupts local text formatting and processing workflows on systems using older util-linux packages, potentially affecting scripts or tools that invoke colcrt and requiring restarts or manual intervention.
How an attack unfolds
A local attacker creates a specially crafted file that triggers the overflow when processed by colcrt, causing the process to crash; exploitation requires only local access and a low-complexity input file with no authentication needed.
How to fix it
Upgrade util-linux to version 2.27 or later; for affected Bitnami Wildfly deployments, update to version 27.0.0 or newer which bundles the corrected package.
How to confirm the fix worked
Confirm util-linux version is 2.27 or higher via package manager queries; test colcrt with known non-crashing inputs and verify no crash occurs on boundary cases around the page variable handling.
Typical attack path
- Obtain local user access on an affected system
- Craft a malicious input file targeting the page variable in colcrt
- Invoke colcrt against the crafted file to trigger the overflow and crash
How to detect it
Review system logs for unexpected colcrt process crashes or segmentation faults; inspect command history and file access logs for invocations of colcrt against unusual or recently created files.
What your security team should do
- Prioritize patching systems still running util-linux versions before 2.27 due to available public exploits
- Audit local scripts and cron jobs that invoke colcrt for potential exposure to untrusted input files
- Monitor for any remaining instances of the vulnerable binary and schedule removal or isolation
The record
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 crafted file, related to the page global variable.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | util-linux | 0 | 2.27-1 |
| Debian:11 | util-linux | 0 | 2.27-1 |
| Debian:12 | util-linux | 0 | 2.27-1 |
| Debian:13 | util-linux | 0 | 2.27-1 |
| Debian:14 | util-linux | 0 | 2.27-1 |
| Mageia:5 | util-linux | 0 | 2.25.2-3.2.mga5 |
| SUSE:Linux Enterprise Desktop 12 | bash-completion | 0 | 2.1-8.1 |
| SUSE:Linux Enterprise Desktop 12 | python-libmount | 0 | 2.25-24.3.3 |
| SUSE:Linux Enterprise Desktop 12 | util-linux | 0 | 2.25-24.3.2 |
| SUSE:Linux Enterprise Desktop 12 | util-linux-systemd | 0 | 2.25-24.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | bash-completion | 0 | 2.1-8.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | util-linux | 0 | 2.19.1-6.62.7.1 |
| SUSE:Linux Enterprise Server 12 | bash-completion | 0 | 2.1-8.1 |
| SUSE:Linux Enterprise Server 12 | python-libmount | 0 | 2.25-24.3.3 |
| SUSE:Linux Enterprise Server 12 | util-linux | 0 | 2.25-24.3.2 |
| SUSE:Linux Enterprise Server 12 | util-linux-systemd | 0 | 2.25-24.3.1 |
| SUSE:Linux Enterprise Server 12 SP1 | bash-completion | 0 | 2.1-8.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | bash-completion | 0 | 2.1-8.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | python-libmount | 0 | 2.25-24.3.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | util-linux | 0 | 2.25-24.3.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | util-linux-systemd | 0 | 2.25-24.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | bash-completion | 0 | 2.1-8.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | util-linux | 0 | 2.25-24.3.2 |
| SUSE:Linux Enterprise Workstation Extension 12 | util-linux | 0 | 2.25-24.3.2 |
| Ubuntu:18.04:LTS | bsdmainutils | 0 | 11.1.2ubuntu1 |
| Ubuntu:20.04:LTS | bsdmainutils | 0 | 11.1.2ubuntu3 |
| 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-2014-9114 Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code. 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-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-121517 A vulnerability was detected in IrfanView 4.76.0.0 on Win64. CWE-119