ImageMagick improperly handles PALM and DCM images, potentially resulting in the execution of arbitrary code.
|Package||media-gfx/imagemagick on all architectures|
|Affected versions||< 220.127.116.11|
|Unaffected versions||>= 18.104.22.168|
ImageMagick is a software suite to create, edit, and compose bitmap images, that can also read, write, and convert images in many other formats.
M. Joonas Pihlaja has reported that a boundary error exists within the ReadDCMImage() function of coders/dcm.c, causing the improper handling of DCM images. Pihlaja also reported that there are several boundary errors in the ReadPALMImage() function of coders/palm.c, similarly causing the improper handling of PALM images.
An attacker could entice a user to open a specially crafted DCM or PALM image with ImageMagick, and possibly execute arbitrary code with the privileges 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-22.214.171.124"
November 24, 2006
November 24, 2006: 01