Gentoo Logo

X.org, XFree86: Integer and stack overflows in libXpm

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200409-34 / X
Release Date September 27, 2004
Latest Revision May 27, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
x11-base/xorg-x11 < 6.7.0-r2, = 6.8.0 revision >= 6.7.0-r2, >= 6.8.0-r1 All supported architectures
x11-base/xfree < 4.3.0-r7 >= 4.3.0-r7 alpha x86
x11-base/xfree < 4.3.0-r7 amd64 hppa ia64 mips ppc sparc

Related bugreports: #64152

Synopsis

libXpm, the X Pixmap library that is a part of the X Window System, contains multiple stack and integer overflows that may allow a carefully-crafted XPM file to crash applications linked against libXpm, potentially allowing the execution of arbitrary code.

2.  Impact Information

Background

XFree86 and X.org are both implementations of the X Window System.

Description

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All X.org users should upgrade to the latest version:

Code Listing 3.1: Resolution

# 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:

Code Listing 3.2: Resolution

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

4.  References



Print

Page updated September 27, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.