Skip to content
Fencer Intel
high 7.5

CVE-2014-9653 json

readelf.c in file before 5.22, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does no…

published 2015-03-30 11 y ago modified 2026-06-17 4 mo ago also EUVD-2014-9463

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.6%
EPSS 4.6% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

readelf.c in file before 5.22, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does 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.

Patch / fix

  • file Debian 14, Debian 13, Debian 12 1:5.22+15-1

debian advisories DEBIAN-CVE-2014-9653

  • file Ubuntu 14.04 LTS 1:5.14-2ubuntu3.4

ubuntu advisories UBUNTU-CVE-2014-9653

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • file RHEL 6 5.04-30.el6
  • file-libs RHEL 6 5.04-30.el6
  • python-magic RHEL 6 5.04-30.el6
  • file RHEL 7 5.11-31.el7
  • file-libs RHEL 7 5.11-31.el7
  • python-magic RHEL 7 5.11-31.el7

red hat advisories RHSA-2016:0760RHSA-2015:2155

  • file SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +6 more 5.22-10.3.1
  • python-magic SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2 5.22-10.3.1

suse advisories SUSE-SU-2017:3048-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2014-9653 updated cvss 3.3

file: malformed elf file causes access to uninitialized memory

  • Red Hat Enterprise Linux 5 rpm, file
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) file 5.11-31.el7, file-libs 5.11-31.el7, python-magic 5.11-31.el7 Red Hat Enterprise Linux Client Optional (v. 7) file-devel 5.11-31.el7, file-static 5.11-31.el7, file-debuginfo 5.11-31.el7 Red Hat Enterprise Linux ComputeNode (v. 7) file 5.11-31.el7, file-libs 5.11-31.el7, python-magic 5.11-31.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) file-devel 5.11-31.el7, file-static 5.11-31.el7, file-debuginfo 5.11-31.el7
    fixed: vendor fix RHSA-2015:2155
  • Red Hat Enterprise Linux Desktop (v. 6) file 5.04-30.el6, file-libs 5.04-30.el6, python-magic 5.04-30.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) file-devel 5.04-30.el6, file-static 5.04-30.el6, file-debuginfo 5.04-30.el6 Red Hat Enterprise Linux HPC Node (v. 6) file 5.04-30.el6, file-libs 5.04-30.el6, python-magic 5.04-30.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) file-devel 5.04-30.el6, file-static 5.04-30.el6, file-debuginfo 5.04-30.el6 Red Hat Enterprise Linux Server (v. 6) file 5.04-30.el6, file-libs 5.04-30.el6, python-magic 5.04-30.el6
    fixed: vendor fix RHSA-2016:0760
  • Red Hat Enterprise Linux Server (v. 7) file 5.11-31.el7, file-libs 5.11-31.el7, python-magic 5.11-31.el7
    fixed: vendor fix RHSA-2015:2155
  • Red Hat Enterprise Linux Server Optional (v. 6) file-static 5.04-30.el6, file-debuginfo 5.04-30.el6
    fixed: vendor fix RHSA-2016:0760
  • Red Hat Enterprise Linux Server Optional (v. 7) file-devel 5.11-31.el7, file-static 5.11-31.el7, file-debuginfo 5.11-31.el7
    fixed: vendor fix RHSA-2015:2155
  • Red Hat Enterprise Linux Workstation (v. 6) file 5.04-30.el6, file-libs 5.04-30.el6, python-magic 5.04-30.el6
    fixed: vendor fix RHSA-2016:0760
  • Red Hat Enterprise Linux Workstation (v. 7) file 5.11-31.el7, file-libs 5.11-31.el7, python-magic 5.11-31.el7
    fixed: vendor fix RHSA-2015:2155
show 3 more
  • Red Hat Enterprise Linux Workstation Optional (v. 6) file-static 5.04-30.el6, file-debuginfo 5.04-30.el6
    fixed: vendor fix RHSA-2016:0760
  • Red Hat Enterprise Linux Workstation Optional (v. 7) file-devel 5.11-31.el7, file-static 5.11-31.el7, file-debuginfo 5.11-31.el7
    fixed: vendor fix RHSA-2015:2155
  • Red Hat Enterprise Linux 5 php53, cdrtools Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, rh-php56-php, php54-php-cli, +72 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.65% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-20 Improper Input Validation
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.