USN-9314-1: ImageMagick vulnerabilities
It was discovered that ImageMagick incorrectly handled recursion when processing certain MSL, XML, and XMP data. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service. These issues only affected Ubuntu 22.04 LTS. (CVE-2026-25971, CVE-2026-33908, CVE-2026-107208)
It was discovered that ImageMagick incorrectly handled memory when processing certain images, leading to out-of-bounds writes and a use-after- free. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. These issues only affected Ubuntu 22.04 LTS. (CVE-2026-33899, CVE-2026-33901, CVE-2026-42050, CVE-2026-46520, CVE-2026-46521, CVE-2026-46523, CVE-2026-46559)
It was discovered that ImageMagick incorrectly handled certain images and image operations, leading to out-of-bounds reads. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or obtain sensitive information. These issues only affected Ubuntu 22.04 LTS. (CVE-2026-42326, CVE-2026-45358, CVE-2026-45359, CVE-2026-45624)
It was discovered that ImageMagick did not enforce the list length security policy when decoding certain PSD and MNG images. An attacker could possibly use these issues to cause ImageMagick to use excessive resources, leading to a denial of service. These issues only affected Ubuntu 22.04 LTS. (CVE-2026-45031, CVE-2026-45664)
It was discovered that ImageMagick incorrectly handled certain MIFF images, leading to an infinite loop. An attacker could possibly use this issue to cause ImageMagick to use excessive resources, leading to a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2026-46522)
It was discovered that ImageMagick incorrectly handled memory when dithering certain images with masks and when decoding certain ICON images, leading to out-of-bounds writes. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. These issues only affected Ubuntu 26.04 LTS. (CVE-2026-48724, CVE-2026-53461)
It was discovered that ImageMagick incorrectly handled certain MVG and DCM images, and certain arguments to the distort operation. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service. These issues only affected Ubuntu 22.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48734, CVE-2026-49218, CVE-2026-53463)
It was discovered that ImageMagick incorrectly handled certain MAT images on 32-bit systems, leading to a heap-based buffer overflow. 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 only affected Ubuntu 22.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48994)
It was discovered that ImageMagick incorrectly parsed certain filenames. An attacker could possibly use this issue to bypass the security policy and read restricted files through symbolic links. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-49219)
It was discovered that ImageMagick did not limit certain memory requests, and leaked memory when handling invalid command-line options. An attacker could possibly use these issues to cause ImageMagick to use excessive memory, leading to a denial of service. These issues only affected Ubuntu 26.04 LTS. (CVE-2026-53460, CVE-2026-53464)
It was discovered that ImageMagick incorrectly handled certain XCF images, leading to an integer overflow and an out-of-bounds read. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. (CVE-2026-53466)
It was discovered that ImageMagick did not initialize all pixels when decoding certain MNG images. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-53467)
It was discovered that ImageMagick incorrectly handled certain MVG images and certain JP2 encoder arguments, leading to heap-based buffer overflows. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. These issues only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-55577, CVE-2026-55597)
It was discovered that ImageMagick did not limit recursion depth when processing certain MVG images. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-55594)
It was discovered that ImageMagick incorrectly handled certain arguments to the connected-components operation, leading to an infinite loop. An attacker could possibly use this issue to cause ImageMagick to use excessive resources, leading to a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-55595)
It was discovered that ImageMagick did not correctly enforce the security policy for certain paths. An attacker could possibly use these issues to bypass the security policy and read or write arbitrary files. (CVE-2026-55628, CVE-2026-56377)
It was discovered that ImageMagick incorrectly handled large binomial kernel values, leading to a division by zero. An attacker could possibly use this issue to cause ImageMagick to crash, 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-56363)
It was discovered that ImageMagick did not free memory when writing certain MNG images failed. An attacker could possibly use this issue to cause ImageMagick to use excessive memory, leading to a denial of service. (CVE-2026-56365)
It was discovered that ImageMagick incorrectly handled memory allocation failures when processing certain images with the meta coder, leading to a use-after-free. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-56376)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/imagemagick-7-commonto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/imagemagick-7.q16to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/imagemagick-7.q16hdrito a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libimage-magick-perlto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libimage-magick-q16-perlto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libimage-magick-q16hdri-perlto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-7-headersto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-7.q16-5to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-7.q16hdri-5to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-7-arch-configto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-7-headersto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-7.q16-10to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-7.q16-10-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-7.q16hdri-10to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-7.q16hdri-10-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-7-headersto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-7.q16-10to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-7.q16hdri-10to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/perlmagickto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/imagemagick-6-commonto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/imagemagick-6.q16to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/imagemagick-6.q16hdrito a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-6-headersto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-6.q16-9t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-6.q16hdri-9t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6-arch-configto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6-headersto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16-7-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16-7t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16hdri-7-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16hdri-7t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-6-headersto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-6.q16-7t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-6.q16hdri-7t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/imagemagick-commonto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-6.q16-8to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-6.q16hdri-8to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16-6to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16-6-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16hdri-6to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16hdri-6-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-6.q16-6to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-6.q16hdri-6to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-6.q16-7to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-6.q16hdri-7to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16-3to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16-3-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16hdri-3to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16hdri-3-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-6.q16-3to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-6.q16hdri-3to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++-6.q16-5v5to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16-2to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore-6.q16-2-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand-6.q16-2to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagick++5to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore5to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickcore5-extrato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmagickwand5to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.7.7.10-6ubuntu3.13+esm28 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.8.9.9-7ubuntu5.16+esm27 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm19 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm17 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm17 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm16 - Upgrade
Upgrade
ubuntu/imagemagickto a version that resolves this vulnerability.Fixed in 8:7.1.2.18+dfsg1-1ubuntu0.1~esm5
Event History
Child vulnerabilities
Contains the following vulnerabilities.
- CVE-2026-107208
- CVE-2026-25971
- CVE-2026-33899
- CVE-2026-33901
- CVE-2026-33908
- CVE-2026-42050
- CVE-2026-42326
- CVE-2026-45031
- CVE-2026-45358
- CVE-2026-45359
- CVE-2026-45624
- CVE-2026-45664
- CVE-2026-46520
- CVE-2026-46521
- CVE-2026-46522
- CVE-2026-46523
- CVE-2026-46559
- CVE-2026-48724
- CVE-2026-48734
- CVE-2026-48994
- CVE-2026-49218
- CVE-2026-49219
- CVE-2026-53460
- CVE-2026-53461
- CVE-2026-53463
- CVE-2026-53464
- CVE-2026-53466
- CVE-2026-53467
- CVE-2026-55577
- CVE-2026-55594
- CVE-2026-55595
- CVE-2026-55597
- CVE-2026-55628
- CVE-2026-56363
- CVE-2026-56365
- CVE-2026-56376
- CVE-2026-56377
- UBUNTU-CVE-2026-107208
- UBUNTU-CVE-2026-25971
- UBUNTU-CVE-2026-33899
- UBUNTU-CVE-2026-33901
- UBUNTU-CVE-2026-33908
- UBUNTU-CVE-2026-42050
- UBUNTU-CVE-2026-42326
- UBUNTU-CVE-2026-45031
- UBUNTU-CVE-2026-45358
- UBUNTU-CVE-2026-45359
- UBUNTU-CVE-2026-45624
- UBUNTU-CVE-2026-45664
- UBUNTU-CVE-2026-46520
- UBUNTU-CVE-2026-46521
- UBUNTU-CVE-2026-46522
- UBUNTU-CVE-2026-46523
- UBUNTU-CVE-2026-46559
- UBUNTU-CVE-2026-48724
- UBUNTU-CVE-2026-48734
- UBUNTU-CVE-2026-48994
- UBUNTU-CVE-2026-49218
- UBUNTU-CVE-2026-49219
- UBUNTU-CVE-2026-53460
- UBUNTU-CVE-2026-53461
- UBUNTU-CVE-2026-53463
- UBUNTU-CVE-2026-53464
- UBUNTU-CVE-2026-53466
- UBUNTU-CVE-2026-53467
- UBUNTU-CVE-2026-55577
- UBUNTU-CVE-2026-55594
- UBUNTU-CVE-2026-55595
- UBUNTU-CVE-2026-55597
- UBUNTU-CVE-2026-55628
- UBUNTU-CVE-2026-56363
- UBUNTU-CVE-2026-56365
- UBUNTU-CVE-2026-56376
- UBUNTU-CVE-2026-56377
Frequently Asked Questions
Which deployments are in scope?
The issues only affect Ubuntu 22.04 LTS. Exposure is relevant where ImageMagick or one of the listed related packages is installed and processes image, MSL, XML, or XMP content.
What would an attacker need to provide?
An attacker would need to cause ImageMagick to process specially crafted MSL, XML, XMP, or image data, depending on the CVE. The supplied data can trigger recursion errors, out-of-bounds memory access, or use-after-free conditions.
What is the potential impact?
Successful exploitation can crash ImageMagick, causing denial of service. Some memory-handling issues may also permit arbitrary code execution, while out-of-bounds reads may expose sensitive information.
Does the notice provide fixed package versions or temporary mitigations?
No fixed versions or interim workarounds are included in the provided notice data. The affected Ubuntu release is identified as Ubuntu 22.04 LTS.