Imlib2: User-assisted execution of arbitrary code — GLSA 200812-23

A buffer overflow vulnerability has been discovered in Imlib2.

Affected Packages

media-libs/imlib2 on all architectures
Affected versions < 1.4.2-r1
Unaffected versions >= 1.4.2-r1

Background

Imlib2 is replacement library from the Enlightenment project for libraries like libXpm.

Description

Julien Danjou reported a pointer arithmetic error and a heap-based buffer overflow within the load() function of the XPM image loader.

Impact

A remote attacker could entice a user to process a specially crafted XPM image, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application, or a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All Imlib2 users should upgrade to the latest version:

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

References

Release Date
December 23, 2008

Latest Revision
December 23, 2008: 01

Severity
normal

Exploitable
remote

Bugzilla entries