ImageMagick: Multiple buffer overflows Multiple integer overflows have been discovered in ImageMagick allowing for the execution of arbitrary code. imagemagick 2007-05-10 2007-06-07 152672 159567 173186 remote 6.3.3 6.3.3

ImageMagick is a collection of tools allowing various manipulations on image files.

iDefense Labs has discovered multiple integer overflows in ImageMagick in the functions ReadDCMImage() and ReadXWDImage(), that are used to process DCM and XWD files.

An attacker could entice a user to open specially crafted XWD or DCM file, resulting in heap-based buffer overflows and possibly the execution of arbitrary code with the privileges of the user running ImageMagick. Note that this user may be httpd or any other account used by applications relying on the ImageMagick tools to automatically process images.

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.3.3"
CVE-2007-1797 jaervosz jaervosz p-y