Debian Security Advisory

DSA-702-1 imagemagick -- several vulnerabilities

Date Reported:
01 Apr 2005
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 297990.
In the Bugtraq database (at SecurityFocus): BugTraq ID 12875.
In Mitre's CVE dictionary: CVE-2005-0397, CVE-2005-0759, CVE-2005-0760, CVE-2005-0762.
More information:

Several vulnerabilities have been discovered in ImageMagick, a commonly used image manipulation library. These problems can be exploited by a carefully crafted graphic image. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CAN-2005-0397

    Tavis Ormandy discovered a format string vulnerability in the filename handling code which allows a remote attacker to cause a denial of service and possibly execute arbitrary code.

  • CAN-2005-0759

    Andrei Nigmatulin discovered a denial of service condition which can be caused by an invalid tag in a TIFF image.

  • CAN-2005-0760

    Andrei Nigmatulin discovered that the TIFF decoder is vulnerable to accessing memory out of bounds which will result in a segmentation fault.

  • CAN-2005-0762

    Andrei Nigmatulin discovered a buffer overflow in the SGI parser which allows a remote attacker to execute arbitrary code via a specially crafted SGI image file.

For the stable distribution (woody) these problems have been fixed in version

For the unstable distribution (sid) these problems have been fixed in version

We recommend that you upgrade your imagemagick package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Intel IA-32:
Intel IA-64:
Motorola 680x0:
Big endian MIPS:
Little endian MIPS:
IBM S/390:
Sun Sparc:

MD5 checksums of the listed files are available in the original advisory.