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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5 UNKNOWN
NETWORK
LOW
AV:N/AC:L/Au:N/C:N/I:N/A:P
Base Score
CVSS 3.x
EPSS Score
Percentile: 91%
Affected Products (NVD)
VendorProductVersion
phpphp
𝑥
≤ 5.4.36
phpphp
5.5.0
phpphp
5.5.0:alpha1
phpphp
5.5.0:alpha2
phpphp
5.5.0:alpha3
phpphp
5.5.0:alpha4
phpphp
5.5.0:alpha5
phpphp
5.5.0:alpha6
phpphp
5.5.0:beta1
phpphp
5.5.0:beta2
phpphp
5.5.0:beta3
phpphp
5.5.0:beta4
phpphp
5.5.0:rc1
phpphp
5.5.0:rc2
phpphp
5.5.1
phpphp
5.5.2
phpphp
5.5.3
phpphp
5.5.4
phpphp
5.5.5
phpphp
5.5.6
phpphp
5.5.7
phpphp
5.5.8
phpphp
5.5.9
phpphp
5.5.10
phpphp
5.5.11
phpphp
5.5.12
phpphp
5.5.13
phpphp
5.5.14
phpphp
5.5.15
phpphp
5.5.16
phpphp
5.5.17
phpphp
5.5.18
phpphp
5.5.19
phpphp
5.5.20
phpphp
5.6.0:alpha1
phpphp
5.6.0:alpha2
phpphp
5.6.0:alpha3
phpphp
5.6.0:alpha4
phpphp
5.6.0:alpha5
phpphp
5.6.0:beta1
phpphp
5.6.0:beta2
phpphp
5.6.0:beta3
phpphp
5.6.0:beta4
phpphp
5.6.1
phpphp
5.6.2
phpphp
5.6.3
phpphp
5.6.4
file_projectfile
𝑥
≤ 5.20
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
file
bookworm
1:5.44-3
fixed
bullseye
1:5.39-3+deb11u1
fixed
bullseye (security)
1:5.39-3+deb11u1
fixed
sid
1:5.45-3
fixed
squeeze
not-affected
trixie
1:5.45-3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
file
lucid
not-affected
precise
Fixed 5.09-2ubuntu0.6
released
trusty
Fixed 1:5.14-2ubuntu3.3
released
utopic
Fixed 1:5.19-1ubuntu1.2
released
php5
lucid
not-affected
precise
not-affected
trusty
Fixed 5.5.9+dfsg-1ubuntu4.6
released
utopic
Fixed 5.5.12+dfsg-2ubuntu4.2
released
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
file
RHEL 7
0:5.11-31.el7
fixed
file-devel
RHEL 7
0:5.11-31.el7
fixed
file-libs
RHEL 7
0:5.11-31.el7
fixed
file-static
RHEL 7
0:5.11-31.el7
fixed
php
RHEL 7
0:5.4.16-36.el7_1
fixed
php-bcmath
RHEL 7
0:5.4.16-36.el7_1
fixed
php-cli
RHEL 7
0:5.4.16-36.el7_1
fixed
php-common
RHEL 7
0:5.4.16-36.el7_1
fixed
php-dba
RHEL 7
0:5.4.16-36.el7_1
fixed
php-devel
RHEL 7
0:5.4.16-36.el7_1
fixed
php-embedded
RHEL 7
0:5.4.16-36.el7_1
fixed
php-enchant
RHEL 7
0:5.4.16-36.el7_1
fixed
php-fpm
RHEL 7
0:5.4.16-36.el7_1
fixed
php-gd
RHEL 7
0:5.4.16-36.el7_1
fixed
php-intl
RHEL 7
0:5.4.16-36.el7_1
fixed
php-ldap
RHEL 7
0:5.4.16-36.el7_1
fixed
php-mbstring
RHEL 7
0:5.4.16-36.el7_1
fixed
php-mysql
RHEL 7
0:5.4.16-36.el7_1
fixed
php-mysqlnd
RHEL 7
0:5.4.16-36.el7_1
fixed
php-odbc
RHEL 7
0:5.4.16-36.el7_1
fixed
php-pdo
RHEL 7
0:5.4.16-36.el7_1
fixed
php-pgsql
RHEL 7
0:5.4.16-36.el7_1
fixed
php-process
RHEL 7
0:5.4.16-36.el7_1
fixed
php-pspell
RHEL 7
0:5.4.16-36.el7_1
fixed
php-recode
RHEL 7
0:5.4.16-36.el7_1
fixed
php-snmp
RHEL 7
0:5.4.16-36.el7_1
fixed
php-soap
RHEL 7
0:5.4.16-36.el7_1
fixed
php-xml
RHEL 7
0:5.4.16-36.el7_1
fixed
php-xmlrpc
RHEL 7
0:5.4.16-36.el7_1
fixed
python-magic
RHEL 7
0:5.11-31.el7
fixed
References