ImageMagick: PSD decoding heap overflow ImageMagick is vulnerable to a heap overflow when decoding Photoshop Document (PSD) files, which could lead to arbitrary code execution. imagemagick 2005-01-20 2005-01-20: 01 77932 remote 6.1.8.8 6.1.8.8

ImageMagick is a collection of tools to read, write and manipulate images in many formats.

Andrei Nigmatulin discovered that a Photoshop Document (PSD) file with more than 24 layers could trigger a heap overflow.

An attacker could potentially design a mailicous PSD image file to cause arbitrary code execution with the permissions of the user running ImageMagick.

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.1.8.8"
CAN-2005-0005 iDEFENSE Advisory koon koon