Home / X.org / X11r6 / CVE-2004-0687
CVE-2004-0687: is it exploited, and which versions of X.org X11r6 are affected and fixed?
CVE-2004-0687 is a vulnerability in X.org X11r6. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: x11r6 6.7.0, x11r6 6.8, x11r6 3.3.6 and 17 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
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.
From the CVE record by mitre, last updated August 8, 2024, 00:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| x.org | x11r6 | 6.7.0 | application |
| x.org | x11r6 | 6.8 | application |
| xfree86 project | x11r6 | 3.3.6 | application |
| xfree86 project | x11r6 | 4.0 | application |
| xfree86 project | x11r6 | 4.0.1 | application |
| xfree86 project | x11r6 | 4.0.2.11 | application |
| xfree86 project | x11r6 | 4.0.3 | application |
| xfree86 project | x11r6 | 4.1.0 | application |
| xfree86 project | x11r6 | 4.1.11 | application |
| xfree86 project | x11r6 | 4.1.12 | application |
| xfree86 project | x11r6 | 4.2.0 | application |
| xfree86 project | x11r6 | 4.2.1 | application |
| xfree86 project | x11r6 | 4.3.0 | application |
| openbsd | openbsd | 3.4 | operating system |
| openbsd | openbsd | 3.5 | operating system |
| suse | suse linux | 8 | operating system |
| suse | suse linux | 8.1 | operating system |
| suse | suse linux | 8.2 | operating system |
| suse | suse linux | 9.0 | operating system |
| suse | suse linux | 9.1 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:06 UTC.
How severe is CVE-2004-0687?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-0687 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.05% probability of exploitation activity in the next 30 days, percentile 94.9 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- RHSA-2005:004 vendor-advisory
- USN-27-1 vendor-advisory
- ADV-2006-1914 vdb-entry
- GLSA-200409-34 vendor-advisory
- VU#882750 third-party-advisory
- TA05-136A third-party-advisory
- MDKSA-2004:098 vendor-advisory
- HPSBUX02119 vendor-advisory
- RHSA-2004:537 vendor-advisory
- 20040915 CESA-2004-004: libXpm mailing-list
- DSA-560 vendor-advisory
- http://scary.beasts.org/security/CESA-2004-003.txt
- APPLE-SA-2005-05-03 vendor-advisory
- CLA-2005:924 vendor-advisory
- SUSE-SA:2004:034 vendor-advisory
- 11196 vdb-entry
- GLSA-200502-07 vendor-advisory
- http://ftp.x.org/pub/X11R6.8.0/patches/README.xorg-CAN-2004-0687-0688.patch
- FLSA-2006:152803 vendor-advisory
- 20235 third-party-advisory
- 57653 vendor-advisory
- oval:org.mitre.oval:def:9187 vdb-entry, signature
- libxpm-multiple-stack-bo(17414) vdb-entry
- http://packetstormsecurity.com/files/170620/Solaris-10-dtprintinfo-libXm-libXpm-Security-Issues.html
When was it published, and where is the official record?
- Reserved
- July 13, 2004
- Published
- September 24, 2004, 00:00 UTC
- CVE record updated
- August 8, 2024, 00:24 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:06 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect X11r6?
- Aug 30, 2006CVE-2006-4447 X.org Emu-linux-x87-xlibs: n/a
- May 2, 2006CVE-2006-1526 X.org X11r6: n/a
- Mar 21, 2006CVE-2006-0745 X.org X11r6: n/a
- Mar 4, 2005CVE-2005-0605 Lesstif: n/a
- Dec 15, 2004CVE-2004-0914 Lesstif: n/a
- Sep 24, 2004CVE-2004-0688 X.org X11r6: n/a
- Jun 3, 2004CVE-2004-0419 X.org X11r6: n/a
Questions about CVE-2004-0687
Is CVE-2004-0687 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 8.05% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of X.org X11r6 are affected by CVE-2004-0687?
x11r6 6.7.0, x11r6 6.8, x11r6 3.3.6, x11r6 4.0, x11r6 4.0.1, x11r6 4.0.2.11 and 14 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-0687?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-0687?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-0687?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.