USN-7728-1
It was discovered that ImageMagick did not properly process certain format strings when interpreting image filenames. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. (CVE-2025-53014) It was discovered that ImageMagick did not properly process certain format strings when interpreting image filenames. An attacker could possibly use this issue to cause ImageMagick to consume resources, 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, and Ubuntu 24.04 LTS. (CVE-2025-53019) It was discovered that ImageMagick did not properly process certain format strings when interpreting image filenames. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-53101) Update Instructions: Run `sudo pro fix USN-7728-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: imagemagick - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 imagemagick-6-common - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 imagemagick-6-doc - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 imagemagick-6.q16 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 imagemagick-6.q16hdri - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 imagemagick-common - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 imagemagick-doc - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libimage-magick-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libimage-magick-q16-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libimage-magick-q16hdri-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagick++-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagick++-6.q16-8 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagick++-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagick++-6.q16hdri-8 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagick++-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagick++-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-6-arch-config - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-6.q16-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-6.q16-6-extra - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-6.q16hdri-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-6.q16hdri-6-extra - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickcore-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickwand-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickwand-6.q16-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickwand-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickwand-6.q16hdri-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickwand-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 libmagickwand-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 perlmagick - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 Available with Ubuntu Pro: https://ubuntu.com/pro
Evidence and freshness
Last supporting evidence check: 2026-11-28T03:50:42.912Z UTC
Upstream Advisory
Affected Packages
imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
imagemagick-6-doc 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
imagemagick-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
imagemagick-doc 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagick++-6.q16-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagick++-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagick++-6.q16hdri-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagick++-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagick++-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-6.q16-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-6.q16hdri-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickcore-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickwand-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickwand-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickwand-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
libmagickwand-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
perlmagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
imagemagick-6-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
imagemagick-6-doc 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
imagemagick-6.q16 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
imagemagick-6.q16hdri 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
imagemagick-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
imagemagick-doc 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libimage-magick-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libimage-magick-q16-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libimage-magick-q16hdri-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagick++-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagick++-6.q16-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagick++-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagick++-6.q16hdri-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagick++-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagick++-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-6-arch-config 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-6.q16-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-6.q16hdri-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickcore-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickwand-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickwand-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickwand-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickwand-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickwand-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
libmagickwand-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
perlmagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
imagemagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
imagemagick-6-common 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
imagemagick-6-doc 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
imagemagick-6.q16 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
imagemagick-6.q16hdri 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libimage-magick-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libimage-magick-q16-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libimage-magick-q16hdri-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagick++-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagick++-6.q16-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagick++-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagick++-6.q16hdri-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagick++-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagick++-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-6-arch-config 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-6.q16-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-6.q16hdri-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickcore-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickwand-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickwand-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickwand-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickwand-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickwand-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
libmagickwand-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
perlmagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1