CVE-2004-0687
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
8.052%
chance of exploitation in the next 30 days
higher than 94.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Timeline
- 2004-09-24Published by the CNA00:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openbsd openbsd | 3.4no fix listed3.5no fix listed | not listednot listed |
| suse suse_linux | 8no fix listed8.1no fix listed8.2no fix listed9.0no fix listed9.1no fix listed | not listednot listednot listednot listednot listed |
| x.org x11r6 | 6.7.0no fix listed6.8no fix listed | not listednot listed |
| xfree86_project x11r6 | 3.3.6no fix listed4.0no fix listed4.0.1no fix listed4.0.2.11no fix listed4.0.3no fix listed(+6 more) | not listednot listednot listednot listednot listed |
References
- http://www.securityfocus.com/bid/11196
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000924
- http://lists.apple.com/archives/security-announce/2005/May/msg00001.html
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-57653-1
- http://www.debian.org/security/2004/dsa-560
- http://www.gentoo.org/security/en/glsa/glsa-200409-34.xml
- http://www.gentoo.org/security/en/glsa/glsa-200502-07.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:098
- http://www.novell.com/linux/security/advisories/2004_34_xfree86_libs_xshared.html
- http://www.redhat.com/archives/fedora-legacy-announce/2006-January/msg00001.html
- http://www.redhat.com/support/errata/RHSA-2004-537.html
- http://www.redhat.com/support/errata/RHSA-2005-004.html
- http://www.securityfocus.com/archive/1/434715/100/0/threaded
- https://usn.ubuntu.com/27-1/
- http://ftp.x.org/pub/X11R6.8.0/patches/README.xorg-CAN-2004-0687-0688.patch
- http://marc.info/?l=bugtraq&m=109530851323415&w=2
- http://packetstormsecurity.com/files/170620/Solaris-10-dtprintinfo-libXm-libXpm-Security-Issues.html
- http://scary.beasts.org/security/CESA-2004-003.txt
- http://secunia.com/advisories/20235
- http://www.kb.cert.org/vuls/id/882750
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2004-0687'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2004-0687'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2004-0687'curl 'https://api.contrastcyber.com/cve_products/CVE-2004-0687'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).