Packages
- imagemagick - Image manipulation programs and library
Details
It was discovered that ImageMagick did not correctly handle certain
memory operations. An attacker could possibly use this issue to cause
a denial of service. This issue 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-33535)
Kamil Frankowicz discovered that ImageMagick did not correctly handle
certain memory operations. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. This issue 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-33536)
It was discovered that ImageMagick did not correctly handle certain
integer arithmetic. An attacker could possibly use this issue to cause
a denial of service or execute arbitrary code. (
It was discovered that ImageMagick did not correctly handle certain
memory operations. An attacker could possibly use this issue to cause
a denial of service. This issue 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-33535)
Kamil Frankowicz discovered that ImageMagick did not correctly handle
certain memory operations. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. This issue 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-33536)
It was discovered that ImageMagick did not correctly handle certain
integer arithmetic. An attacker could possibly use this issue to cause
a denial of service or execute arbitrary code. (CVE-2026-34238)
Jake Lamberson discovered that ImageMagick did not correctly handle
certain memory operations. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. This issue 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-40310)
Junmin Zhu discovered that ImageMagick did not correctly handle certain
memory operations. An attacker could possibly use this issue to cause a
denial of service. This issue affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-40311)
It was discovered that ImageMagick did not correctly handle opening
certain MSL files. If a user or automated system were tricked into
opening a specially crafted file, an attacker could possibly cause a
denial of service. This issue affected Ubuntu 26.04 LTS. (CVE-2026-40312)
It was discovered that ImageMagick did not correctly handle certain
memory operations. An attacker could possibly use this issue to execute
arbitrary code. (CVE-2026-56361)
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 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | ||
| imagemagick-7.q16 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| imagemagick-7.q16hdri – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libimage-magick-perl – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libimage-magick-q16-perl – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libimage-magick-q16hdri-perl – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagick++-7.q16-5 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagick++-7.q16-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagick++-7.q16hdri-5 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagick++-7.q16hdri-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagick++-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickcore-7.q16-10 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickcore-7.q16-10-extra – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickcore-7.q16-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickcore-7.q16hdri-10 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickcore-7.q16hdri-10-extra – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickcore-7.q16hdri-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickcore-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickwand-7.q16-10 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickwand-7.q16-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickwand-7.q16hdri-10 – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickwand-7.q16hdri-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| libmagickwand-dev – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| perlmagick – 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3 | |||
| 24.04 LTS noble | imagemagick – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | ||
| imagemagick-6.q16 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| imagemagick-6.q16hdri – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libimage-magick-perl – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libimage-magick-q16-perl – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libimage-magick-q16hdri-perl – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagick++-6.q16-9t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagick++-6.q16-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagick++-6.q16hdri-9t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagick++-6.q16hdri-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagick++-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickcore-6.q16-7-extra – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickcore-6.q16-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickcore-6.q16-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickcore-6.q16hdri-7-extra – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickcore-6.q16hdri-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickcore-6.q16hdri-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickcore-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickwand-6.q16-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickwand-6.q16-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickwand-6.q16hdri-7t64 – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickwand-6.q16hdri-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| libmagickwand-dev – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| perlmagick – 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | |||
| 22.04 LTS jammy | imagemagick – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | ||
| imagemagick-6.q16 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| imagemagick-6.q16hdri – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libimage-magick-perl – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libimage-magick-q16-perl – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libimage-magick-q16hdri-perl – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagick++-6.q16-8 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagick++-6.q16-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagick++-6.q16hdri-8 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagick++-6.q16hdri-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagick++-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickcore-6.q16-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickcore-6.q16-6-extra – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickcore-6.q16-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickcore-6.q16hdri-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickcore-6.q16hdri-6-extra – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickcore-6.q16hdri-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickcore-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickwand-6.q16-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickwand-6.q16-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickwand-6.q16hdri-6 – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickwand-6.q16hdri-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| libmagickwand-dev – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| perlmagick – 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | |||
| 20.04 LTS focal | imagemagick – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | ||
| imagemagick-6.q16 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| imagemagick-6.q16hdri – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libimage-magick-perl – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libimage-magick-q16-perl – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libimage-magick-q16hdri-perl – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagick++-6.q16-8 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagick++-6.q16-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagick++-6.q16hdri-8 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagick++-6.q16hdri-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagick++-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickcore-6.q16-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickcore-6.q16-6-extra – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickcore-6.q16-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickcore-6.q16hdri-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickcore-6.q16hdri-6-extra – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickcore-6.q16hdri-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickcore-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickwand-6.q16-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickwand-6.q16-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickwand-6.q16hdri-6 – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickwand-6.q16hdri-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| libmagickwand-dev – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| perlmagick – 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | |||
| 18.04 LTS bionic | imagemagick – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | ||
| imagemagick-6.q16 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| imagemagick-6.q16hdri – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libimage-magick-perl – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libimage-magick-q16-perl – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libimage-magick-q16hdri-perl – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagick++-6.q16-7 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagick++-6.q16-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagick++-6.q16hdri-7 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagick++-6.q16hdri-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagick++-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickcore-6.q16-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickcore-6.q16-3-extra – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickcore-6.q16-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickcore-6.q16hdri-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickcore-6.q16hdri-3-extra – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickcore-6.q16hdri-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickcore-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickwand-6.q16-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickwand-6.q16-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickwand-6.q16hdri-3 – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickwand-6.q16hdri-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| libmagickwand-dev – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| perlmagick – 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | |||
| 16.04 LTS xenial | imagemagick – 8:6.8.9.9-7ubuntu5.16+esm25 | ||
| imagemagick-6.q16 – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libimage-magick-perl – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libimage-magick-q16-perl – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagick++-6.q16-5v5 – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagick++-6.q16-dev – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagick++-dev – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagickcore-6.q16-2 – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagickcore-6.q16-2-extra – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagickcore-6.q16-dev – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagickcore-dev – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagickwand-6.q16-2 – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagickwand-6.q16-dev – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| libmagickwand-dev – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| perlmagick – 8:6.8.9.9-7ubuntu5.16+esm25 | |||
| 14.04 LTS trusty | imagemagick – 8:6.7.7.10-6ubuntu3.13+esm26 | ||
| libmagick++-dev – 8:6.7.7.10-6ubuntu3.13+esm26 | |||
| libmagick++5 – 8:6.7.7.10-6ubuntu3.13+esm26 | |||
| libmagickcore-dev – 8:6.7.7.10-6ubuntu3.13+esm26 | |||
| libmagickcore5 – 8:6.7.7.10-6ubuntu3.13+esm26 | |||
| libmagickcore5-extra – 8:6.7.7.10-6ubuntu3.13+esm26 | |||
| libmagickwand-dev – 8:6.7.7.10-6ubuntu3.13+esm26 | |||
| libmagickwand5 – 8:6.7.7.10-6ubuntu3.13+esm26 | |||
| perlmagick – 8:6.7.7.10-6ubuntu3.13+esm26 |
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.
