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.
https://support.apple.com/HT204659
https://security.gentoo.org/glsa/201607-04
https://bugzilla.redhat.com/show_bug.cgi?id=1076676
http://www.ubuntu.com/usn/USN-2987-1
http://www.securityfocus.com/bid/66233
http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
http://www.debian.org/security/2015/dsa-3215
http://secunia.com/advisories/59652
http://secunia.com/advisories/59496
http://secunia.com/advisories/59418
http://secunia.com/advisories/59061
http://rhn.redhat.com/errata/RHSA-2014-1766.html
http://rhn.redhat.com/errata/RHSA-2014-1765.html
http://rhn.redhat.com/errata/RHSA-2014-1327.html
http://rhn.redhat.com/errata/RHSA-2014-1326.html
http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00002.html
http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00001.html