DSA-3121-1: file - security update

file Updated 02 Oct 2025

Summary

08/01/2015
N/A
Yes i
Unrated
Not published

DSA-3121-1: file - security update. Affects file versions < 5.11-2+deb7u7. Fixed in 5.11-2+deb7u7. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The 'file' package is a tool/library used to determine the type of a file. It analyzes the contents of a file and provides information about its format and characteristics. This vulnerability affects the Debian 7 (wheezy) ecosystem.

Vulnerability Detail

Multiple security issues have been discovered in the 'file' package. Processing a malformed file could lead to a denial of service. The vulnerabilities primarily involve parsing ELF files. The fixes include adding or tightening limits on certain aspects of file detection, which may result in messages like 'recursion limit exceeded' or 'too many program header sections'. To address these shortcomings, the new '-P, --parameter' option in the file program allows control over these limits.

How To Fix

Minimum fixed version

5.11-2+deb7u7

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 →

Conclusion

The 'file' package has been found to have multiple security vulnerabilities that could lead to denial of service. It is crucial to upgrade to the latest version (5.11-2+deb7u7) to mitigate these issues. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for file →

Share this vulnerability

FAQ

The vulnerabilities in the 'file' package could potentially be exploited to cause a denial of service by processing a specially crafted file.

The vulnerabilities affect versions prior to 5.11-2+deb7u7 for the Debian 7 (wheezy) ecosystem.

No specific workarounds have been provided for these vulnerabilities. It is recommended to apply the available security update.

To upgrade the 'file' package, you can use the package manager for your Debian-based system. For example, you can run 'apt-get update' followed by 'apt-get upgrade file' to install the latest version.

You can find more information about these vulnerabilities in the Debian Security Advisory DSA-3121-1.

Related vulnerabilities

Recent vulnerabilities recorded for file.

How To Fix

Minimum fixed version

5.11-2+deb7u7

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