Gentoo Logo

ImageMagick: PALM and DCM buffer overflows


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200611-19 / imagemagick
Release Date November 24, 2006
Latest Revision November 24, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/imagemagick < >= All supported architectures

Related bugreports: #152672


ImageMagick improperly handles PALM and DCM images, potentially resulting in the execution of arbitrary code.

2.  Impact Information


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.

3.  Resolution Information


There is no known workaround at this time.


All ImageMagick users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-"

4.  References


Page updated November 24, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.