{"id":"CVE-2014-5120","url":"https://www.cyber-defence.io/tools/cve/CVE-2014-5120","generatedAt":"2026-11-05T06:53:28.971Z","title":"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)…","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.","published":"2014-08-23T01:55:02.000Z","lastModified":"2026-06-17T00:11:06.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":6.4,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P"},"cwe":["CWE-20"],"affected":["php/php"],"epss":{"score":0.16934,"percentile":0.97069,"date":"2026-11-04","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 16.9%, higher than 97% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html","source":"cve@mitre.org"},{"url":"http://php.net/ChangeLog-5.php","source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1327.html","source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1765.html","source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1766.html","source":"cve@mitre.org"},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","source":"cve@mitre.org"},{"url":"https://bugs.php.net/bug.php?id=67730","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://support.apple.com/HT204659","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://php.net/ChangeLog-5.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1327.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1765.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1766.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=67730","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/HT204659","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2014-5120","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}