Packages
- imagemagick - Image manipulation programs and library
Details
It was discovered that ImageMagick did not limit mutual references between
MVG files. An attacker could possibly use this issue to cause a stack
overflow, resulting in a denial of service. This issue only affected Ubuntu
14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu
22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2025-68950)
It was discovered that the ImageMagick MSL coder destroyed a cloned image
twice when an MSL script failed. An attacker could possibly use this issue
to cause a use-after-free, resulting in a denial of service, or arbitrary
code execution. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04
LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04
LTS. (CVE-2026-28688)
It was discovered that the ImageMagick VIFF image encoder did not properly
validate the packet count, leading to an integer...
It was discovered that ImageMagick did not limit mutual references between
MVG files. An attacker could possibly use this issue to cause a stack
overflow, resulting in a denial of service. This issue only affected Ubuntu
14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu
22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2025-68950)
It was discovered that the ImageMagick MSL coder destroyed a cloned image
twice when an MSL script failed. An attacker could possibly use this issue
to cause a use-after-free, resulting in a denial of service, or arbitrary
code execution. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04
LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04
LTS. (CVE-2026-28688)
It was discovered that the ImageMagick VIFF image encoder did not properly
validate the packet count, leading to an integer overflow on 32-bit
systems. An attacker could possibly use this issue to cause an out-of-
bounds heap write, resulting in a denial of service. (CVE-2026-33900)
It was discovered that ImageMagick did not properly handle the column
offset when sampling an image. An attacker could possibly use this issue to
cause ImageMagick to read out of bounds, 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, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.
(CVE-2026-33905)
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 26.04 LTS resolute | 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-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.q16-5 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 | |||
| libmagick++-7.q16-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 | |||
| libmagick++-7.q16hdri-5 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 | |||
| libmagick++-7.q16hdri-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 | |||
| libmagickcore-7-arch-config – 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.q16-dev – 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 | |||
| libmagickcore-7.q16hdri-dev – 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.q16-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 | |||
| libmagickwand-7.q16hdri-10 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 | |||
| libmagickwand-7.q16hdri-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm1 | |||
| 24.04 LTS noble | imagemagick-6-common – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | ||
| imagemagick-6.q16 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| imagemagick-6.q16hdri – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libimage-magick-q16-perl – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libimage-magick-q16hdri-perl – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagick++-6.q16-9t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagick++-6.q16-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagick++-6.q16hdri-9t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagick++-6.q16hdri-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickcore-6.q16-7-extra – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickcore-6.q16-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickcore-6.q16-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickcore-6.q16hdri-7-extra – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickcore-6.q16hdri-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickcore-6.q16hdri-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickwand-6-headers – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickwand-6.q16-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickwand-6.q16-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickwand-6.q16hdri-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| libmagickwand-6.q16hdri-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 | |||
| 22.04 LTS jammy | imagemagick-6-common – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | ||
| imagemagick-6.q16 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| imagemagick-6.q16hdri – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libimage-magick-q16-perl – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libimage-magick-q16hdri-perl – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagick++-6.q16-8 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagick++-6.q16-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagick++-6.q16hdri-8 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagick++-6.q16hdri-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickcore-6-arch-config – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickcore-6.q16-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickcore-6.q16-6-extra – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickcore-6.q16-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickcore-6.q16hdri-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickcore-6.q16hdri-6-extra – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickcore-6.q16hdri-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickwand-6.q16-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickwand-6.q16-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickwand-6.q16hdri-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| libmagickwand-6.q16hdri-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 | |||
| 20.04 LTS focal | imagemagick-6-common – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | ||
| imagemagick-6.q16 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| imagemagick-6.q16hdri – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libimage-magick-q16-perl – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libimage-magick-q16hdri-perl – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagick++-6.q16-8 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagick++-6.q16-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagick++-6.q16hdri-8 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagick++-6.q16hdri-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickcore-6.q16-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickcore-6.q16-6-extra – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickcore-6.q16-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickcore-6.q16hdri-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickcore-6.q16hdri-6-extra – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickcore-6.q16hdri-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickwand-6.q16-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickwand-6.q16-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickwand-6.q16hdri-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| libmagickwand-6.q16hdri-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 | |||
| 18.04 LTS bionic | imagemagick-6-common – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | ||
| imagemagick-6.q16 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| imagemagick-6.q16hdri – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libimage-magick-q16-perl – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libimage-magick-q16hdri-perl – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagick++-6.q16-7 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagick++-6.q16-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagick++-6.q16hdri-7 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagick++-6.q16hdri-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickcore-6.q16-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickcore-6.q16-3-extra – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickcore-6.q16-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickcore-6.q16hdri-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickcore-6.q16hdri-3-extra – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickcore-6.q16hdri-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickwand-6.q16-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickwand-6.q16-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickwand-6.q16hdri-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| libmagickwand-6.q16hdri-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 | |||
| 16.04 LTS xenial | imagemagick-6.q16 – 8:6.8.9.9-7ubuntu5.16+esm22 | ||
| imagemagick-common – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| libimage-magick-q16-perl – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| libmagick++-6.q16-5v5 – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| libmagick++-6.q16-dev – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| libmagickcore-6.q16-2 – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| libmagickcore-6.q16-2-extra – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| libmagickcore-6.q16-dev – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| libmagickwand-6.q16-2 – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| libmagickwand-6.q16-dev – 8:6.8.9.9-7ubuntu5.16+esm22 | |||
| 14.04 LTS trusty | imagemagick – 8:6.7.7.10-6ubuntu3.13+esm23 | ||
| imagemagick-common – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
| libmagick++-dev – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
| libmagick++5 – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
| libmagickcore-dev – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
| libmagickcore5 – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
| libmagickcore5-extra – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
| libmagickwand-dev – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
| libmagickwand5 – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
| perlmagick – 8:6.7.7.10-6ubuntu3.13+esm23 | |||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.