CVE-2004-0687: Multiple stack-based buffer overflows in (1) xpmParseColors in parse.c, (2) ParseAndPutPixels in create.c, and
CVE-2004-0687 is a high-severity flaw (CVSS 7.5) affecting x11r6, x11r6, openbsd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 5%: very likely to be exploited
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 8.1% (top 5%) |
| CISA exploited list | No |
| Published | 2004-10-20 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0687?
x11r6: downgrade or apply the listed mitigation; x11r6: downgrade or apply the listed mitigation; openbsd: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0687 being exploited?
CVE-2004-0687 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0687 affect?
CVE-2004-0687 affects x11r6, x11r6, openbsd. Severity is high (CVSS 7.5). 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 fil
How urgent is CVE-2004-0687?
Priority 55/100. High severity; EPSS top 5%: very likely to be exploited; On your watchlist
Related CVEs
- CVE-2007-1351 HIGH 8.5 MITIGATE DOWNGRADE Integer overflow in the bdfReadCharacters function in bdfread.c in (1) X.Org libXfont before 20070403 and (2)
- CVE-2006-4447 HIGH 7.2 DOWNGRADE DOWNGRADE X.Org and XFree86, including libX11, xdm, xf86dga, xinit, xload, xtrans, and xterm, does not check the return
- CVE-2006-1526 LOW 2.1 DOWNGRADE Buffer overflow in the X render (Xrender) extension in X.org X server 6.8.0 up to allows attackers to cause a
- CVE-2006-0745 HIGH 7.2 DOWNGRADE DOWNGRADE X.Org server (xorg-server) 1.0.0 and later, X11R6.9.0, and X11R7.0 inadvertently treats the address of the get
- CVE-2005-0605 HIGH 7.5 DOWNGRADE DOWNGRADE scan.c for LibXPM may allow attackers to execute arbitrary code via a negative bitmap_unit value that leads to