Imlib 2 is an advanced replacement library for libraries like libXpm.
Stefan Cornelius (Secunia Research) reported two boundary errors in Imlib2:
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"