The gdImageCreateFromXpm function in gdxpm.c in libgd, as used in PHP 5.4.26 and earlier, allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted color table in an XPM file.
http://advisories.mageia.org/MGASA-2014-0288.html
http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00001.html
http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00002.html
http://rhn.redhat.com/errata/RHSA-2014-1326.html
http://rhn.redhat.com/errata/RHSA-2014-1327.html
http://rhn.redhat.com/errata/RHSA-2014-1765.html
http://rhn.redhat.com/errata/RHSA-2014-1766.html
https://bugs.php.net/bug.php?id=66901
https://bugzilla.redhat.com/show_bug.cgi?id=1076676
http://secunia.com/advisories/59061
http://secunia.com/advisories/59418
http://secunia.com/advisories/59496
http://secunia.com/advisories/59652
https://security.gentoo.org/glsa/201607-04
https://support.apple.com/HT204659
http://www.debian.org/security/2015/dsa-3215
http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html