CVE-2014-9652

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.

Published: 2015-03-30 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2014-9652 is rated Moderate Risk (50.7/100): CVSS Medium severity, with high exploitation likelihood (EPSS 5.49%, 92th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2014-9652

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 6.91% 5.49% -1.42%
2 2026-05-24 5.79% 6.91% +1.11%
3 2025-12-28 5.79%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2014-9652

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2014-9652

OS Trackers for CVE-2014-9652

vendor priority summary link
debian not yet assigned CVE-2014-9652 not yet assigned priority: Debian including 1 source packages (file), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2014-9652
gentoo normal CVE-2014-9652: 1 GLSA(s) (201701-42), 1 atom(s) (sys-apps/file); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2014-9652
redhat low https://access.redhat.com/security/cve/CVE-2014-9652
ubuntu low CVE-2014-9652 low priority: Ubuntu including 2 source packages (file, php5), 10 status rows across 5 suites (lucid, precise, trusty, upstream, utopic): released 7, not-affected 3. https://ubuntu.com/security/CVE-2014-9652

Affected software / configurations for CVE-2014-9652

Vendor Product Version Raw CPE
php php <= 5.4.36 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:*:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha1:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha2:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha3:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha4:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha5:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha6:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:beta1:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:beta2:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:beta3:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:beta4:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:rc1:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:rc2:*:*:*:*:*:*
php php 5.5.1 cpe:2.3:a:php:php:5.5.1:*:*:*:*:*:*:*
php php 5.5.2 cpe:2.3:a:php:php:5.5.2:*:*:*:*:*:*:*
php php 5.5.3 cpe:2.3:a:php:php:5.5.3:*:*:*:*:*:*:*
php php 5.5.4 cpe:2.3:a:php:php:5.5.4:*:*:*:*:*:*:*
php php 5.5.5 cpe:2.3:a:php:php:5.5.5:*:*:*:*:*:*:*
php php 5.5.6 cpe:2.3:a:php:php:5.5.6:*:*:*:*:*:*:*
php php 5.5.7 cpe:2.3:a:php:php:5.5.7:*:*:*:*:*:*:*
php php 5.5.8 cpe:2.3:a:php:php:5.5.8:*:*:*:*:*:*:*
php php 5.5.9 cpe:2.3:a:php:php:5.5.9:*:*:*:*:*:*:*
php php 5.5.10 cpe:2.3:a:php:php:5.5.10:*:*:*:*:*:*:*
php php 5.5.11 cpe:2.3:a:php:php:5.5.11:*:*:*:*:*:*:*
php php 5.5.12 cpe:2.3:a:php:php:5.5.12:*:*:*:*:*:*:*
php php 5.5.13 cpe:2.3:a:php:php:5.5.13:*:*:*:*:*:*:*
php php 5.5.14 cpe:2.3:a:php:php:5.5.14:*:*:*:*:*:*:*
php php 5.5.15 cpe:2.3:a:php:php:5.5.15:*:*:*:*:*:*:*
php php 5.5.16 cpe:2.3:a:php:php:5.5.16:*:*:*:*:*:*:*
php php 5.5.17 cpe:2.3:a:php:php:5.5.17:*:*:*:*:*:*:*
php php 5.5.18 cpe:2.3:a:php:php:5.5.18:*:*:*:*:*:*:*
php php 5.5.19 cpe:2.3:a:php:php:5.5.19:*:*:*:*:*:*:*
php php 5.5.20 cpe:2.3:a:php:php:5.5.20:*:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*
php php 5.6.1 cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*
php php 5.6.2 cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*
php php 5.6.3 cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*
php php 5.6.4 cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*
file_project file <= 5.20 cpe:2.3:a:file_project:file:*:*:*:*:*:*:*:*

References for CVE-2014-9652

URL Tags
http://bugs.gw.com/view.php?id=398
http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00002.html
http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00003.html
http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00004.html
http://marc.info/?l=bugtraq&m=143748090628601&w=2
http://marc.info/?l=bugtraq&m=144050155601375&w=2
http://openwall.com/lists/oss-security/2015/02/05/12
http://php.net/ChangeLog-5.php
http://rhn.redhat.com/errata/RHSA-2015-1053.html
http://rhn.redhat.com/errata/RHSA-2015-1066.html
http://rhn.redhat.com/errata/RHSA-2015-1135.html
http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
http://www.securityfocus.com/bid/72505
https://bugs.php.net/bug.php?id=68735
https://bugs.php.net/patch-display.php?bug=68735&patch=bug68735.patch&revision=1420309079
https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158
https://security.gentoo.org/glsa/201701-42
https://support.apple.com/HT205267
cvelogic Threat Intelligence