GLSA 200806-03 Imlib 2: User-assisted execution of arbitrary code
Posted on: 06/08/2008 09:15 PM

A new security update has been released for Gentoo Linux - Imlib 2: User-assisted execution of arbitrary code. Here the announcement:

Gentoo Linux Security Advisory GLSA 200806-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Imlib 2: User-assisted execution of arbitrary code
Date: June 08, 2008
Bugs: #223965
ID: 200806-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

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

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-libs/imlib2 lt; 1.4.0-r1 gt;= 1.4.0-r1

Description
===========

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

* One of them within the load() function in the file
src/modules/loaders/loader_pnm.c when processing the header of a PNM
image file, possibly leading to a stack-based buffer overflow.

* The second one within the load() function in the file
src/modules/loader_xpm.c when processing an XPM image file, possibly
leading to a stack-based buffer overflow.

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Imlib 2 users should upgrade to the latest version:

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

References
==========

[ 1 ] CVE-2008-2426
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2426

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200806-03.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/glsa_200806_03_imlib_2_user_assisted_execution_of_arbitrary_code.html)