← All CVEs

CVE-2014-5120

medium · 6.4

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.

6.4
CVSS
16.9%
EPSS (exploit prob.)
97th
EPSS percentile
2014-08-23
Published

AV:N/AC:L/Au:N/C:N/I:P/A:P

Weaknesses

CWE-20

Affected products

VendorProductAffected versions
phpphp5.4.0
phpphp5.4.0
phpphp5.4.0
phpphp5.4.0
phpphp5.4.1
phpphp5.4.2
phpphp5.4.3
phpphp5.4.4
phpphp5.4.5
phpphp5.4.6
phpphp5.4.7
phpphp5.4.8
phpphp5.4.9
phpphp5.4.10
phpphp5.4.11
phpphp5.4.12
phpphp5.4.12
phpphp5.4.12
phpphp5.4.13
phpphp5.4.13
phpphp5.4.14
phpphp5.4.14
phpphp5.4.15
phpphp5.4.15
phpphp5.4.16
phpphp5.4.17
phpphp5.4.18
phpphp5.4.19
phpphp5.4.20
phpphp5.4.21
phpphp5.4.22
phpphp5.4.23
phpphp5.4.24
phpphp5.4.25
phpphp5.4.26
phpphp5.4.27
phpphp5.4.28
phpphp5.4.29
phpphp5.4.30
phpphp5.4.31

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2014-5120