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.
CVE-2004-0687
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 7.5 — v2 rates that HIGH (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:L/Au:N/C:P/I:P/A:P. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 8.1% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v2.0 (legacy)
- 7.5HIGHNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 7.5(low)
- EG Risk
- 41(Track)EG Risk 41/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation8% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 8%
- EPSS %ILE
- 95%
- KEV
- Not listed
Published
October 20, 2004
Last Modified
June 16, 2026
References (48)
- cve@mitrehttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000924
- cve@mitrehttp://ftp.x.org/pub/X11R6.8.0/patches/README.xorg-CAN-2004-0687-0688.patch
- cve@mitrehttp://lists.apple.com/archives/security-announce/2005/May/msg00001.html
- cve@mitrehttp://marc.info/?l=bugtraq&m=109530851323415&w=2
- cve@mitrehttp://packetstormsecurity.com/files/170620/Solaris-10-dtprintinfo-libXm-libXpm-Security-Issues.html
- cve@mitrehttp://scary.beasts.org/security/CESA-2004-003.txt
- cve@mitrehttp://secunia.com/advisories/20235
- cve@mitrehttp://sunsolve.sun.com/search/document.do?assetkey=1-26-57653-1
- cve@mitrehttp://www.debian.org/security/2004/dsa-560
- cve@mitrehttp://www.gentoo.org/security/en/glsa/glsa-200409-34.xml
- cve@mitrehttp://www.gentoo.org/security/en/glsa/glsa-200502-07.xml
- cve@mitrehttp://www.kb.cert.org/vuls/id/882750
- cve@mitrehttp://www.mandriva.com/security/advisories?name=MDKSA-2004:098
- cve@mitrehttp://www.novell.com/linux/security/advisories/2004_34_xfree86_libs_xshared.html
- cve@mitrehttp://www.redhat.com/archives/fedora-legacy-announce/2006-January/msg00001.html
Patch Availability(5)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | tomcat5-0:5.0.30-0jpp_10rh | 2008-06-30 | redhat |
| redhat | patch | 2005-01-12 | redhat |
| redhat | openmotif21-0:2.1.30-9.RHEL3.4 | 2004-12-02 | redhat |
| redhat | patch | 2004-10-06 | redhat |
| redhat | XFree86-0:4.3.0-69.EL | 2004-10-04 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(2 across 1 ecosystem)
Debian:3.0(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| lesstif1-1 | — | 0.93.18-5 | — |
| xfree86 | — | 4.1.0-16woody4 | — |
All Vendor Advisories
(5)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2004:478MODERATE2004-10-07
RHSA-2004:478 — Moderate
- Red HatRHSA-2004:479MODERATE2004-10-07
RHSA-2004:479 — Moderate
- Red HatRHSA-2004:537MODERATE2004-10-07
RHSA-2004:537 — Moderate
- Red HatRHSA-2005:004MODERATE2004-10-07
RHSA-2005:004 — Moderate
- Red HatRHSA-2008:0524MODERATE2004-10-07
RHSA-2008:0524 — Moderate
Data Freshness Timeline
(refreshed 0× in last 7d / 3× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-12 14:54 UTCEPSS rescore
- 2026-09-10 09:23 UTCEPSS rescore
- 2026-08-30 01:13 UTCEPSS rescore
- 2026-07-26 13:24 UTCEG score recompute▲ 7.50
- 2026-07-25 14:11 UTCEPSS rescore
- 2026-07-24 14:11 UTCEPSS rescore
- 2026-07-23 00:46 UTCEG score recompute
- 2026-07-23 00:27 UTCEG score recompute
- 2026-07-22 23:50 UTCEG score recompute
- 2026-07-22 21:30 UTCEG score recompute
- 2026-07-20 17:02 UTCEPSS rescore
- 2026-07-19 14:25 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-16 16:58 UTCEPSS rescore
- 2026-07-15 01:55 UTCEPSS rescore
- 2026-07-15 01:55 UTCEPSS rescore
- 2026-07-13 06:07 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-08 15:09 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
Show 56 moreShow fewer
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 14:02 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 14:52 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:55 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:13 UTCEPSS rescore
- 2026-06-07 15:21 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 15:49 UTCEG score recompute
- 2026-05-31 15:49 UTCVendor advisory
- 2026-05-31 15:49 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-24 16:42 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Related CVEs(same product + same vendor)
Same product
10 shownDebian:3.0:lesstif1-1 · Debian:3.0:xfree86
Same vendor
10 shownredhat:RHSA-2004:478 · redhat:RHSA-2004:537 · redhat:RHSA-2008:0524
- CVE-2004-0688EG 7.5EPSS p94HIGH
- CVE-2004-0914EG 10.0EPSS p95HIGH
- CVE-2004-0692EG 5.0MEDIUM
- CVE-2007-2435EG 10.0EPSS p92HIGH
- CVE-2006-7197EG 7.8EPSS p95HIGH
- CVE-2005-3964EG 7.5EPSS p91HIGH
- CVE-2005-0605EG 7.5EPSS p91HIGH
- CVE-2004-0885EG 7.5EPSS p97HIGH
- CVE-2004-0419EG 7.5HIGH
- CVE-2007-2788EG 6.8EPSS p97MEDIUM
Frequently asked(4)
What is CVE-2004-0687?
When was CVE-2004-0687 disclosed?
Is CVE-2004-0687 actively exploited?
How do I remediate CVE-2004-0687?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2004-0687
Is Your Infrastructure Affected by CVE-2004-0687?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.