USN-5335-1: ImageMagick vulnerabilities
18 March 2022
Several security issues were fixed in ImageMagick.
Releases
Packages
- imagemagick - Image manipulation programs and library
Details
It was discovered that ImageMagick incorrectly handled certain values
when processing XPM image data or large images. If a user or automated
system using ImageMagick were tricked into opening a specially crafted
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.
(CVE-2020-19667, CVE-2017-13144)
Suhwan Song discovered that ImageMagick incorrectly handled memory
when processing PNG,PALM,MIFF image data. If a user or automated system
using ImageMagick were tricked into opening a specially crafted 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.
(CVE-2020-25664, CVE-2020-25665, CVE-2020-25674, CVE-2020-27753)
Suhwan Song discovered that ImageMagick incorrectly handled certain values
when processing image data. If a user or automated system using
ImageMagick were tricked into opening a specially crafted image, an
attacker could exploit this to cause a denial of service.
(CVE-2020-25676, CVE-2020-27750, CVE-2020-27760, CVE-2020-27762,
CVE-2020-27766, CVE-2020-27770)
Zhang Xiaohui discovered that ImageMagick incorrectly handled certain values
when processing image data. If a user or automated system using
ImageMagick were tricked into opening a specially crafted image, an
attacker could exploit this to cause a denial of service.
(CVE-2021-20176, CVE-2021-20241, CVE-2021-20243)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 16.04
-
libimage-magick-perl
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
imagemagick-common
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagickcore-6.q16-dev
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagickcore-dev
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
imagemagick
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libimage-magick-q16-perl
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagickcore-6.q16-2-extra
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
imagemagick-6.q16
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagickcore-6-headers
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagick++-6.q16-5v5
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
perlmagick
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagickcore-6-arch-config
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagick++-6.q16-dev
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagickwand-6.q16-dev
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagickcore-6.q16-2
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
-
libmagickwand-6.q16-2
-
8:6.8.9.9-7ubuntu5.16+esm2
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.