Debian Security Advisory

DLA-500-1 imagemagick -- LTS security update

Date Reported:
02 Jun 2016
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 825799.
In Mitre's CVE dictionary: CVE-2016-5118.
More information:

Bob Friesenhahn from the GraphicsMagick project discovered a command injection vulnerability in ImageMagick, a program suite for image manipulation. An attacker with control on input image or the input filename can execute arbitrary commands with the privileges of the user running the application.

This update removes the possibility of using pipe (|) in filenames to interact with imagemagick.

It is important that you upgrade the libmagickcore5 and not just the imagemagick package. Applications using libmagickcore5 might also be affected and need to be restarted after the upgrade.

For Debian 7 Wheezy, these problems have been fixed in version 8:

We recommend that you upgrade your imagemagick packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: