Summary
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 Image
Fixed packages 7
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 14.04 LTS Pro:14.04:LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm28 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm27 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15+esm19 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm17 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm17 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | imagemagick | 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm16 |
| Ubuntu · Pro 26.04 LTS Pro:26.04:LTS | imagemagick | 8:7.1.2.18+dfsg1-1ubuntu0.1~esm5 |
Vulnerabilities 37
-
High 7.5
ImageMagick has a Heap Buffer Overflow via MVG decoder
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, a heap buffer overflow occurs in the MVG decoder that could result in an out of bounds write when processing a crafte…
-
High 7.5
ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, Magick frees the memory of the XML tree via the `DestroyXMLTree()` function; however, this process is executed recurs…
-
High 7.5
ImageMagick: Heap Buffer Over-Write in IPL decoder when reading multiple images of different dimensions
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, when reading multiple images with different dimensions an out of bounds heap write can occur. This issue has been patched …
-
High 7.5CVE-2026-46522 Public exploit
ImageMagick: Infinite Loop in the MIFF decoder can lead to CPU exhaustion
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2.23 and 6.9.13-48, due to a missing check in the MIFF decoder, a crafted file could cause an infinite loop resulting in CPU exhaustion. Versi…
-
High 7.5
ImageMagick: Policy Bypass in DCM decoder could result in image with invalid dimensions
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-24, a missing check in the DCM decoder could result in an image with invalid dimensions and that could cause crashes in other …
-
High 7.5
ImageMagick: Policy Bypass can trigger out-of-Memory condition
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, a missing check for maximum memory request in AcquireAlignedMemory could trigger an out-of-Memory condition. This issue ha…
-
High 7.5
ImageMagick: Out-of-bounds write in ICON decoder due to incorrect loop
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, an incorrect loop in the ICON decoder can result in an out of bounds heap write resulting in a crash. This issue has been …
-
Medium 6.5
ImageMagick: Heap Buffer Over-Read in XCF decoder due to integer conversion overflow
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, an integer overflow in the XCF decoder can result in an out of bounds read when a crafted image is read, potentially resul…
-
Medium 6.2
ImageMagick's MSL: Stack overflow in ProcessMSLScript
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, Magick fails to check for circular references between two MSLs, leading to a stack overflow. Versions 7.1.2-15 and 6.9.13-…
-
Medium 6.2
ImageMagick: Use-After-Free in MSL decoder.
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2.23 and 6.9.13-48, a crafted MSL image can trigger a heap-use-after-free. Versions 7.1.2.23 and 6.9.13-48 fix the issue.
-
Medium 5.9
ImageMagick: Heap Buffer Over-Write in MAT decoder on 32-bit systems
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-24, a missing check of a return value could lead to a heap buffer over-write in the MAT decoder on 32-bit systems. This issue …
-
Medium 5.9
ImageMagick: Heap Buffer Overflow in ImageMagick MVG decoder
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, a heap buffer overflow occurs in the MVG decoder that could result in an out of bounds write when processing a crafted ima…
-
Medium 5.7
ImageMagick: Out-of-Bounds Read in connected components when the user supplies an invalid keep-top define
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-22, an invalid connected-components:keep-top value could result in a heap buffer over-read when performing the connected compo…
-
Medium 5.5
ImageMagick: Stack buffer overflow in XTileImage
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-21 and 6.9.13-46, a malicious MIFF file could trigger an overflow when a user opens it in the display tool and right-clicks a tile to invoke the Load…
-
Medium 5.5
ImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compression
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, when using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check. This issue has be…
-
Medium 5.5
ImageMagick: Heap Buffer Underwrite in Floyd-Steinberg depth dithering
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-24, when using an image with mask the Floyd-Steinberg dithering method it will cause a negative heap buffer over-write. This issue has been p…
-
Medium 5.5
ImageMagick: Stack Overflow in MVG decoder
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-49 and 7.1.2-24, a crafted MVG file could result in a stack overflow due to a missing depth or visited-set check. This issue has been patch…
-
Medium 5.5
ImageMagick: Policy Bypass can read disallowed files
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-24, an incorrect parsing of the filename can result in a policy bypass and read files disallowed by a security policy using a …
-
Medium 5.5
ImageMagick: Heap Buffer Over-Write in JP2 encoder when due to incorrect handling of arguments
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-26, an incorrect handling of arguments can cause a heap buffer over-write in the JP2 encoder. This issue has been fixed in version7.1.2-26.
-
Medium 5.5
ImageMagick: Policy Bypass in concatenate operation due to missing checks
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-26he, the `-concatenate` operation is missing policy checks, potentially resulting in both reading and writing to paths disallowed by the…
-
Medium 5.3
ImageMagick: Denial of service with crafted XMP profile
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-30 and 6.9.13-55, a crafted XMP profile can reach a recursion limit that is handled as a fatal condition instead of an ordinary exception, terminatin…
-
Medium 5.3
ImageMagick: Heap BufferOverflow write of single zero byte when parsing XML
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-189 and 6.9.13-44, when `Magick` parses an XML file it is possible that a single zero byte is written out of the bounds. This issue has been…
-
Medium 5.3
ImageMagick: Policy Bypass in PSD decoder
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-47 and 7.1.2-22, due to a missing check in the PSD decoder it would be possible to bypass the list-length resource policy when decoding a P…
-
Medium 5.3
ImageMagick: Out-of-Bounds Read of a single byte in meta encoder
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-47 and 7.1.2-22, an off by one in the meta encoder could result in an out of bounds read of a single byte in the meta encoder. This issue h…
-
Medium 5.3
ImageMagick: Policy Bypass in MNG coder could
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-47 and 7.1.2-22, because of a missing check in the MNG coder it would be possible to read more images than the list limit policy would allo…
-
Medium 5.3
ImageMagick: Information Disclosure in MNG decoder because allocated memory is left unchanged
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, the MNG decoder contains a possible heap information disclosure vulnerability because part of the pixels are left unchange…
-
Medium 5.3
ImageMagick: Stack Overflow in MVG decoder due to missing depth check.
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, a missing depth check in the MVG decoder will result in a stack overflow when a crafted image is provided. This issue has …
-
Medium 5.1
ImageMagick: Heap Buffer Over-Read in IPTC encoder
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-47 and 7.1.2-22, when writing an IPTC output file a malicious input file could cause an out of bounds read of a single byte. This issue has…
-
Medium 5.1
ImageMagick: Heap Buffer Over-Read of a 4 bytes in distort operation.
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-47 and 7.1.2-22, when performing a polynomial distortion an out of bounds over-read of 24 bytes can occur when specifying specific argument…
-
Medium 4.7
ImageMagick: Infinite Loop in connected-components when providing invalid arguments
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, when providing invalid arguments to the connected-components option an infinite loop will occur. This issue has been fixed…
-
Medium 4.3
ImageMagick: Null Pointer Dereference in distort operation when passing incorrect arguments
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, when passing incorrect arguments in the distort operation a null pointer deference will occur. This issue has been patched…
-
Medium 4.0
ImageMagick: Heap Buffer Over-Write of a single byte in the JP2 encoder
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, an incorrect check in the JP2 will result in an heap buffer over-write of a single byte when specifying certain options. T…
-
Medium 4.0
ImageMagick: Memory Leak in wand option parser when providing invalid arguments
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-25, when providing invalid options to the wand option parser a small memory leak will occur. This issue has been patched in version 7.1.2-25.
-
Low 3.7
ImageMagick - Memory Leak in PNG Encoder via MNG Image Writing
ImageMagick before 7.1.2-19 contains a memory leak vulnerability in the PNG encoder when writing MNG images. Attackers can trigger the encoder failure condition to exhaust memory resources and cause denial of service.
-
Low 3.7
ImageMagick - Heap Use-After-Free in Meta Coder
ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory allocation fails, a single byte is written to a stale pointer. Remote attackers can trigger it by processing specially crafted image files, causing a denia…
-
Low 3.3
ImageMagick - Division by Zero in Binomial Kernel Processing
ImageMagick before 7.1.2-22 contains a division by zero vulnerability in binomial kernel processing that allows attackers to cause denial of service. An attacker can supply a large binomial kernel value causing integer overflow, resulting in division by zero …
-
Low 3.3
ImageMagick - Policy Bypass via Incorrect Path Validation
ImageMagick before 7.1.2-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files ou…
References
-
report
https://ubuntu.com/security/CVE-2026-25971
-
report
https://ubuntu.com/security/CVE-2026-33899
-
report
https://ubuntu.com/security/CVE-2026-33901
-
report
https://ubuntu.com/security/CVE-2026-33908
-
report
https://ubuntu.com/security/CVE-2026-42050
-
report
https://ubuntu.com/security/CVE-2026-42326
-
report
https://ubuntu.com/security/CVE-2026-45031
-
report
https://ubuntu.com/security/CVE-2026-45358
-
report
https://ubuntu.com/security/CVE-2026-45359
-
report
https://ubuntu.com/security/CVE-2026-45624
-
report
https://ubuntu.com/security/CVE-2026-45664
-
report
https://ubuntu.com/security/CVE-2026-46520
-
report
https://ubuntu.com/security/CVE-2026-46521
-
report
https://ubuntu.com/security/CVE-2026-46522
-
report
https://ubuntu.com/security/CVE-2026-46523
-
report
https://ubuntu.com/security/CVE-2026-46559
-
report
https://ubuntu.com/security/CVE-2026-48724
-
report
https://ubuntu.com/security/CVE-2026-48734
-
report
https://ubuntu.com/security/CVE-2026-48994
-
report
https://ubuntu.com/security/CVE-2026-49218
-
report
https://ubuntu.com/security/CVE-2026-49219
-
report
https://ubuntu.com/security/CVE-2026-53460
-
report
https://ubuntu.com/security/CVE-2026-53461
-
report
https://ubuntu.com/security/CVE-2026-53463
-
report
https://ubuntu.com/security/CVE-2026-53464
-
report
https://ubuntu.com/security/CVE-2026-53466
-
report
https://ubuntu.com/security/CVE-2026-53467
-
report
https://ubuntu.com/security/CVE-2026-55577
-
report
https://ubuntu.com/security/CVE-2026-55594
-
report
https://ubuntu.com/security/CVE-2026-55595
-
report
https://ubuntu.com/security/CVE-2026-55597
-
report
https://ubuntu.com/security/CVE-2026-55628
-
report
https://ubuntu.com/security/CVE-2026-56363
-
report
https://ubuntu.com/security/CVE-2026-56365
-
report
https://ubuntu.com/security/CVE-2026-56376
-
report
https://ubuntu.com/security/CVE-2026-56377
-
report
https://ubuntu.com/security/CVE-2026-107208