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

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

Affected products (23)

More vulnerabilities in X.org X11r6

All CVEs affecting X.org X11r6 →