CVE-2015-0247
NoneCVSS
—
EPSS
0.9%
Published
Feb 17, 2015
CISA due date
—
Cloudanix analysis
A local user could trick a program into running harmful code by feeding it a specially made hard drive image file.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer overflow in libext2fs openfs.c allows local code execution when processing a filesystem image containing crafted block group descriptor data.
Why it matters to the business
Attackers with local access can run arbitrary code on affected systems, potentially leading to privilege escalation or persistence on servers and workstations that process untrusted filesystem images.
How an attack unfolds
An attacker creates a malicious filesystem image with oversized or malformed block group descriptors, then causes a local process using the vulnerable libext2fs library to parse the image, triggering the heap overflow and executing attacker-supplied code.
How to fix it
Upgrade e2fsprogs to version 1.42.12 or later. For humhub/humhub (GIT) apply the fix in commit fbcfcbbb4469542d6730fd069c8d2e42ac2bed2e.
How to confirm the fix worked
Verify e2fsprogs version is 1.42.12 or newer; confirm humhub/humhub instances are at commit fbcfcbbb4469542d6730fd069c8d2e42ac2bed2e or later; test with crafted images in isolated environments.
Typical attack path
- Obtain local user access on target system
- Craft malicious ext2/ext3/ext4 filesystem image with corrupted block group descriptors
- Trigger processing of the image via mount, fsck, or application using libext2fs
- Exploit resulting heap overflow to execute arbitrary code
How to detect it
Review system logs for unexpected execution of e2fsck, dumpe2fs, or mount operations on non-standard images; monitor for new processes spawned after filesystem operations by unprivileged users.
What your security team should do
- Prioritize patching systems that mount or inspect untrusted filesystem images
- Remove or restrict local user accounts on high-value systems until updated
- Scan for older e2fsprogs packages across the environment
The record
Heap-based buffer overflow in openfs.c in the libext2fs library in e2fsprogs before 1.42.12 allows local users to execute arbitrary code via crafted block group descriptor data in a filesystem image.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | e2fsprogs | 0 | 1.42.12-1 |
| Debian:12 | e2fsprogs | 0 | 1.42.12-1 |
| Debian:13 | e2fsprogs | 0 | 1.42.12-1 |
| Debian:6.0 | e2fsprogs | 0 | 1.41.12-4+deb6u1 |
| Debian:7 | e2fsprogs | 0 | 1.42.5-1.1+deb7u1 |
| Mageia:4 | e2fsprogs | 0 | 1.42.9-2.1.mga4 |
| SUSE:Linux Enterprise Desktop 12 | e2fsprogs | 0 | 1.42.11-7.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 | e2fsprogs | 0 | 1.43.8-4.3.1 |
| SUSE:Linux Enterprise Server 12 | e2fsprogs | 0 | 1.42.11-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | e2fsprogs | 0 | 1.42.11-7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | e2fsprogs | 0 | 1.42.11-7.1 |
| Ubuntu:14.04:LTS | e2fsprogs | 0 | 1.42.9-3ubuntu1.2 |
Related vulnerabilities
- CVE-2019-5188 A code execution vulnerability exists in the directory rehashing functionality of… Also affects e2fsprogs
- CVE-2019-5094 An exploitable code execution vulnerability exists in the quota file functionality of… Also affects e2fsprogs
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-119