Skip to content

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 c...

MediumCVSS 6.4 EPSS 16.9%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
PHP = 5.4.0 No fix listed
PHP = 5.4.0-beta2 No fix listed
PHP = 5.4.0-rc2 No fix listed
PHP = 5.4.1 No fix listed
PHP = 5.4.2 No fix listed
PHP = 5.4.3 No fix listed
PHP = 5.4.4 No fix listed
PHP = 5.4.5 No fix listed
PHP = 5.4.6 No fix listed
PHP = 5.4.7 No fix listed
PHP = 5.4.8 No fix listed
PHP = 5.4.9 No fix listed
PHP = 5.4.10 No fix listed
PHP = 5.4.11 No fix listed
PHP = 5.4.12 No fix listed
PHP = 5.4.12-rc1 No fix listed
PHP = 5.4.12-rc2 No fix listed
PHP = 5.4.13 No fix listed
PHP = 5.4.13-rc1 No fix listed
PHP = 5.4.14 No fix listed
PHP = 5.4.14-rc1 No fix listed
PHP = 5.4.15 No fix listed
PHP = 5.4.15-rc1 No fix listed
PHP = 5.4.16-rc1 No fix listed
PHP = 5.4.17 No fix listed
Show 42 more
ProductAffected versionsFixed in
PHP = 5.4.18 No fix listed
PHP = 5.4.19 No fix listed
PHP = 5.4.20 No fix listed
PHP = 5.4.21 No fix listed
PHP = 5.4.22 No fix listed
PHP = 5.4.23 No fix listed
PHP = 5.4.24 No fix listed
PHP = 5.4.25 No fix listed
PHP = 5.4.26 No fix listed
PHP = 5.4.27 No fix listed
PHP = 5.4.28 No fix listed
PHP = 5.4.29 No fix listed
PHP = 5.4.30 No fix listed
PHP = 5.4.31 No fix listed
PHP = 5.5.0 No fix listed
PHP = 5.5.0-alpha1 No fix listed
PHP = 5.5.0-alpha2 No fix listed
PHP = 5.5.0-alpha3 No fix listed
PHP = 5.5.0-alpha4 No fix listed
PHP = 5.5.0-alpha5 No fix listed
PHP = 5.5.0-alpha6 No fix listed
PHP = 5.5.0-beta1 No fix listed
PHP = 5.5.0-beta2 No fix listed
PHP = 5.5.0-beta3 No fix listed
PHP = 5.5.0-beta4 No fix listed
PHP = 5.5.0-rc1 No fix listed
PHP = 5.5.0-rc2 No fix listed
PHP = 5.5.1 No fix listed
PHP = 5.5.2 No fix listed
PHP = 5.5.3 No fix listed
PHP = 5.5.4 No fix listed
PHP = 5.5.5 No fix listed
PHP = 5.5.6 No fix listed
PHP = 5.5.7 No fix listed
PHP = 5.5.8 No fix listed
PHP = 5.5.9 No fix listed
PHP = 5.5.10 No fix listed
PHP = 5.5.11 No fix listed
PHP = 5.5.12 No fix listed
PHP = 5.5.13 No fix listed
PHP = 5.5.14 No fix listed
PHP = 5.5.15 No fix listed

References