USN-8592-1
Hao Ren discovered that ImageMagick incorrectly handled certain images when using the wavelet-denoise operation. An attacker could possibly use this issue to trigger an out-of-bounds heap write, resulting in arbitrary code execution. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2026-30936) It was discovered that ImageMagick incorrectly handled extremely large XWD images. An attacker could possibly use this issue to trigger an out-of-bounds heap write, resulting in arbitrary code execution. (CVE-2026-30937) It was discovered that ImageMagick incorrectly handled extremely large SFW images on 32-bit systems. An attacker could possibly use this issue to trigger an integer overflow, resulting in a denial of service. (CVE-2026-31853) It was discovered that ImageMagick incorrectly handled memory allocation failures in the sixel encoder. An attacker could possibly use this issue to trigger a stack buffer overflow, resulting in arbitrary code execution. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2026-32259) Update Instructions: Run `sudo pro fix USN-8592-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: imagemagick - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 imagemagick-7-common - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 imagemagick-7.q16 - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 imagemagick-7.q16hdri - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libimage-magick-perl - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libimage-magick-q16-perl - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libimage-magick-q16hdri-perl - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagick++-7-headers - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagick++-7.q16-5 - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagick++-7.q16hdri-5 - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickcore-7-arch-config - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickcore-7-headers - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickcore-7.q16-10 - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickcore-7.q16-10-extra - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickcore-7.q16hdri-10 - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickcore-7.q16hdri-10-extra - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickwand-7-headers - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickwand-7.q16-10 - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 libmagickwand-7.q16hdri-10 - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 perlmagick - 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 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: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.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
imagemagick-6-common 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
imagemagick-6.q16 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
imagemagick-6.q16hdri 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libimage-magick-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libimage-magick-q16-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libimage-magick-q16hdri-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagick++-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagick++-6.q16-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagick++-6.q16hdri-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickcore-6-arch-config 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickcore-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickcore-6.q16-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickcore-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickcore-6.q16hdri-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickcore-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickwand-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickwand-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
libmagickwand-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
perlmagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
imagemagick-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagick++-6.q16-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagick++-6.q16hdri-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickcore-6.q16-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickcore-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickcore-6.q16hdri-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
libmagickwand-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
perlmagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
imagemagick-6-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
imagemagick-6.q16 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
imagemagick-6.q16hdri 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
imagemagick-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libimage-magick-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libimage-magick-q16-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libimage-magick-q16hdri-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagick++-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagick++-6.q16-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagick++-6.q16hdri-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickcore-6-arch-config 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickcore-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickcore-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickcore-6.q16-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickcore-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickcore-6.q16hdri-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickwand-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickwand-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
libmagickwand-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
perlmagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13