Buffer Overflow in e2fsprogs - Security Update

e2fsprogs Updated 02 Oct 2025

Summary

22/02/2015
N/A
Yes i
Unrated
Not published

DSA-3166-1: e2fsprogs - security update. Affects e2fsprogs versions < 1.42.5-1.1+deb7u1. Fixed in 1.42.5-1.1+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

e2fsprogs is a set of utilities for the ext2, ext3, and ext4 file systems. It provides various tools for managing and maintaining these file systems. The package is widely used in Debian 7 (wheezy) and other distributions. However, a buffer overflow vulnerability has been discovered in e2fsprogs, which can potentially lead to arbitrary code execution if a malicious device is plugged in and automatically mounted, triggering the fsck process on the device's malicious filesystem.

Vulnerability Detail

The vulnerability, identified as CVE-2015-0247, is a buffer overflow in the ext2/ext3/ext4 file system open/close routines. This flaw allows an attacker to overflow a buffer and potentially execute arbitrary code. An incomplete fix for this vulnerability was initially released as CVE-2015-1572, but it was later discovered that the fix was not sufficient.

How To Fix

Minimum fixed version

1.42.5-1.1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade e2fsprogs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to apply the security update as soon as possible to mitigate the risk of exploitation.

Conclusion

The buffer overflow vulnerability in e2fsprogs can lead to arbitrary code execution if a malicious device is plugged in and automatically mounted. It is crucial to upgrade the e2fsprogs package to the fixed version to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for e2fsprogs →

Share this vulnerability

FAQ

e2fsprogs is a set of utilities for managing ext2, ext3, and ext4 file systems.

The vulnerability can potentially allow an attacker to execute arbitrary code if a malicious device is plugged in and automatically mounted.

To fix this vulnerability, upgrade the e2fsprogs package to version 1.42.5-1.1+deb7u1 or later.

No, there is no known workaround. Applying the security update is the recommended solution.

You can find more information about this vulnerability in the Debian Security Advisory DSA-3166-1.

Related vulnerabilities

Recent vulnerabilities recorded for e2fsprogs.

How To Fix

Minimum fixed version

1.42.5-1.1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade e2fsprogs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback