CVE-2014-8116: Medium severity File Project File vulnerability

Published Dec 8, 2014
·
Updated

The ELF parser (readelf.c) in file before 5.21 allows remote attackers to cause a denial of service (CPU consumption or crash) via a large number of (1) program or (2) section headers or (3) invalid capabilities.

Other sources

Thomas Jarosch of Intra2net AG reported a number of denial of service issues (resource consumption) in the ELF parser used by file(1). Using file(1) on a specially-crafted ELF binary could lead to a denial of service (resource consumption).

Upstream fixes:

https://github.com/file/file/commit/b4c01141e5367f247b84dcaf6aefbb4e741842b8 https://github.com/file/file/commit/d7cdad007c507e6c79f51f058dd77fab70ceb9f6

Due to some regressions found when testing, the following commits are also required:

https://github.com/file/file/commit/8a905717660395b38ec4966493f6f1cf2f33946c https://github.com/file/file/commit/90018fe22ff8b74a22fcd142225b0a00f3f12677 https://github.com/file/file/commit/6bf45271eb8e0e6577b92042ce2003ba998d1686

Refer also to bug 1174606 (CVE-2014-8117)

Acknowledgements:

Name: Thomas Jarosch (Intra2net AG)

— Red Hat

Affected Software

8 affected componentsFixes available
File Project File=5.20
FreeBSD FreeBSD
Mageia Mageia=4.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=14.10
redhat/file<5.21
5.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/file to a version that resolves this vulnerability.

    Fixed in 5.21
  2. Upgrade

    Upgrade file to a version that resolves this vulnerability.

    Fixed in 5.21

Event History

Dec 8, 2014
Data Sourced
via Red Hat·06:52 AM
DescriptionSeverityAffected Software
Dec 17, 2014
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
07:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2014-8116?

CVE-2014-8116 is classified as a denial of service vulnerability due to excessive CPU consumption or potential crashes.

2

How do I fix CVE-2014-8116?

To fix CVE-2014-8116, upgrade to a version of the 'file' utility that is 5.21 or later.

3

Which software versions are affected by CVE-2014-8116?

CVE-2014-8116 affects versions of the 'file' utility prior to 5.21, along with specific distributions like FreeBSD and certain Ubuntu and Mageia versions.

4

What types of input trigger CVE-2014-8116?

CVE-2014-8116 can be triggered by supplying a large number of program headers, section headers, or invalid capabilities to the ELF parser.

5

Can CVE-2014-8116 be exploited remotely?

Yes, CVE-2014-8116 can be exploited by remote attackers, leading to potential denial of service situations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203