Vulnerability in file utility - Out-of-Bounds Read and Application Crash

file Updated 02 Oct 2025

Summary

11/11/2014
N/A
Yes i
Unrated
Not published

DSA-3072-1: file - security update. Affects file versions < 5.11-2+deb7u6. Fixed in 5.11-2+deb7u6. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The file utility is a widely used tool that examines the type of data contained in a file. It is commonly used to determine the file type of unknown files or to verify the file type of known files. The utility analyzes the file's content and provides information such as the file format, encoding, and architecture. This vulnerability affects the file utility in Debian 7 (wheezy) and potentially allows attackers to cause a denial of service by supplying a specially crafted ELF file.

Vulnerability Detail

The vulnerability in the file utility arises from incorrect checking of note headers in ELF files. This flaw can be exploited by an attacker to trigger an out-of-bounds read and crash the application. By supplying a specially crafted ELF file, an attacker can exploit this vulnerability to cause a denial of service. The impact of this vulnerability is limited to the file utility and does not extend to the underlying system.

How To Fix

Minimum fixed version

5.11-2+deb7u6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade file

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 recommended to apply the fix provided by upgrading the file package.

Conclusion

The file utility in Debian 7 (wheezy) is vulnerable to an out-of-bounds read and application crash when processing specially crafted ELF files. Users are advised to upgrade their file packages to the fixed version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for file →

Share this vulnerability

FAQ

The file utility is a tool used to determine the type of data contained in a file. It analyzes the file's content and provides information such as the file format, encoding, and architecture.

ELF (Executable and Linkable Format) is a common file format used for executables, object code, shared libraries, and core dumps in Unix-like operating systems.

An attacker can exploit this vulnerability by supplying a specially crafted ELF file to the file utility, triggering an out-of-bounds read and causing the application to crash.

The impact of this vulnerability is limited to the file utility itself. It can lead to a denial of service, causing the application to crash, but does not have any direct impact on the underlying system.

To protect against this vulnerability, it is recommended to upgrade the file package to the fixed version provided by the distribution. For Debian 7 (wheezy), upgrade to version 5.11-2+deb7u6.

Related vulnerabilities

Recent vulnerabilities recorded for file.

How To Fix

Minimum fixed version

5.11-2+deb7u6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade file

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