CVE-2004-0687: Buffer Overflow

Published Sep 24, 2004
·
Updated

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.

Affected Software

23 affected components
X.Org X11R6=6.7.0
X.Org X11R6=6.8
Xfree86 Project X11r6=3.3.6
Xfree86 Project X11r6=4.0
Xfree86 Project X11r6=4.0.1
Xfree86 Project X11r6=4.0.2.11
Xfree86 Project X11r6=4.0.3
Xfree86 Project X11r6=4.1.0
Xfree86 Project X11r6=4.1.11
Xfree86 Project X11r6=4.1.12
Xfree86 Project X11r6=4.2.0
Xfree86 Project X11r6=4.2.1
Xfree86 Project X11r6=4.2.1
Xfree86 Project X11r6=4.3.0
OpenBSD OpenBSD=3.4
OpenBSD OpenBSD=3.5
SUSE SuSE Linux=8
SUSE SuSE Linux=8.1
SUSE SuSE Linux=8.2
SUSE SuSE Linux=9.0
SUSE SuSE Linux=9.0
SUSE SuSE Linux=9.0
SUSE SuSE Linux=9.1

Remediation

Event History

Sep 24, 2004
CVE Published
via MITRE·04:00 AM
Data Sourced
via MITRE·04:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2004-0687?

CVE-2004-0687 is rated as high risk due to stack-based buffer overflows that can lead to remote code execution.

2

How do I fix CVE-2004-0687?

To fix CVE-2004-0687, upgrade to libXpm version 6.8.1 or later, which contains the necessary security patches.

3

Who is affected by CVE-2004-0687?

CVE-2004-0687 affects users of libXpm versions prior to 6.8.1, including specific versions of X.org and XFree86.

4

What causes CVE-2004-0687?

CVE-2004-0687 is caused by multiple stack-based buffer overflows in the handling of malformed XPM image files.

5

Can CVE-2004-0687 be exploited remotely?

Yes, CVE-2004-0687 can be exploited remotely by sending a malicious XPM image file to a vulnerable application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203