USN-7812-1
Woojin Park, Hojun Lee, Yougin Won and Siyeon Han discovered that ImageMagick did not properly sanitize image file names. An attacker could possibly use this issue to cause a denial of service, obtain sensitive information, or execute arbitrary code. (CVE-2025-55298) Lumina Mescuwa discovered that ImageMagick did not properly handle memory when encoding BMP images. 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-57803) Update Instructions: Run `sudo pro fix USN-7812-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+esm4 imagemagick-6-common - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 imagemagick-6-doc - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 imagemagick-6.q16 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 imagemagick-6.q16hdri - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 imagemagick-common - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 imagemagick-doc - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libimage-magick-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libimage-magick-q16-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libimage-magick-q16hdri-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagick++-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagick++-6.q16-8 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagick++-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagick++-6.q16hdri-8 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagick++-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagick++-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-6-arch-config - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-6.q16-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-6.q16-6-extra - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-6.q16hdri-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-6.q16hdri-6-extra - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickcore-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickwand-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickwand-6.q16-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickwand-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickwand-6.q16hdri-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickwand-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 libmagickwand-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 perlmagick - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 Available with Ubuntu Pro: https://ubuntu.com/pro
Evidence and freshness
Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC
Upstream Advisory
Affected Packages
imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
imagemagick-6-doc 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
imagemagick-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
imagemagick-doc 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagick++-6.q16-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagick++-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagick++-6.q16hdri-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagick++-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagick++-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-6.q16-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-6.q16hdri-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickcore-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickwand-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickwand-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickwand-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
libmagickwand-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
perlmagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
imagemagick-6-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
imagemagick-6-doc 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
imagemagick-6.q16 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
imagemagick-6.q16hdri 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
imagemagick-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
imagemagick-doc 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libimage-magick-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libimage-magick-q16-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libimage-magick-q16hdri-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagick++-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagick++-6.q16-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagick++-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagick++-6.q16hdri-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagick++-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagick++-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-6-arch-config 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-6.q16-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-6.q16hdri-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickcore-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickwand-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickwand-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickwand-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickwand-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickwand-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
libmagickwand-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
perlmagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
imagemagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
imagemagick-6-common 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
imagemagick-6-doc 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
imagemagick-6.q16 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
imagemagick-6.q16hdri 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libimage-magick-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libimage-magick-q16-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libimage-magick-q16hdri-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagick++-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagick++-6.q16-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagick++-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagick++-6.q16hdri-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagick++-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagick++-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-6-arch-config 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-6.q16-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-6.q16hdri-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickcore-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickwand-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickwand-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickwand-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickwand-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickwand-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
libmagickwand-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
perlmagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3