CVE-2014-5120

gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before 5.5.16 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to overwrite arbitrary files via crafted input to an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif, (4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.4 UNKNOWN
NETWORK
LOW
AV:N/AC:L/Au:N/C:N/I:P/A:P
Base Score
CVSS 3.x
EPSS Score
Percentile: 92%
Affected Products (NVD)
VendorProductVersion
phpphp
5.4.0
phpphp
5.4.0:beta2
phpphp
5.4.0:beta2
phpphp
5.4.0:rc2
phpphp
5.4.1
phpphp
5.4.2
phpphp
5.4.3
phpphp
5.4.4
phpphp
5.4.5
phpphp
5.4.6
phpphp
5.4.7
phpphp
5.4.8
phpphp
5.4.9
phpphp
5.4.10
phpphp
5.4.11
phpphp
5.4.12
phpphp
5.4.12:rc1
phpphp
5.4.12:rc2
phpphp
5.4.13
phpphp
5.4.13:rc1
phpphp
5.4.14
phpphp
5.4.14:rc1
phpphp
5.4.15
phpphp
5.4.15:rc1
phpphp
5.4.16:rc1
phpphp
5.4.17
phpphp
5.4.18
phpphp
5.4.19
phpphp
5.4.20
phpphp
5.4.21
phpphp
5.4.22
phpphp
5.4.23
phpphp
5.4.24
phpphp
5.4.25
phpphp
5.4.26
phpphp
5.4.27
phpphp
5.4.28
phpphp
5.4.29
phpphp
5.4.30
phpphp
5.4.31
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
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libgd2
bookworm
2.3.3-9
fixed
bullseye
2.3.0-2
fixed
sid
2.3.3-12
fixed
squeeze
not-affected
trixie
2.3.3-12
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libgd2
lucid
not-affected
precise
not-affected
trusty
not-affected
php5
lucid
not-affected
precise
not-affected
trusty
not-affected
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
php
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-bcmath
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-cli
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-common
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-dba
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-devel
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-embedded
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-enchant
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-fpm
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-gd
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-intl
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-ldap
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-mbstring
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-mysql
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-mysqlnd
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-odbc
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-pdo
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-pgsql
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-process
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-pspell
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-recode
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-snmp
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-soap
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-xml
RHEL 7
0:5.4.16-23.el7_0.1
fixed
php-xmlrpc
RHEL 7
0:5.4.16-23.el7_0.1
fixed