CVE-2004-0687
CVE-2004-0687 is a high-severity vulnerability in X.org X11r6 with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 8% (94th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: X.org X11r6
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 for libXpm before 6.8.1 allow remote attackers to execute arbitrary code via a malformed XPM image file.
- How severe is CVE-2004-0687?
- CVE-2004-0687 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2004-0687 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 8% (94th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-0687?
- CVE-2004-0687 primarily affects X.org X11r6. In total, 23 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2004-0687?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2004-0687 published?
- CVE-2004-0687 was published on 2004-10-20 and last updated on 2026-06-16.
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
- 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
- http://www.us-cert.gov/cas/techalerts/TA05-136A.html
- 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/
Affected products (23)
- cpe:2.3:a:x.org:x11r6:6.7.0:*:*:*:*:*:*:*
- cpe:2.3:a:x.org:x11r6:6.8:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:3.3.6:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.0:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.0.2.11:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.1.11:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.1.12:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.2.1:*:errata:*:*:*:*:*
- cpe:2.3:a:xfree86_project:x11r6:4.3.0:*:*:*:*:*:*:*
- cpe:2.3:o:openbsd:openbsd:3.4:*:*:*:*:*:*:*
- cpe:2.3:o:openbsd:openbsd:3.5:*:*:*:*:*:*:*
- cpe:2.3:o:suse:suse_linux:8:*:enterprise_server:*:*:*:*:*
- cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:*
- cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:*
- cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:suse:suse_linux:9.0:*:enterprise_server:*:*:*:*:*
- cpe:2.3:o:suse:suse_linux:9.0:*:x86_64:*:*:*:*:*
- cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:*
More vulnerabilities in X.org X11r6
- CVE-2004-0914 — Critical (CVSS 10.0): Multiple vulnerabilities in libXpm for 6.8.1 and earlier, as used in XFree86 and other packages, include (1) multiple…
- CVE-2005-0605 — High (CVSS 7.5): scan.c for LibXPM may allow attackers to execute arbitrary code via a negative bitmap_unit value that leads to a buffer…
- CVE-2004-0688 — High (CVSS 7.5): Multiple integer overflows in (1) the xpmParseColors function in parse.c, (2) XpmCreateImageFromXpmImage, (3)…
- CVE-2004-0419 — High (CVSS 7.5): XDM in XFree86 opens a chooserFd TCP socket even when DisplayManager.requestPort is 0, which could allow remote…
- CVE-2006-4447 — High (CVSS 7.2): X.Org and XFree86, including libX11, xdm, xf86dga, xinit, xload, xtrans, and xterm, does not check the return values…
- CVE-2006-0745 — High (CVSS 7.2): X.Org server (xorg-server) 1.0.0 and later, X11R6.9.0, and X11R7.0 inadvertently treats the address of the geteuid…