{"id":"CVE-2014-5120","published":"2014-08-23T01:00:00Z","modified":"2024-08-06T11:34:37Z","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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.16934,"percentile":0.97133,"provenance":"source"},"cwes":[],"references":[{"url":"https://support.apple.com/HT204659","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1766.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.php.net/bug.php?id=67730","tags":["x_refsource_CONFIRM"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1327.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1765.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":19.43}]},"summary":{"text":"The flaw is in the gd_ctx.c file of the GD component in PHP (5.4.x before 5.4.32 and 5.5.x before 5.5.16), where pathnames are not checked for %00 sequences. An attacker able to supply crafted input to an application that calls imagegd, imagegd2, imagegif, imagejpeg, imagepng, imagewbmp, or imagewebp could overwrite arbitrary files remotely, provided the application passes that input on to these functions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:44:08Z"},"euvd":{"id":"EUVD-2014-5018","exploited":false,"provenance":"source"}}