7.5
CWE
NVD-CWE-Other 190
Advisory Published
Updated

CVE-2004-0688: Integer Overflow

First published: Fri Sep 24 2004(Updated: )

Multiple integer overflows in (1) the xpmParseColors function in parse.c, (2) XpmCreateImageFromXpmImage, (3) CreateXImage, (4) ParsePixels, and (5) ParseAndPutPixels for libXpm before 6.8.1 may 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-0688?

    CVE-2004-0688 has a high severity level due to its potential to allow remote code execution through manipulated XPM image files.

  • How do I fix CVE-2004-0688?

    To fix CVE-2004-0688, upgrade to libXpm version 6.8.1 or later, which includes patches addressing these integer overflow vulnerabilities.

  • Which software is affected by CVE-2004-0688?

    CVE-2004-0688 affects libXpm versions prior to 6.8.1, including various X.org and XFree86 X server versions.

  • What type of vulnerability is CVE-2004-0688?

    CVE-2004-0688 is categorized as an integer overflow vulnerability in specific functions that handle parsing of XPM image files.

  • Can CVE-2004-0688 be exploited remotely?

    Yes, CVE-2004-0688 can be exploited remotely when an attacker sends a specially crafted XPM image file to the target system.

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