{"id":"UBUNTU-CVE-2014-2497","details":"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.","modified":"2026-02-04T04:12:23.862772Z","published":"2014-03-21T00:00:00Z","related":["USN-2987-1"],"upstream":["CVE-2014-2497"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-2497"},{"type":"REPORT","url":"http://net-ninja-mr.me/2014/03/14/php-gd-v5-4-17-2-color-visual-null-pointer-dereference/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2987-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-2497"}],"affected":[{"package":{"name":"libgd2","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libgd2@2.1.0-3ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-3ubuntu0.1"}]}],"versions":["2.1.0-2","2.1.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libgd-dev","binary_version":"2.1.0-3ubuntu0.1"},{"binary_name":"libgd-tools","binary_version":"2.1.0-3ubuntu0.1"},{"binary_name":"libgd2-noxpm-dev","binary_version":"2.1.0-3ubuntu0.1"},{"binary_name":"libgd2-xpm-dev","binary_version":"2.1.0-3ubuntu0.1"},{"binary_name":"libgd3","binary_version":"2.1.0-3ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-2497.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}