Every CVE Search/ Get API key

CVE-2014-8117

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers...

5.0 MediumFix available

CVE-2014-8117 is a medium vulnerability (CVSS 5.0) in File Project File, published March 2, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.93%, the 93rd percentile. Fixed in file 1:5.21+15-1.

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

Exploit likelihood

5.93%Up 2.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

Record
CVE-2014-8117
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-399
Updated
2026-11-02
CVE List No score

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

Record
CVE-2014-8117
Updated
2026-11-02
EUVDEUVD-2014-7962 No score

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

Record
EUVD-2014-7962
Updated
2026-11-03
GitHub AdvisoriesGHSA-7cj4-vm7w-5gqx No score

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers...

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

Record
GHSA-7cj4-vm7w-5gqx
Updated
2026-11-02
OSV No score

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

Record
CVE-2014-8117
Updated
2026-11-02
OSVDEBIAN-CVE-2014-8117 No score

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

Record
DEBIAN-CVE-2014-8117
Updated
2026-11-02
Show 7 moreShow less
OSVMGASA-2014-0537 No score

Updated file packages fix security vulnerabilities

Updated file packages fix security vulnerabilities:

Thomas Jarosch of Intra2net AG reported that using the file command on a specially-crafted ELF binary could lead to a denial of service due to uncontrolled resource consumption (CVE-2014-8116).

Thomas Jarosch of Intra2net AG reported that using the file command on a specially-crafted ELF binary could lead to a denial of service due to uncontrolled recursion (CVE-2014-8117).

Record
MGASA-2014-0537
Updated
2026-11-02
OSVMGASA-2015-0040 No score

Updated php packages fix security vulnerabilities

Updated php and libgd packages fix security vulnerabilities:

Double free vulnerability in the zend_ts_hash_graceful_destroy function in zend_ts_hash.c in the Zend Engine in PHP before 5.5.21 allows remote attackers to cause a denial of service or possibly have unspecified other impact via unknown vectors (CVE-2014-9425).

sapi/cgi/cgi_main.c in the CGI component in PHP before 5.5.21, when mmap is used to read a .php file, does not properly consider the mapping's length during processing of an invalid file that begins with a # character and lacks a newline character, which causes an out-of-bounds read and might allow remote attackers to obtain sensitive information from php-cgi process memory by leveraging the ability to upload a .php file or trigger unexpected code execution if a valid PHP script is present in memory locations adjacent to the mapping (CVE-2014-9427).

Use after free vulnerability in unserialize() in PHP before 5.5.21 (CVE-2015-0231).

Free called on an uninitialized pointer in php-exif in PHP before 5.5.21 (CVE-2015-0232).

The readelf.c source file has been removed from PHP's bundled copy of file's libmagic, eliminating exposure to denial of service issues in ELF file parsing such as CVE-2014-8116, CVE-2014-8117, CVE-2014-9620 and CVE-2014-9621 in PHP's fileinfo module.

A buffer read overflow in gd_gif_in.c in the php#68601 bug referenced in the PHP 5.5.21 ChangeLog has been fixed in the libgd package.

The php package has been updated to version 5.5.21 to fix these issues and other bugs. Please see the upstream ChangeLog for more information.

Record
MGASA-2015-0040
Updated
2026-11-02
OSVopenSUSE-SU-2024:10221-1 No score

file-5.29-2.1 on GA media

These are all security issues fixed in the file-5.29-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10221-1
Updated
2026-11-02
OSVSUSE-SU-2017:3048-1 No score

Security update for file

The GNU file utility was updated to version 5.22.

Security issues fixed:

  • CVE-2014-9621: The ELF parser in file allowed remote attackers to cause a denial of service via a long string. (bsc#913650)
  • CVE-2014-9620: The ELF parser in file allowed remote attackers to cause a denial of service via a large number of notes. (bsc#913651)
  • CVE-2014-9653: readelf.c in file did not consider that pread calls sometimes read only a subset of the available data, which allows remote attackers to cause a denial of service (uninitialized memory access) or possibly have unspecified other impact via a crafted ELF file. (bsc#917152)
  • CVE-2014-8116: The ELF parser (readelf.c) in file allowed 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. (bsc#910253)
  • CVE-2014-8117: softmagic.c in file did not properly limit recursion, which allowed remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors. (bsc#910253)

Version update to file version 5.22

  • add indirect relative for TIFF/Exif
  • restructure elf note printing to avoid repeated messages
  • add note limit, suggested by Alexander Cherepanov
  • Bail out on partial pread()'s (Alexander Cherepanov)
  • Fix incorrect bounds check in file_printable (Alexander Cherepanov)
  • PR/405: ignore SIGPIPE from uncompress programs
  • change printable -> file_printable and use it in more places for safety
  • in ELF, instead of '(uses dynamic libraries)' when PT_INTERP is present print the interpreter name.

Version update to file version 5.21

  • there was an incorrect free in magic_load_buffers()
  • there was an out of bounds read for some pascal strings
  • there was a memory leak in magic lists
  • don't interpret strings printed from files using the current locale, convert them to ascii format first.
  • there was an out of bounds read in elf note reads

Update to file version 5.20

  • recognize encrypted CDF documents
  • add magic_load_buffers from Brooks Davis
  • add thumbs.db support

Additional non-security bug fixes:

  • Fixed a memory corruption during rpmbuild (bsc#1063269)
  • Backport of a fix for an increased printable string length as found in file 5.30 (bsc#996511)
  • file command throws 'Composite Document File V2 Document, corrupt: Can't read SSAT' error against excel 97/2003 file format. (bsc#1009966)
Record
SUSE-SU-2017:3048-1
Updated
2026-11-02
OSVUBUNTU-CVE-2014-8117 No score

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

Record
UBUNTU-CVE-2014-8117
Updated
2026-11-02
OSVUSN-2494-1 No score

file vulnerabilities

Francisco Alonso discovered that file incorrectly handled certain ELF files. An attacker could use this issue to cause file to crash, resulting in a denial of service. (CVE-2014-3710)

Thomas Jarosch discovered that file incorrectly handled certain ELF files. An attacker could use this issue to cause file to hang or crash, resulting in a denial of service. (CVE-2014-8116)

Thomas Jarosch discovered that file incorrectly limited recursion. An attacker could use this issue to cause file to hang or crash, resulting in a denial of service. (CVE-2014-8117)

Record
USN-2494-1
Updated
2026-11-02
OSVUSN-2535-1 No score

php5 vulnerabilities

Thomas Jarosch discovered that PHP incorrectly limited recursion in the fileinfo extension. A remote attacker could possibly use this issue to cause PHP to consume resources or crash, resulting in a denial of service. (CVE-2014-8117)

S. Paraschoudis discovered that PHP incorrectly handled memory in the enchant binding. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2014-9705)

Taoguang Chen discovered that PHP incorrectly handled unserializing objects. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-0273)

It was discovered that PHP incorrectly handled memory in the phar extension. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-2301)

Record
USN-2535-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
file
Debian:12
before 1:5.21+15-1
1:5.21+15-1
file
Debian:13
before 1:5.21+15-1
1:5.21+15-1
file
Debian:14
before 1:5.21+15-1
1:5.21+15-1
file
Debian:6.0
before 5.04-5+squeeze9, plus listed versions
5.04-55.04-5+squeeze15.04-5+squeeze25.04-5+squeeze35.04-5+squeeze4
Show 4 moreShow less
5.04-5+squeeze55.04-5+squeeze65.04-5+squeeze75.04-5+squeeze8
5.04-5+squeeze9
php5
Debian:6.0
before 5.3.3-7+squeeze24, plus listed versions
5.3.3-75.3.3-7+squeeze15.3.3-7+squeeze135.3.3-7+squeeze145.3.3-7+squeeze15
Show 15 moreShow less
5.3.3-7+squeeze165.3.3-7+squeeze175.3.3-7+squeeze185.3.3-7+squeeze195.3.3-7+squeeze25.3.3-7+squeeze205.3.3-7+squeeze215.3.3-7+squeeze225.3.3-7+squeeze235.3.3-7+squeeze35.3.3-7+squeeze55.3.3-7+squeeze65.3.3-7+squeeze75.3.3-7+squeeze85.3.3-7+squeeze9
5.3.3-7+squeeze24
php5
Debian:6.0
before 5.3.3-7+squeeze19, plus listed versions
5.3.3-75.3.3-7+squeeze15.3.3-7+squeeze135.3.3-7+squeeze145.3.3-7+squeeze15
Show 10 moreShow less
5.3.3-7+squeeze165.3.3-7+squeeze175.3.3-7+squeeze185.3.3-7+squeeze25.3.3-7+squeeze35.3.3-7+squeeze55.3.3-7+squeeze65.3.3-7+squeeze75.3.3-7+squeeze85.3.3-7+squeeze9
5.3.3-7+squeeze19
php5
Debian:7
before 5.4.4-14+deb7u8, plus listed versions
5.4.4-145.4.4-14+deb7u15.4.4-14+deb7u25.4.4-14+deb7u35.4.4-14+deb7u45.4.4-14+deb7u55.4.4-14+deb7u7
5.4.4-14+deb7u8
file
Debian:7
before 5.11-2+deb7u7, plus listed versions
5.11-25.11-2+deb7u15.11-2+deb7u25.11-2+deb7u35.11-2+deb7u45.11-2+deb7u55.11-2+deb7u6
5.11-2+deb7u7
file
Mageia:4
before 5.16-1.9.mga4
5.16-1.9.mga4
php
Mageia:4
before 5.5.21-1.mga4
5.5.21-1.mga4
Show 64 moreShow less
Affected packages
PackageAffectedFixed
php-apc
Mageia:4
before 3.1.15-4.11.mga4
3.1.15-4.11.mga4
libgd
Mageia:4
before 2.1.0-3.2.mga4
2.1.0-3.2.mga4
file-debuginfo
Red Hat:enterprise_linux:7::client
before 0:5.11-31.el7
0:5.11-31.el7
file-devel
Red Hat:enterprise_linux:7::client
before 0:5.11-31.el7
0:5.11-31.el7
file-static
Red Hat:enterprise_linux:7::client
before 0:5.11-31.el7
0:5.11-31.el7
file
Red Hat:enterprise_linux:7::client
before 0:5.11-31.el7
0:5.11-31.el7
file-libs
Red Hat:enterprise_linux:7::client
before 0:5.11-31.el7
0:5.11-31.el7
python-magic
Red Hat:enterprise_linux:7::client
before 0:5.11-31.el7
0:5.11-31.el7
file-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:5.11-31.el7
0:5.11-31.el7
file-devel
Red Hat:enterprise_linux:7::computenode
before 0:5.11-31.el7
0:5.11-31.el7
file-static
Red Hat:enterprise_linux:7::computenode
before 0:5.11-31.el7
0:5.11-31.el7
file
Red Hat:enterprise_linux:7::computenode
before 0:5.11-31.el7
0:5.11-31.el7
file-libs
Red Hat:enterprise_linux:7::computenode
before 0:5.11-31.el7
0:5.11-31.el7
python-magic
Red Hat:enterprise_linux:7::computenode
before 0:5.11-31.el7
0:5.11-31.el7
file-debuginfo
Red Hat:enterprise_linux:7::server
before 0:5.11-31.el7
0:5.11-31.el7
file-devel
Red Hat:enterprise_linux:7::server
before 0:5.11-31.el7
0:5.11-31.el7
file-static
Red Hat:enterprise_linux:7::server
before 0:5.11-31.el7
0:5.11-31.el7
file
Red Hat:enterprise_linux:7::server
before 0:5.11-31.el7
0:5.11-31.el7
file-libs
Red Hat:enterprise_linux:7::server
before 0:5.11-31.el7
0:5.11-31.el7
python-magic
Red Hat:enterprise_linux:7::server
before 0:5.11-31.el7
0:5.11-31.el7
file-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:5.11-31.el7
0:5.11-31.el7
file-devel
Red Hat:enterprise_linux:7::workstation
before 0:5.11-31.el7
0:5.11-31.el7
file-static
Red Hat:enterprise_linux:7::workstation
before 0:5.11-31.el7
0:5.11-31.el7
file
Red Hat:enterprise_linux:7::workstation
before 0:5.11-31.el7
0:5.11-31.el7
file-libs
Red Hat:enterprise_linux:7::workstation
before 0:5.11-31.el7
0:5.11-31.el7
python-magic
Red Hat:enterprise_linux:7::workstation
before 0:5.11-31.el7
0:5.11-31.el7
file-debuginfo
Red Hat:enterprise_linux:6::client
before 0:5.04-30.el6
0:5.04-30.el6
file-devel
Red Hat:enterprise_linux:6::client
before 0:5.04-30.el6
0:5.04-30.el6
file-static
Red Hat:enterprise_linux:6::client
before 0:5.04-30.el6
0:5.04-30.el6
file
Red Hat:enterprise_linux:6::client
before 0:5.04-30.el6
0:5.04-30.el6
file-libs
Red Hat:enterprise_linux:6::client
before 0:5.04-30.el6
0:5.04-30.el6
python-magic
Red Hat:enterprise_linux:6::client
before 0:5.04-30.el6
0:5.04-30.el6
file-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:5.04-30.el6
0:5.04-30.el6
file-devel
Red Hat:enterprise_linux:6::computenode
before 0:5.04-30.el6
0:5.04-30.el6
file-static
Red Hat:enterprise_linux:6::computenode
before 0:5.04-30.el6
0:5.04-30.el6
file
Red Hat:enterprise_linux:6::computenode
before 0:5.04-30.el6
0:5.04-30.el6
file-libs
Red Hat:enterprise_linux:6::computenode
before 0:5.04-30.el6
0:5.04-30.el6
python-magic
Red Hat:enterprise_linux:6::computenode
before 0:5.04-30.el6
0:5.04-30.el6
file-debuginfo
Red Hat:enterprise_linux:6::server
before 0:5.04-30.el6
0:5.04-30.el6
file-static
Red Hat:enterprise_linux:6::server
before 0:5.04-30.el6
0:5.04-30.el6
file
Red Hat:enterprise_linux:6::server
before 0:5.04-30.el6
0:5.04-30.el6
file-devel
Red Hat:enterprise_linux:6::server
before 0:5.04-30.el6
0:5.04-30.el6
file-libs
Red Hat:enterprise_linux:6::server
before 0:5.04-30.el6
0:5.04-30.el6
python-magic
Red Hat:enterprise_linux:6::server
before 0:5.04-30.el6
0:5.04-30.el6
file-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:5.04-30.el6
0:5.04-30.el6
file-static
Red Hat:enterprise_linux:6::workstation
before 0:5.04-30.el6
0:5.04-30.el6
file
Red Hat:enterprise_linux:6::workstation
before 0:5.04-30.el6
0:5.04-30.el6
file-devel
Red Hat:enterprise_linux:6::workstation
before 0:5.04-30.el6
0:5.04-30.el6
file-libs
Red Hat:enterprise_linux:6::workstation
before 0:5.04-30.el6
0:5.04-30.el6
python-magic
Red Hat:enterprise_linux:6::workstation
before 0:5.04-30.el6
0:5.04-30.el6
file
SUSE:Linux Enterprise Desktop 12 SP2
before 5.22-10.3.1
5.22-10.3.1
file
SUSE:Linux Enterprise Desktop 12 SP3
before 5.22-10.3.1
5.22-10.3.1
file
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 5.22-10.3.1
5.22-10.3.1
file
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 5.22-10.3.1
5.22-10.3.1
python-magic
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 5.22-10.3.1
5.22-10.3.1
file
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 5.22-10.3.1
5.22-10.3.1
python-magic
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 5.22-10.3.1
5.22-10.3.1
file
SUSE:Linux Enterprise Server 12 SP2
before 5.22-10.3.1
5.22-10.3.1
file
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 5.22-10.3.1
5.22-10.3.1
file
SUSE:Linux Enterprise Server 12 SP3
before 5.22-10.3.1
5.22-10.3.1
file
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 5.22-10.3.1
5.22-10.3.1
file
Ubuntu:14.04:LTS
before 1:5.14-2ubuntu3.3, plus listed versions
5.11-2ubuntu41:5.14-2ubuntu11:5.14-2ubuntu21:5.14-2ubuntu31:5.14-2ubuntu3.11:5.14-2ubuntu3.2
1:5.14-2ubuntu3.3
php5
Ubuntu:14.04:LTS
before 5.5.9+dfsg-1ubuntu4.7, plus listed versions
5.5.3+dfsg-1ubuntu25.5.3+dfsg-1ubuntu35.5.6+dfsg-1ubuntu15.5.6+dfsg-1ubuntu25.5.8+dfsg-2ubuntu1
Show 10 moreShow less
5.5.9+dfsg-1ubuntu15.5.9+dfsg-1ubuntu25.5.9+dfsg-1ubuntu35.5.9+dfsg-1ubuntu45.5.9+dfsg-1ubuntu4.15.5.9+dfsg-1ubuntu4.25.5.9+dfsg-1ubuntu4.35.5.9+dfsg-1ubuntu4.45.5.9+dfsg-1ubuntu4.55.5.9+dfsg-1ubuntu4.6
5.5.9+dfsg-1ubuntu4.7
file
openSUSE:Tumbleweed
before 5.29-2.1
5.29-2.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 119 moreShow less
MoveEnter Open