Multiple buffer overflows have been discovered in ImageMagick, which could potentially result in the execution of arbitrary code.
Package | media-gfx/imagemagick on all architectures |
---|---|
Affected versions | < 6.2.9.5 |
Unaffected versions | >= 6.2.9.5 |
ImageMagick is a free software suite to manipulate, convert, and create many image formats.
Tavis Ormandy of the Google Security Team discovered a stack and heap buffer overflow in the GIMP XCF Image decoder and multiple heap and integer overflows in the SUN bitmap decoder. Damian Put discovered a heap overflow in the SGI image decoder.
An attacker may be able to create a specially crafted image that, when processed with ImageMagick, executes arbitrary code with the privileges of the executing user.
There is no known workaround at this time.
All ImageMagick users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.2.9.5"