GLSA-200409-34 : X.org, XFree86: Integer and stack overflows in libXpm

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200409-34
(X.org, XFree86: Integer and stack overflows in libXpm)

Chris Evans has discovered multiple integer and stack overflow
vulnerabilities in the X Pixmap library, libXpm, which is a part of the
X Window System. These overflows can be exploited by the execution of a
malicious XPM file, which can crash applications that are dependent on
libXpm.

Impact :

A carefully-crafted XPM file could crash applications that are linked
against libXpm, potentially allowing the execution of arbitrary code
with the privileges of the user running the application.

Workaround :

There is no known workaround at this time.

See also :

http://freedesktop.org/pipermail/xorg/2004-September/003196.html
http://freedesktop.org/pipermail/xorg/2004-September/003172.html
http://www.gentoo.org/security/en/glsa/glsa-200409-34.xml

Solution :

All X.org users should upgrade to the latest version:
# emerge sync
# emerge -pv '>=x11-base/xorg-x11-6.7.0-r2'
# emerge '>=x11-base/xorg-x11-6.7.0-r2'
All XFree86 users should upgrade to the latest version:
# emerge sync
# emerge -pv '>=x11-base/xfree-4.3.0-r7'
# emerge '>=x11-base/xfree-4.3.0-r7'
Note: Usage of XFree86 is deprecated on the AMD64, HPPA, IA64, MIPS,
PPC and SPARC architectures: XFree86 users on those architectures
should switch to X.org rather than upgrading XFree86.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14821 (gentoo_GLSA-200409-34.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0687
CVE-2004-0688