Imlib2: User-assisted execution of arbitrary code
Gentoo Linux Security Advisory
||GLSA 200812-23 / imlib2
||December 23, 2008
||December 23, 2008: 01
All supported architectures
A buffer overflow vulnerability has been discovered in Imlib2.
Imlib2 is replacement library from the Enlightenment project for
libraries like libXpm.
Julien Danjou reported a pointer arithmetic error and a heap-based
buffer overflow within the load() function of the XPM image loader.
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
There is no known workaround at this time.
All Imlib2 users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/imlib2-1.4.2-r1"