USN-7756-1
It was discovered that ImageMagick did not properly handle memory when performing magnified size calculations. 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-55154) Woojin Park, Hojun Lee, Youngin Won, and Siyeon Han discovered that ImageMagick incorrectly handled creating thumbnail images for certain dimensions. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS. (CVE-2025-55212) Lumina Mescuwa discovered that ImageMagick did not properly handle cloning splay trees in the MagickCore library. An attacker could possibly use this issue to cause sanitized builds of ImageMagick to crash, resulting in a denial of service. (CVE-2025-55160) Lumina Mescuwa discovered that ImageMagick did not properly handle memory. 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-57807) Update Instructions: Run `sudo pro fix USN-7756-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+esm3 imagemagick-6-common - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 imagemagick-6-doc - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 imagemagick-6.q16 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 imagemagick-6.q16hdri - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 imagemagick-common - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 imagemagick-doc - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libimage-magick-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libimage-magick-q16-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libimage-magick-q16hdri-perl - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagick++-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagick++-6.q16-8 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagick++-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagick++-6.q16hdri-8 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagick++-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagick++-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-6-arch-config - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-6.q16-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-6.q16-6-extra - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-6.q16hdri-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-6.q16hdri-6-extra - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickcore-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickwand-6-headers - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickwand-6.q16-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickwand-6.q16-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickwand-6.q16hdri-6 - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickwand-6.q16hdri-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 libmagickwand-dev - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 perlmagick - 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 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+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
imagemagick-6-doc 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
imagemagick-6.q16 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
imagemagick-6.q16hdri 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
imagemagick-common 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
imagemagick-doc 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libimage-magick-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libimage-magick-q16-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libimage-magick-q16hdri-perl 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagick++-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagick++-6.q16-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagick++-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagick++-6.q16hdri-8 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagick++-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagick++-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-6-arch-config 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-6.q16-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-6.q16hdri-6-extra 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickcore-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickwand-6-headers 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickwand-6.q16-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickwand-6.q16hdri-6 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickwand-6.q16hdri-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
libmagickwand-dev 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
perlmagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3-8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
imagemagick-6-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
imagemagick-6-doc 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
imagemagick-6.q16 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
imagemagick-6.q16hdri 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
imagemagick-common 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
imagemagick-doc 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libimage-magick-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libimage-magick-q16-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libimage-magick-q16hdri-perl 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagick++-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagick++-6.q16-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagick++-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagick++-6.q16hdri-8 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagick++-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagick++-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-6-arch-config 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-6.q16-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-6.q16hdri-6-extra 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickcore-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickwand-6-headers 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickwand-6.q16-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickwand-6.q16-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickwand-6.q16hdri-6 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickwand-6.q16hdri-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
libmagickwand-dev 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
perlmagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3-8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
imagemagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
imagemagick-6-common 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
imagemagick-6-doc 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
imagemagick-6.q16 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
imagemagick-6.q16hdri 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libimage-magick-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libimage-magick-q16-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libimage-magick-q16hdri-perl 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagick++-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagick++-6.q16-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagick++-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagick++-6.q16hdri-9t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagick++-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagick++-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-6-arch-config 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-6.q16-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-6.q16hdri-7-extra 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickcore-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickwand-6-headers 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickwand-6.q16-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickwand-6.q16-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickwand-6.q16hdri-7t64 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickwand-6.q16hdri-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
libmagickwand-dev 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
perlmagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2-8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2