USN-7876-1: ImageMagick vulnerability
USN-7876-1: ImageMagick vulnerability
Publication date: 20 November 2025
Overview: ImageMagick could be made to crash or run programs as your login if it opened a specially crafted file.
Packages
imagemagick - Image manipulation programs and library
Details
It was 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. This issue exists due to an incomplete fix for
CVE-2025-57803.
Update instructions
The problem can be corrected by updating your system to the following package versions:
24.04 LTS noble
- imagemagick-6.q16 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- imagemagick-6.q16hdri – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libimage-magick-q16-perl – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libimage-magick-q16hdri-perl – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libmagick++-6.q16-9t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libmagick++-6.q16hdri-9t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libmagickcore-6.q16-7-extra – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libmagickcore-6.q16-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libmagickcore-6.q16hdri-7-extra – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libmagickcore-6.q16hdri-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libmagickwand-6.q16-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
- libmagickwand-6.q16hdri-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
22.04 LTS jammy
- imagemagick-6.q16 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- imagemagick-6.q16hdri – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libimage-magick-q16-perl – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libimage-magick-q16hdri-perl – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libmagick++-6.q16-8 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libmagick++-6.q16hdri-8 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libmagickcore-6.q16-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libmagickcore-6.q16-6-extra – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libmagickcore-6.q16hdri-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libmagickcore-6.q16hdri-6-extra – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libmagickwand-6.q16-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
- libmagickwand-6.q16hdri-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
20.04 LTS focal
- libimage-magick-q16-perl – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm5
- libimage-magick-q16hdri-perl – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm5
- libmagickcore-6.q16-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm5
- libmagickcore-6.q16hdri-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm5
18.04 LTS bionic
- imagemagick-6.q16 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- imagemagick-6.q16hdri – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libimage-magick-q16-perl – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libimage-magick-q16hdri-perl – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libmagick++-6.q16-7 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libmagick++-6.q16hdri-7 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libmagickcore-6.q16-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libmagickcore-6.q16-3-extra – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libmagickcore-6.q16hdri-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libmagickcore-6.q16hdri-3-extra – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libmagickwand-6.q16-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
- libmagickwand-6.q16hdri-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
16.04 LTS xenial
- imagemagick-6.q16 – 8:6.8.9.9-7ubuntu5.16+esm15
- libimage-magick-q16-perl – 8:6.8.9.9-7ubuntu5.16+esm15
- libmagick++-6.q16-5v5 – 8:6.8.9.9-7ubuntu5.16+esm15
- libmagickcore-6.q16-2 – 8:6.8.9.9-7ubuntu5.16+esm15
- libmagickcore-6.q16-2-extra – 8:6.8.9.9-7ubuntu5.16+esm15
- libmagickwand-6.q16-2 – 8:6.8.9.9-7ubuntu5.16+esm15
- 14.04 LTS trusty imagemagick – 8:6.7.7.10-6ubuntu3.13+esm16
- imagemagick-common – 8:6.7.7.10-6ubuntu3.13+esm16
- libmagick++5 – 8:6.7.7.10-6ubuntu3.13+esm16
- libmagickcore5 – 8:6.7.7.10-6ubuntu3.13+esm16
- libmagickcore5-extra – 8:6.7.7.10-6ubuntu3.13+esm16
- libmagickwand5 – 8:6.7.7.10-6ubuntu3.13+esm16
- perlmagick – 8:6.7.7.10-6ubuntu3.13+esm16

