USN-8558-1
It was discovered that ImageMagick did not limit mutual references between MVG files. An attacker could possibly use this issue to cause a stack overflow, resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2025-68950) It was discovered that the ImageMagick MSL coder destroyed a cloned image twice when an MSL script failed. An attacker could possibly use this issue to cause a use-after-free, resulting in a denial of service, or arbitrary code execution. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2026-28688) It was discovered that the ImageMagick VIFF image encoder did not properly validate the packet count, leading to an integer overflow on 32-bit systems. An attacker could possibly use this issue to cause an out-of- bounds heap write, resulting in a denial of service. (CVE-2026-33900) It was discovered that ImageMagick did not properly handle the column offset when sampling an image. An attacker could possibly use this issue to cause ImageMagick to read out of bounds, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-33905) Update Instructions: Run `sudo pro fix USN-8558-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: imagemagick - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 imagemagick-6-common - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 imagemagick-6.q16 - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 imagemagick-6.q16hdri - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libimage-magick-perl - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libimage-magick-q16-perl - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libimage-magick-q16hdri-perl - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagick++-6-headers - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagick++-6.q16-9t64 - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagick++-6.q16hdri-9t64 - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickcore-6-arch-config - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickcore-6-headers - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickcore-6.q16-7-extra - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickcore-6.q16-7t64 - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickcore-6.q16hdri-7-extra - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickcore-6.q16hdri-7t64 - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickwand-6-headers - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickwand-6.q16-7t64 - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 libmagickwand-6.q16hdri-7t64 - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 perlmagick - 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 Available with Ubuntu Pro: https://ubuntu.com/pro
Evidence and freshness
Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC
Upstream Advisory
Affected Packages
imagemagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
imagemagick-6-common 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
imagemagick-6.q16 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
imagemagick-6.q16hdri 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libimage-magick-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libimage-magick-q16-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libimage-magick-q16hdri-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagick++-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagick++-6.q16-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagick++-6.q16hdri-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickcore-6-arch-config 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickcore-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickcore-6.q16-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickcore-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickcore-6.q16hdri-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickcore-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickwand-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickwand-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
libmagickwand-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
perlmagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11
imagemagick 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
imagemagick-7-common 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
imagemagick-7.q16 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
imagemagick-7.q16hdri 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libimage-magick-perl 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libimage-magick-q16-perl 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libimage-magick-q16hdri-perl 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagick++-7-headers 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagick++-7.q16-5 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagick++-7.q16hdri-5 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickcore-7-arch-config 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickcore-7-headers 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickcore-7.q16-10 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickcore-7.q16-10-extra 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickcore-7.q16hdri-10 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickcore-7.q16hdri-10-extra 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickwand-7-headers 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickwand-7.q16-10 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
libmagickwand-7.q16hdri-10 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
perlmagick 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1-8:7.1.2.18+dfsg1-1ubuntu0.1~esm1
imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
imagemagick-6-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
imagemagick-6.q16 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
imagemagick-6.q16hdri 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
imagemagick-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libimage-magick-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libimage-magick-q16-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libimage-magick-q16hdri-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagick++-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagick++-6.q16-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagick++-6.q16hdri-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickcore-6-arch-config 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickcore-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickcore-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickcore-6.q16-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickcore-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickcore-6.q16hdri-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickwand-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickwand-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
libmagickwand-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
perlmagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12
imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
imagemagick-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagick++-6.q16-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagick++-6.q16hdri-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickcore-6.q16-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickcore-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickcore-6.q16hdri-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
libmagickwand-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12
perlmagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12