Joined: 12 May 2004
|Posted: Sun Jun 08, 2008 8:26 pm Post subject: [ GLSA 200806-03 ] Imlib 2: User-assisted execution of arbit
|Gentoo Linux Security Advisory
Title: Imlib 2: User-assisted execution of arbitrary code (GLSA 200806-03)
Date: June 08, 2008
Two vulnerabilities in Imlib 2 may allow for the execution of arbitrary code.
Imlib 2 is an advanced replacement library for libraries like libXpm.
Vulnerable: < 1.4.0-r1
Unaffected: >= 1.4.0-r1
Architectures: All supported architectures
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.
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.
There is no known workaround at this time.
All Imlib 2 users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/imlib2-1.4.0-r1"