ImageMagick, imlib and imlib2 contain exploitable buffer overflow
vulnerabilities in the BMP image processing code.
Background
ImageMagick is a suite of image manipulation utilities and libraries used
for a wide variety of image formats. imlib is a general image loading and
rendering library.
Due to improper bounds checking, ImageMagick and imlib are vulnerable to a
buffer overflow when decoding runlength-encoded bitmaps. This bug can be
exploited using a specially-crafted BMP image and could potentially allow
remote code execution when this image is decoded by the user.
Impact
A specially-crafted runlength-encoded BMP could lead ImageMagick and imlib
to crash or potentially execute arbitrary code.
Workaround
There is no known workaround at this time.
Resolution
All ImageMagick users should upgrade to the latest version:
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 https://bugs.gentoo.org.