CVE-2004-0687
HIGH 7.5CVSS 2.0Multiple 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.
- Published
- 20 Oct 2004
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | x.org | x11r6cpe:2.3:a:x.org:x11r6:6.7.0:*:*:*:*:*:*:* |
= 6.7.0 | |
| NVD | x.org | x11r6cpe:2.3:a:x.org:x11r6:6.8:*:*:*:*:*:*:* |
= 6.8 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:3.3.6:*:*:*:*:*:*:* |
= 3.3.6 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.0.1:*:*:*:*:*:*:* |
= 4.0.1 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.0.2.11:*:*:*:*:*:*:* |
= 4.0.2.11 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.0.3:*:*:*:*:*:*:* |
= 4.0.3 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.1.0:*:*:*:*:*:*:* |
= 4.1.0 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.1.11:*:*:*:*:*:*:* |
= 4.1.11 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.1.12:*:*:*:*:*:*:* |
= 4.1.12 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.2.0:*:*:*:*:*:*:* |
= 4.2.0 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.2.1:*:*:*:*:*:*:* |
= 4.2.1 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.2.1:*:errata:*:*:*:*:* |
= 4.2.1 | |
| NVD | xfree86_project | x11r6cpe:2.3:a:xfree86_project:x11r6:4.3.0:*:*:*:*:*:*:* |
= 4.3.0 | |
| NVD | openbsd | openbsdcpe:2.3:o:openbsd:openbsd:3.4:*:*:*:*:*:*:* |
= 3.4 | |
| NVD | openbsd | openbsdcpe:2.3:o:openbsd:openbsd:3.5:*:*:*:*:*:*:* |
= 3.5 | |
| NVD | suse | suse_linuxcpe:2.3:o:suse:suse_linux:8:*:enterprise_server:*:*:*:*:* |
= 8 | |
| NVD | suse | suse_linuxcpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:* |
= 8.1 | |
| NVD | suse | suse_linuxcpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:* |
= 8.2 | |
| NVD | suse | suse_linuxcpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | suse | suse_linuxcpe:2.3:o:suse:suse_linux:9.0:*:enterprise_server:*:*:*:*:* |
= 9.0 | |
| NVD | suse | suse_linuxcpe:2.3:o:suse:suse_linux:9.0:*:x86_64:*:*:*:*:* |
= 9.0 | |
| NVD | suse | suse_linuxcpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:* |
= 9.1 |
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000924
- http://ftp.x.org/pub/X11R6.8.0/patches/README.xorg-CAN-2004-0687-0688.patch
- http://lists.apple.com/archives/security-announce/2005/May/msg00001.html
- 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://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.kb.cert.org/vuls/id/882750 · US Government Resource
- 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
- http://www.securityfocus.com/bid/11196 · Patch, Vendor Advisory
- http://www.us-cert.gov/cas/techalerts/TA05-136A.html · US Government Resource
- http://www.vupen.com/english/advisories/2006/1914
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17414
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9187
- https://usn.ubuntu.com/27-1/
History
- 25 Nov 2026 20:12 UTC · NVD: first stored (published 20 Oct 2004)