USN-5736-2

Type: Security
Severity: Medium
Published: 2022-11-24
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

USN-5736-1 fixed vulnerabilities in ImageMagick. This update provides the corresponding updates for Ubuntu 20.04 ESM and Ubuntu 22.04 ESM. One of the issues, CVE-2021-20224, only affected Ubuntu 20.04 ESM, while CVE-2021-20245, CVE-2021-3574, CVE-2021-4219 and CVE-2022-1114 only affected Ubuntu 22.04 ESM. Original advisory details: It was discovered that ImageMagick incorrectly handled certain values when processing PDF files. If a user or automated system using ImageMagick were tricked into opening a specially crafted PDF file, an attacker could exploit this to cause a denial of service. This issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM and Ubuntu 18.04 LTS. (CVE-2021-20224) 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. This issue only affected Ubuntu 18.04 LTS and Ubuntu 22.10. (CVE-2021-20241) 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. This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 22.10. (CVE-2021-20243) It was discovered that ImageMagick incorrectly handled certain values when processing visual effects based image files. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 22.10. (CVE-2021-20244) It was discovered that ImageMagick could be made to divide by zero when processing crafted files. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 22.10. (CVE-2021-20245) It was discovered that ImageMagick incorrectly handled certain values when performing resampling operations. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 22.10. (CVE-2021-20246) It was discovered that ImageMagick incorrectly handled certain values when processing visual effects based image files. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 22.10. (CVE-2021-20309) It was discovered that ImageMagick incorrectly handled certain values when processing thumbnail image data. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 22.10. (CVE-2021-20312) It was discovered that ImageMagick incorrectly handled memory cleanup when performing certain cryptographic operations. Under certain conditions sensitive cryptographic information could be disclosed. This issue only affected Ubuntu 22.10. (CVE-2021-20313) It was discovered that ImageMagick did not properly manage memory under certain circumstances. If a user were tricked into opening a specially crafted file using the convert command, an attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. This issue only affected Ubuntu 22.10. (CVE-2021-3574) It was discovered that ImageMagick did not use the correct rights when specifically excluded by a module policy. An attacker could use this issue to read and write certain restricted files. This issue only affected Ubuntu 22.10. (CVE-2021-39212) It was discovered that ImageMagick incorrectly handled certain values when processing specially crafted SVG files. By tricking a user into opening a specially crafted SVG file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 22.10. (CVE-2021-4219) It was discovered that ImageMagick did not properly manage memory under certain circumstances. If a user were tricked into opening a specially crafted DICOM file, an attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or expose sensitive information. This issue only affected Ubuntu 22.10. (CVE-2022-1114) It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 22.10. (CVE-2022-28463) It was discovered that ImageMagick incorrectly handled certain values. If a user were tricked into processing a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 22.10. (CVE-2022-32545, CVE-2022-32546) It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into processing a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 22.10. (CVE-2022-32547) Update Instructions: Run `sudo pro fix USN-5736-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libmagick++-6.q16hdri-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-6.q16-6-extra - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickwand-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 imagemagick-6.q16 - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-6-headers - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 imagemagick-6-common - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickwand-6.q16-6 - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-6.q16hdri-6-extra - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagick++-6-headers - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libimage-magick-q16-perl - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libimage-magick-perl - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagick++-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 perlmagick - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagick++-6.q16hdri-8 - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 imagemagick - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickwand-6.q16hdri-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickwand-6.q16-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-6.q16-6 - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-6.q16hdri-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagick++-6.q16-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 imagemagick-common - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-6.q16-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 imagemagick-doc - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickwand-6-headers - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 imagemagick-6-doc - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-6.q16hdri-6 - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libimage-magick-q16hdri-perl - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-6-arch-config - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 imagemagick-6.q16hdri - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickcore-dev - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagick++-6.q16-8 - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 libmagickwand-6.q16hdri-6 - 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-27T23:47:41.555Z UTC. Last updated 2025-11-26T07:38:03.970Z UTC.

Upstream Advisory

Affected Packages

  • imagemagick-6-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagick++-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-6.q16-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickwand-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • imagemagick-6.q16 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickwand-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-6.q16hdri-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagick++-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libimage-magick-q16-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libimage-magick-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagick++-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • perlmagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagick++-6.q16hdri-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickwand-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickwand-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagick++-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • imagemagick-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • imagemagick-doc 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickwand-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • imagemagick-6-doc 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libimage-magick-q16hdri-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-6-arch-config 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • imagemagick-6.q16hdri 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickcore-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagick++-6.q16-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagickwand-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

  • libmagick++-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-6.q16-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickwand-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-6.q16hdri-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagick++-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • perlmagick 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagick++-6.q16hdri-8 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickwand-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickwand-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagick++-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • imagemagick-common 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • imagemagick-doc 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • imagemagick-6-doc 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickcore-dev 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagick++-6.q16-8 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

  • libmagickwand-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1-8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1

Interested in being alerted when there are new versions of imagemagick-6-common and the other packages? Set up an alert.
USN-5736-2: ImageMagick vulnerabilities | Package Alert