Gentoo Logo

ImageMagick: Filename handling vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-11 / ImageMagick
Release Date March 06, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/imagemagick < >= All supported architectures

Related bugreports: #83542


A format string vulnerability exists in ImageMagick that may allow an attacker to execute arbitrary code.

2.  Impact Information


ImageMagick is a collection of tools and libraries for manipulating a wide variety of image formats.


Tavis Ormandy of the Gentoo Linux Security Audit Team has identified a flaw in the handling of filenames by the ImageMagick utilities.


Successful exploitation may disrupt web applications that depend on ImageMagick for image processing, potentially executing arbitrary code.

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 March 06, 2005

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.