USN-8739-2: ImageMagick vulnerabilities

Publication date

14 September 2026

Overview

Several security issues were fixed in ImageMagick.

Releases


Packages

  • imagemagick - Image manipulation programs and library

Details

USN-8739-1 fixed vulnerabilities in ImageMagick. This update provides the
corresponding fixes for Ubuntu 24.04 LTS.

Original advisory details:

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2026-56366, CVE-2026-56368,
CVE-2026-56371, CVE-2026-56373)

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and
Ubuntu 26.04 LTS. (CVE-2026-56370)

It was...

USN-8739-1 fixed vulnerabilities in ImageMagick. This update provides the
corresponding fixes for Ubuntu 24.04 LTS.

Original advisory details:

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2026-56366, CVE-2026-56368,
CVE-2026-56371, CVE-2026-56373)

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and
Ubuntu 26.04 LTS. (CVE-2026-56370)

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service or
expose sensitive information. This issue only affected Ubuntu 14.04 LTS,
Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2026-56378)

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to execute arbitrary code. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2026-56379)

It was discovered that ImageMagick incorrectly handled memory allocation
in certain operations. An attacker could possibly use this issue to cause
a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu
18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 26.04 LTS.
(CVE-2026-61465)

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 22.04 LTS and Ubuntu 26.04 LTS.
(CVE-2026-61857)

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service.
(CVE-2026-61863, CVE-2026-61864, CVE-2026-61865, CVE-2026-61870)

It was discovered that ImageMagick incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
Ubuntu 22.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-61866)

It was discovered that ImageMagick incorrectly handled certain images on
32-bit systems. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. This issue only affected
Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,
and Ubuntu 26.04 LTS. (CVE-2026-62946)


Update instructions

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
24.04 LTS noble imagemagick –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
imagemagick-6-common –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
imagemagick-6.q16 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
imagemagick-6.q16hdri –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libimage-magick-perl –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libimage-magick-q16-perl –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libimage-magick-q16hdri-perl –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagick++-6-headers –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagick++-6.q16-9t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagick++-6.q16-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagick++-6.q16hdri-9t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagick++-6.q16hdri-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagick++-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-6-arch-config –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-6-headers –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-6.q16-7-extra –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-6.q16-7t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-6.q16-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-6.q16hdri-7-extra –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-6.q16hdri-7t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-6.q16hdri-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickcore-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickwand-6-headers –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickwand-6.q16-7t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickwand-6.q16-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickwand-6.q16hdri-7t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickwand-6.q16hdri-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
libmagickwand-dev –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  
perlmagick –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›