USN-8021-1: ImageMagick vulnerability

Publication date

10 February 2026

Overview

ImageMagick could be made to crash or run programs as your login if it opened a specially crafted file.


Packages

  • imagemagick - Image manipulation programs and library

Details

Benny Isaacs discovered that ImageMagick did not properly manage memory
when processing certain image files. An attacker could possibly use this
issue to cause a denial of service or execute arbitrary code.

Benny Isaacs discovered that ImageMagick did not properly manage memory
when processing certain image files. An attacker could possibly use this
issue to cause a denial of service or execute arbitrary code.

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-6.q16 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
imagemagick-6.q16hdri –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libimage-magick-q16-perl –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libimage-magick-q16hdri-perl –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagick++-6.q16-9t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagick++-6.q16hdri-9t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagickcore-6-headers –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagickcore-6.q16-7-extra –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagickcore-6.q16-7t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagickcore-6.q16hdri-7-extra –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagickcore-6.q16hdri-7t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagickwand-6.q16-7t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
libmagickwand-6.q16hdri-7t64 –  8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6  
22.04 LTS jammy imagemagick-6.q16 –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
imagemagick-6.q16hdri –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libimage-magick-q16-perl –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libimage-magick-q16hdri-perl –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libmagick++-6.q16-8 –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libmagick++-6.q16hdri-8 –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libmagickcore-6.q16-6 –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libmagickcore-6.q16-6-extra –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libmagickcore-6.q16hdri-6 –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libmagickcore-6.q16hdri-6-extra –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libmagickwand-6.q16-6 –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
libmagickwand-6.q16hdri-6 –  8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7  
20.04 LTS focal libimage-magick-q16-perl –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libimage-magick-q16hdri-perl –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagick++-6.q16-8 –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagick++-6.q16hdri-8 –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagickcore-6-headers –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagickcore-6.q16-6 –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagickcore-6.q16-6-extra –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagickcore-6.q16hdri-6 –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagickcore-6.q16hdri-6-extra –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagickwand-6.q16-6 –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
libmagickwand-6.q16hdri-6 –  8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7  
18.04 LTS bionic imagemagick-6.q16 –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
imagemagick-6.q16hdri –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libimage-magick-q16-perl –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libimage-magick-q16hdri-perl –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagick++-6.q16-7 –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagick++-6.q16hdri-7 –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagickcore-6-headers –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagickcore-6.q16-3 –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagickcore-6.q16-3-extra –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagickcore-6.q16hdri-3 –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagickcore-6.q16hdri-3-extra –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagickwand-6.q16-3 –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
libmagickwand-6.q16hdri-3 –  8:6.9.7.4+dfsg-16ubuntu6.15+esm9  
16.04 LTS xenial imagemagick-6.q16 –  8:6.8.9.9-7ubuntu5.16+esm17  
libimage-magick-q16-perl –  8:6.8.9.9-7ubuntu5.16+esm17  
libmagick++-6.q16-5v5 –  8:6.8.9.9-7ubuntu5.16+esm17  
libmagickcore-6-headers –  8:6.8.9.9-7ubuntu5.16+esm17  
libmagickcore-6.q16-2 –  8:6.8.9.9-7ubuntu5.16+esm17  
libmagickcore-6.q16-2-extra –  8:6.8.9.9-7ubuntu5.16+esm17  
libmagickwand-6.q16-2 –  8:6.8.9.9-7ubuntu5.16+esm17  
14.04 LTS trusty imagemagick –  8:6.7.7.10-6ubuntu3.13+esm18  
imagemagick-common –  8:6.7.7.10-6ubuntu3.13+esm18  
libmagick++5 –  8:6.7.7.10-6ubuntu3.13+esm18  
libmagickcore5 –  8:6.7.7.10-6ubuntu3.13+esm18  
libmagickcore5-extra –  8:6.7.7.10-6ubuntu3.13+esm18  
libmagickwand5 –  8:6.7.7.10-6ubuntu3.13+esm18  
perlmagick –  8:6.7.7.10-6ubuntu3.13+esm18  

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 ›