Imlib 2: User-assisted execution of arbitrary code

Security Team  Contact Address

Updated June 08, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200806-03 / imlib2
Release Date June 08, 2008
Latest Revision June 08, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/imlib2 < 1.4.0-r1 >= 1.4.0-r1 All supported architectures

Related bugreports: #223965

Synopsis

Two vulnerabilities in Imlib 2 may allow for the execution of arbitrary code.

2.  Impact Information

Background

Imlib 2 is an advanced replacement library for libraries like libXpm.

Description

Stefan Cornelius (Secunia Research) reported two boundary errors in Imlib2:

Impact

A remote attacker could entice a user to open a specially crafted PNM or XPM image, possibly resulting in the execution of arbitrary code with the rights of the user running the application using Imlib 2.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Imlib 2 users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/imlib2-1.4.0-r1"

4.  References