USN-1544-1: ImageMagick vulnerability

22 August 2012

imagemagick vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 12.04 LTS
  • Ubuntu 11.10
  • Ubuntu 11.04
  • Ubuntu 10.04 LTS


ImageMagick could be made to crash or run programs as your login if it opened a specially crafted file.

Software Description

  • imagemagick - Image manipulation programs and library


Tom Lane discovered that ImageMagick would not always properly allocate memory. If a user or automated system using ImageMagick were tricked into opening a specially crafted PNG image, an attacker could exploit this to cause a denial of service or possibly execute code with the privileges of the user invoking the program.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 12.04 LTS
imagemagick - 8:
libmagick++4 - 8:
Ubuntu 11.10
imagemagick - 8:
libmagick++3 - 8:
Ubuntu 11.04
imagemagick - 7:
libmagick++3 - 7:
Ubuntu 10.04 LTS
imagemagick - 7:
libmagick++2 - 7:

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.