7.5
CWE
NVD-CWE-Other 119
Advisory Published
Updated

CVE-2004-0687: Buffer Overflow

First published: Fri 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
X.org X.org=6.7.0
X.org X.org=6.8
XFree86 X Server=3.3.6
XFree86 X Server=4.0
XFree86 X Server=4.0.1
XFree86 X Server=4.0.2.11
XFree86 X Server=4.0.3
XFree86 X Server=4.1.0
XFree86 X Server=4.1.11
XFree86 X Server=4.1.12
XFree86 X Server=4.2.0
XFree86 X Server=4.2.1
XFree86 X Server=4.2.1
XFree86 X Server=4.3.0
OpenBSD=3.4
OpenBSD=3.5
SUSE Linux=8
SUSE Linux=8.1
SUSE Linux=8.2
SUSE Linux=9.0
SUSE Linux=9.0
SUSE Linux=9.0
SUSE Linux=9.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • What causes CVE-2004-0687?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203