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

Summary

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

Details

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:6.6.9.7-5ubuntu3.2
libmagick++4 - 8:6.6.9.7-5ubuntu3.2
Ubuntu 11.10
imagemagick - 8:6.6.0.4-3ubuntu1.2
libmagick++3 - 8:6.6.0.4-3ubuntu1.2
Ubuntu 11.04
imagemagick - 7:6.6.2.6-1ubuntu4.2
libmagick++3 - 7:6.6.2.6-1ubuntu4.2
Ubuntu 10.04 LTS
imagemagick - 7:6.5.7.8-1ubuntu1.3
libmagick++2 - 7:6.5.7.8-1ubuntu1.3

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References