Skip to content
Fencer Intel
medium 5.0

CVE-2014-9652 json

The mconvert function in softmagic.c in file before 5.21, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and…

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

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

Summary

The mconvert function in softmagic.c in file before 5.21, 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 properly handle a certain string-length field during a copy of a truncated version of a Pascal string, which might allow remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted file.

Patch / fix

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

debian advisories DEBIAN-CVE-2014-9652

  • file Ubuntu 14.04 LTS 1:5.14-2ubuntu3.3
  • php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.6

ubuntu advisories UBUNTU-CVE-2014-9652

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 7 5.11-31.el7
  • file-libs RHEL 7 5.11-31.el7
  • python-magic RHEL 7 5.11-31.el7
  • php54 RHEL 2 SOFTWARE_COLLECTIONS 2.0-1.el6
  • php54 RHEL 2 SOFTWARE_COLLECTIONS 2.0-1.el7
  • php54-php RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el6
  • php54-php RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el7
  • php54-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el6

red hat advisories RHSA-2015:2155RHSA-2015:1066RHSA-2015:1135RHSA-2015:1053

  • php5 SLE Software Development Kit 12, SLE Module for Web and Scripting 12 5.5.14-15.1
  • php53 SLES 11 SP2-LTSS 5.3.17-47.1

suse advisories SUSE-SU-2016:1638-1SUSE-SU-2015:0424-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-9652 updated cvss 4.3

file: out of bounds read in mconvert()

  • Red Hat Enterprise Linux 5 rpm
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, php54-php-cli, php54-php-dba, +44 more
    affected: no fix available
  • Red Hat Enterprise Linux Client (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 Client Optional (v. 7) php 5.4.16-36.el7_1, php-gd 5.4.16-36.el7_1, php-cli 5.4.16-36.el7_1, php-dba 5.4.16-36.el7_1, php-fpm 5.4.16-36.el7_1, php-pdo 5.4.16-36.el7_1, +18 more
    fixed: vendor fix RHSA-2015:1135
  • Red Hat Enterprise Linux ComputeNode (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 ComputeNode Optional (v. 7) php 5.4.16-36.el7_1, php-gd 5.4.16-36.el7_1, php-cli 5.4.16-36.el7_1, php-dba 5.4.16-36.el7_1, php-fpm 5.4.16-36.el7_1, php-pdo 5.4.16-36.el7_1, +18 more Red Hat Enterprise Linux Server (v. 7) file 5.11-31.el7, php 5.4.16-36.el7_1, file-libs 5.11-31.el7, php 5.4.16-36.ael7b_1, php-gd 5.4.16-36.el7_1, php-cli 5.4.16-36.el7_1, +25 more Red Hat Enterprise Linux Server Optional (v. 7) php-dba 5.4.16-36.el7_1, php-fpm 5.4.16-36.el7_1, php-intl 5.4.16-36.el7_1, php-snmp 5.4.16-36.el7_1, php-dba 5.4.16-36.ael7b_1, php-fpm 5.4.16-36.ael7b_1, +14 more Red Hat Enterprise Linux Workstation (v. 7) file 5.11-31.el7, php 5.4.16-36.el7_1, file-libs 5.11-31.el7, php-gd 5.4.16-36.el7_1, php-cli 5.4.16-36.el7_1, php-pdo 5.4.16-36.el7_1, +11 more Red Hat Enterprise Linux Workstation Optional (v. 7) php-dba 5.4.16-36.el7_1, php-fpm 5.4.16-36.el7_1, php-intl 5.4.16-36.el7_1, php-snmp 5.4.16-36.el7_1, php-bcmath 5.4.16-36.el7_1, php-pspell 5.4.16-36.el7_1, +4 more
    fixed: vendor fix RHSA-2015:1135
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php54 2.0-1.el6, php55 2.0-1.el6, php54-php 5.4.40-1.el6, php55-php 5.5.21-2.el6, php54-runtime 2.0-1.el6, php55-runtime 2.0-1.el6, +51 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php54 2.0-1.el7, php55 2.0-1.el7, php54-php 5.4.40-1.el7, php55-php 5.5.21-2.el7, php54-runtime 2.0-1.el7, php55-runtime 2.0-1.el7, +47 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php54 2.0-1.el6, php55 2.0-1.el6, php54-php 5.4.40-1.el6, php55-php 5.5.21-2.el6, php54-runtime 2.0-1.el6, php55-runtime 2.0-1.el6, +51 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php54 2.0-1.el6, php55 2.0-1.el6, php54-php 5.4.40-1.el6, php55-php 5.5.21-2.el6, php54-runtime 2.0-1.el6, php55-runtime 2.0-1.el6, +51 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php54 2.0-1.el6, php55 2.0-1.el6, php54-php 5.4.40-1.el6, php55-php 5.5.21-2.el6, php54-runtime 2.0-1.el6, php55-runtime 2.0-1.el6, +51 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php54 2.0-1.el7, php55 2.0-1.el7, php54-php 5.4.40-1.el7, php55-php 5.5.21-2.el7, php54-runtime 2.0-1.el7, php55-runtime 2.0-1.el7, +47 more
    fixed: vendor fix RHSA-2015:1066
  • Red Hat Enterprise Linux 5 php, file, php53, cdrtools Red Hat Enterprise Linux 6 php, file, php-gd, php-cli, php-dba, php-fpm, +23 more Red Hat Software Collections rh-php56-php, rh-php56-php-gd, rh-php56-php-cli, rh-php56-php-dba, rh-php56-php-dbg, rh-php56-php-fpm, +22 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

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

CVSS scores

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

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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.