### [CVE-2014-2497](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2497) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html - https://bugs.php.net/bug.php?id=66901 - https://bugzilla.redhat.com/show_bug.cgi?id=1076676 #### Github - https://github.com/Live-Hack-CVE/CVE-2014-2497