ImageMagick
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in ImageMagick.
Known Exploited ImageMagick Vulnerabilities
The following ImageMagick vulnerabilities have been marked by CISA as Known to be Exploited by threat actors.
| Title | Description | Added |
|---|---|---|
| ImageMagick Improper Input Validation Vulnerability |
ImageMagick contains an improper input validation vulnerability that affects the EPHEMERAL, HTTPS, MVG, MSL, TEXT, SHOW, WIN, and PLT coders. This allows a remote attacker to execute arbitrary code via shell metacharacters in a crafted image. CVE-2016-3714 Exploit Probability: 97.5% |
September 9, 2024 |
| ImageMagick Ephemeral Coder Arbitrary File Deletion Vulnerability |
The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary files via a crafted image. CVE-2016-3715 Exploit Probability: 75.3% |
November 3, 2021 |
| ImageMagick SSRF Vulnerability |
The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct server-side request forgery (SSRF) attacks via a crafted image. CVE-2016-3718 Exploit Probability: 75.7% |
November 3, 2021 |
Of the known exploited vulnerabilities above, 3 are in the top 1%, or the 99th percentile of the EPSS exploit probability rankings.
By the Year
In 2026 there have been 253 vulnerabilities in ImageMagick with an average score of 5.4 out of ten. Last year, in 2025 Imagemagick had 22 security vulnerabilities published. That is, 231 more vulnerabilities have already been reported in 2026 as compared to last year. Last year, the average CVE base score was greater by 0.24
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 253 | 5.38 |
| 2025 | 22 | 5.62 |
| 2024 | 3 | 7.65 |
| 2023 | 16 | 6.11 |
| 2022 | 15 | 6.54 |
| 2021 | 16 | 4.70 |
| 2020 | 40 | 4.54 |
| 2019 | 64 | 7.06 |
| 2018 | 60 | 7.24 |
It may take a day or so for new Imagemagick vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent ImageMagick Security Vulnerabilities
ImageMagick <7.1.2-35 Heap OOB Read in BGRO Decoder
CVE-2026-130670
4.8 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a heap buffer over-read vulnerability that allows attackers to read beyond allocated memory when BGRO image data is imported. Attackers can supply crafted BGRO data for processing to crash the application or leak adjacent heap memory contents.
Out-of-bounds Read
ImageMagick < 7.1.2-35 NULL PTR Deref via -subimage (DoS)
CVE-2026-130669
4.8 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a null pointer dereference vulnerability that allows attackers to crash the process by using the -subimage option on a single-image list. Attackers can supply input producing an image list with only one image while -subimage is applied, causing a denial of service.
assertion failure
ImageMagick <7.1.2-35 DPC Compare Metric Double-Free DoS
CVE-2026-130668
2 - Low
- November 18, 2026
ImageMagick before 7.1.2-35 contains a double free vulnerability that allows attackers to trigger an invalid memory free by using the DPC compare metric. Attackers can supply images for comparison with the DPC metric to corrupt memory and crash the application, causing denial of service.
Double-free
ImageMagick <7.1.2-35 Heap Buffer Over-read in TIFF Decoder
CVE-2026-130667
4.8 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a heap buffer over-read vulnerability in the TIFF decoder that allows attackers to corrupt heap memory by supplying a crafted TIFF image. Attackers can provide a malicious TIFF file that, when encoded in a specific output format, triggers a heap buffer over-write causing memory corruption.
Out-of-bounds Read
ImageMagick < 7.1.2-35 XMP Policy Bypass DoS
CVE-2026-130666
6.9 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a policy bypass vulnerability that allows attackers to evade resource limits because a policy check is missing when reading XMP profiles. Attackers can supply an image with a crafted XMP profile to trigger excessive memory usage and cause denial of service.
Resource Exhaustion
ImageMagick <7.1.2-35 Use-After-Free in EXR Decoder
CVE-2026-130665
6.3 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a use after free vulnerability in the EXR decoder that is triggered when a specific memory allocation fails. Attackers can supply crafted EXR images processed under memory pressure to trigger the use after free, causing crashes or memory corruption.
Double-free
ImageMagick <7.1.2-35 Heap Buffer Overflow (magick stream)
CVE-2026-130664
2 - Low
- November 18, 2026
ImageMagick before 7.1.2-35 contains a heap buffer overflow vulnerability that allows attackers to write beyond allocated heap memory by supplying crafted images. Attackers can provide a crafted set of images processed by the magick stream operation to corrupt heap memory and crash the application.
Memory Corruption
ImageMagick < 7.1.2-35 RLA Decoder Info Disclosure (uninitialized data)
CVE-2026-130658
6.3 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains an information disclosure vulnerability in the RLA decoder that returns images containing uninitialized data. Attackers can supply a crafted RLA image to cause the decoded output to include uninitialized memory, potentially disclosing heap information.
Use of Uninitialized Resource
ImageMagick <7.1.2-35 Policy Bypass via Mixed Path Separators (Windows)
CVE-2026-130657
4.8 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a policy bypass vulnerability on Windows that allows attackers to evade path-based security policies by mixing forward slash and backslash separators. Attackers can supply crafted image file paths using alternate separators to read or write image files that the configured policy is intended to block.
Improper Resolution of Path Equivalence
ImageMagick <7.1.2-35 Info Disclosure via MNG Decoder (Uninit Mem Leak)
CVE-2026-130656
6.3 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains an information disclosure vulnerability in the MNG decoder that allows attackers to expose uninitialized memory by supplying a crafted image. Attackers can submit malicious MNG files for processing to leak uninitialized memory contents, potentially revealing sensitive data from the process.
Use of Uninitialized Resource
ImageMagick < 7.1.2-35 DoS in BGR/CMYK/RGB decoders
CVE-2026-130655
6.9 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a denial of service vulnerability in the BGR, CMYK, GRAY, RGB, YCBCR and YUV decoders that allows attackers to crash the application. Attackers can supply a crafted image to these decoders to trigger a crash and disrupt image processing services.
Resource Exhaustion
ImageMagick <7.1.2-35 Distributed Pixel Cache Data Tampering
CVE-2026-130654
5.1 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a data tampering vulnerability in the Distributed Pixel Cache that allows adjacent attackers to modify pixel data in transit between client and server. Attackers who can observe or modify the network path between a configured DPC client and server can tamper with pixel data to alter the resulting image.
Cleartext Transmission of Sensitive Information
ImageMagick <7.1.2-35 Policy Bypass (MPC) Allows Disallowed File Read
CVE-2026-130653
4.8 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a policy bypass vulnerability that allows attackers to read from disallowed paths due to a missing policy check when decoding MPC files. Attackers can supply crafted MPC files that reference restricted locations to access files the configured security policy should block.
AuthZ
ImageMagick <7.1.2-35 heap buffer over-read in -copy operation
CVE-2026-130652
4.8 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a heap buffer over-read vulnerability that allows attackers to read beyond allocated heap memory by triggering the -copy operation. Attackers can supply crafted images or arguments processed with -copy to crash the application or disclose adjacent heap memory contents.
Out-of-bounds Read
ImageMagick <7.1.2-35 Policy Bypass via Excessive Profile Memory Allocation DoS
CVE-2026-130659
6.9 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a policy bypass vulnerability in various coders that allows attackers to allocate excessive memory by supplying images with many profiles. Attackers can craft images containing a high number of embedded profiles to exhaust memory and cause denial of service, bypassing security policy limits.
Allocation of Resources Without Limits or Throttling
ImageMagick <7.1.2-35 Code Injection via XBM/XPM/UIL Encoders
CVE-2026-130663
5.4 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a code injection vulnerability in the MAGICK, XBM, XPM and UIL encoders that allows local attackers to inject content via crafted filenames. Attackers with access to the output directory and control over the filename can inject additional headers or code into the generated image source output.
Code Injection
ImageMagick < 7.1.2-35 UseAfterFree in MSL Decoder
CVE-2026-130662
6.3 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a use after free vulnerability in the MSL decoder that can be triggered when processing crafted MSL image files. Attackers can supply a specially crafted MSL image to cause memory corruption, potentially crashing the application or leading to further compromise.
Dangling pointer
ImageMagick <7.1.2-35 ASE Decoder Policy Bypass (DoS)
CVE-2026-130661
6.9 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a policy bypass vulnerability in the ASE decoder caused by a missing security policy check. Attackers can supply crafted ASE files that evade configured resource policies to cause excessive memory usage and denial of service.
Resource Exhaustion
ImageMagick <7.1.2-35 Heap Buffer Over-read in MVG Decoder
CVE-2026-130660
4.8 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a heap buffer over-read vulnerability in the MVG decoder that allows attackers to read out-of-bounds memory by supplying a crafted file. Attackers can provide a malicious MVG file for processing to trigger the over-read, causing application crashes or exposure of heap memory contents.
Out-of-bounds Read
ImageMagick <7.1.2-35 MSVG decoder stack overflow (DoS)
CVE-2026-130651
4.8 - Medium
- November 18, 2026
ImageMagick before 7.1.2-35 contains a stack overflow vulnerability in the MSVG decoder that allows attackers to crash the application by supplying a crafted image. Attackers can submit a malicious image for processing to exhaust the stack and terminate the application, causing denial of service.
Stack Exhaustion
ImageMagick < 7.1.2-35/6.9.13-60 SVG decoder infinite loop DoS
CVE-2026-123273
7.1 - High
- November 05, 2026
ImageMagick before 7.1.2-35 and 6.9.13-60 contains an infinite loop vulnerability in the SVG decoder because QueueAuthenticPixelCacheNexus in MagickCore/cache.c fails to validate requested region width and height. Attackers can supply a crafted SVG image that repeatedly requests a non-advancing pixel region, consuming CPU and hanging the decoding worker.
Infinite Loop
ImageMagick <7.1.2-34 heap buffer overflow in -morph
CVE-2026-119124
4.8 - Medium
- October 29, 2026
ImageMagick before 7.1.2-34 contains a heap-based buffer overflow in its -morph processing, where crafted images cause writes beyond the bounds of a heap buffer. An attacker can supply a crafted image that, when processed by a user with the -morph option, corrupts heap memory and crashes the application.
Heap-based Buffer Overflow
ImageMagick <7.1.2-34 TIFF decoder stack overflow (DoS)
CVE-2026-119123
6.3 - Medium
- October 29, 2026
ImageMagick before 7.1.2-34 contains a stack overflow vulnerability in the TIFF decoder that occurs when the DNG decoder is disabled. Attackers can supply a crafted image file for processing to trigger the stack overflow and crash the application, causing denial of service.
Stack Exhaustion
ImageMagick <6.9.13-58 & <7.1.2-33 X11 animate heap overflow
CVE-2026-116160
4.8 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a heap-based buffer overflow in the X11 animate operation when processing crafted images. Attackers can supply a malicious image that, when a user runs an X11 animate operation on it, overwrites heap memory and can crash the application.
Heap-based Buffer Overflow
ImageMagick 6.9.1358 & <7.1.233 Memory Leak in -cdl
CVE-2026-116159
4.8 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the handling of the -cdl (color decision list) option, where allocated memory is not cleaned up after use. Attackers can supply input that causes the -cdl option to be processed, repeatedly leaking memory and degrading availability through resource exhaustion.
Memory Leak
ImageMagick < 7.1.2-33 Memory Leak in magick compare leading to DoS
CVE-2026-116158
2 - Low
- October 25, 2026
ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the magick compare command caused by missing cleanup when an operation fails. Attackers can supply inputs that trigger repeated failed compare operations to exhaust memory and cause denial of service.
Memory Leak
CVE-2026-116157: ImageMagick <7.1.2-33 PerlMagick Memory Leak DoS
CVE-2026-116157
4.8 - Medium
- October 25, 2026
ImageMagick before 7.1.2-33 contains a memory leak vulnerability in PerlMagick that fails to free values returned when reading image properties. Attackers can repeatedly trigger property reads through five affected PerlMagick code locations to exhaust memory and cause denial of service.
Memory Leak
ImageMagick <=6.9.13-58 & <7.1.2-33 Memory Leak in -set profile
CVE-2026-116156
4.8 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak caused by a missing cleanup when the -set profile option is used. An attacker who induces a user to process images with the -set profile option can leak memory, potentially exhausting resources and causing a denial of service.
Memory Leak
ImageMagick <=6.9.13-58 & <7.1.2-33 XML parser memory leak DoS
CVE-2026-116154
6.9 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in its XML parsing code, where allocated memory is not released when parsing reaches the nesting depth limit. Attackers can supply crafted, deeply nested XML data to trigger the leak, causing memory exhaustion and denial of service.
Memory Leak
ImageMagick <6.9.13-58, 7.x<7.1.2-33 XMP Profile Mem Leak DoS
CVE-2026-116155
6.9 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the handling of XMP profiles by various decoders. Attackers can supply images with a crafted XMP profile that leak memory each time they are processed, leading to resource exhaustion and denial of service.
Memory Leak
ImageMagick <7.1.2-33 Heap Buffer Overflow in Convex-Hull on 32-bit
CVE-2026-116153
2 - Low
- October 25, 2026
ImageMagick before 7.1.2-33 contains a heap buffer overflow vulnerability on 32-bit systems that allows attackers to overwrite heap memory when convex-hull information is requested. Attackers can supply crafted images processed with convex-hull calculations to corrupt heap memory, causing crashes or potential code execution.
Integer Overflow or Wraparound
ImageMagick <=6.9.13-58 & <7.1.2-33 JNG encoder memory leak (DoS)
CVE-2026-116151
6.3 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the JNG encoder that fails to release allocated memory when processing a crafted image. Attackers can supply crafted images that are encoded to JNG to leak memory, potentially causing resource exhaustion and a limited denial of service.
Memory Leak
ImageMagick <7.1.2-33 Memory Leak in MAT Decoder
CVE-2026-116152
6.9 - Medium
- October 25, 2026
ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the MAT decoder that fails to release allocated memory in a specific error path. Attackers can supply crafted MAT files that trigger this error path repeatedly, causing small memory leaks that gradually consume process memory.
Memory Leak
ImageMagick <7.1.2-33 FPX encoder memory leak leads to DoS
CVE-2026-116150
2.3 - Low
- October 25, 2026
ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the FPX encoder that allows attackers to exhaust memory by supplying a crafted image. Attackers can submit crafted images for FPX encoding to leak memory repeatedly, causing resource exhaustion and denial of service.
Memory Leak
ImageMagick <6.9.13-58, 7.x <7.1.2-33 Stack Buffer Overflow in bzip2 Decoder
CVE-2026-116149
7.2 - High
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a stack-based buffer overflow in the handling of bzip2 compressed images. Attackers can supply a crafted image using bzip2 compression to overwrite stack memory during decoding, causing crashes or memory corruption.
Stack Overflow
ImageMagick <6.9.13-58 / 7.x <7.1.2-33 MVG Encoder Injection
CVE-2026-116148
4.8 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains an injection vulnerability in the MVG encoder, which does not properly neutralize user-specified drawing options before writing them into generated MVG output. Attackers who can supply drawing options can inject arbitrary MVG drawing commands into the resulting MVG file.
XSS
ImageMagick <6.9.13-58 / <7.1.2-33 DJVU decoder NPE DoS
CVE-2026-116147
6.3 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a null pointer dereference in the DJVU decoder because the result of a memory allocation is not checked before use. Attackers can supply a DJVU image that, when processed under conditions where the allocation fails, crashes the process and causes a denial of service.
NULL Pointer Dereference
ImageMagick <6.9.13-58, <7.1.2-32 Policy Bypass
CVE-2026-116145
1.8 - Low
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-32 contains a security policy bypass caused by an incomplete fix for the policy bypass reported in GHSA-jjp4-3fwf-393j. An attacker able to supply input to ImageMagick can evade configured security policy restrictions, allowing operations the policy was intended to block.
Protection Mechanism Failure
ImageMagick <6.9.13-58, <7.1.2-33 MSL decoder memory leak DoS
CVE-2026-116146
6.3 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the MSL decoder that fails to release allocated memory when processing a crafted MSL image. Attackers can supply crafted MSL files for processing to repeatedly leak memory, causing resource exhaustion and denial of service.
Memory Leak
ImageMagick <6.9.13-58 & 7.x<7.1.2-33> Stack Overflow in MVG Decoder
CVE-2026-116144
4.8 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains uncontrolled recursion in the MVG decoder that can lead to a stack overflow. Attackers can supply a crafted MVG file that, when read with specific arguments, exhausts the stack and crashes the process, causing a denial of service.
Stack Exhaustion
ImageMagick <7.1.2-33 Heap OOB Read in MinBoundingBox
CVE-2026-116142
4.8 - Medium
- October 25, 2026
ImageMagick before 7.1.2-33 contains a heap buffer over-read vulnerability that allows attackers to read beyond allocated memory when printing a minimum-bounding-box. Attackers can supply a crafted image that triggers the over-read during minimum-bounding-box output, causing crashes or exposing adjacent heap memory.
Out-of-bounds Read
ImageMagick <6.9.13-58, <7.1.2-33 PS/PDF/XPS Decoders Policy Bypass
CVE-2026-116143
4.8 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a policy bypass in the PS, PDF and XPS decoders that allows the security policy's list length limit on scene selection to be circumvented. Attackers supplying a specific argument can cause ImageMagick to process more scenes than permitted, potentially exhausting resources.
Allocation of Resources Without Limits or Throttling
ImageMagick <7.1.2-33 UHDR Decoder Policy Bypass
CVE-2026-116141
6.9 - Medium
- October 25, 2026
ImageMagick before 7.1.2-33 contains a policy bypass vulnerability in the UHDR decoder that allows attackers to evade image width and height limits because extent checks occur after decoding. Attackers can supply crafted UHDR images with oversized dimensions that are fully decoded before policy limits are enforced, causing excessive resource consumption.
Resource Exhaustion
ImageMagick <6.9.13-58 & <7.1.2-33 Delegate Exec Bypass
CVE-2026-116140
4.8 - Medium
- October 25, 2026
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 incorrectly parses delegate invocations, which can allow an executable blocked in policy.xml to still run. An attacker who gets ImageMagick to process input that triggers a delegate invocation can bypass the administrator-defined policy and execute the blocked program.
AuthZ
ImageMagick <7.1.2-33 / <6.9.13-58 heap underwrite in DecodeImage (pict.c)
CVE-2026-109964
6.3 - Medium
- October 13, 2026
ImageMagick before 7.1.2-33 and 6.9.13-58 contains a heap buffer underwrite vulnerability in DecodeImage() in coders/pict.c on 32-bit builds due to pointer arithmetic overflow. Attackers can supply a crafted PICT file with maximized row, column and bytes-per-line values to bypass bounds checks and write up to 128 controlled bytes below the heap buffer, causing crashes or code execution.
buffer underrun
ImageMagick 6.9.13-57/7.1.2-32 Type Confusion in INFO/JSON/YAML Encoders DoS
CVE-2026-109282
2 - Low
- October 12, 2026
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a type confusion flaw in the INFO, JSON and YAML encoders, where an internal method receives a pointer of an unexpected type when writing an image in a compressed format. An attacker who can cause such an image write can trigger a SIGABRT or SIGSEGV, crashing the process and causing denial of service.
Object Type Confusion
ImageMagick before 7.1.2-32 Heap Buffer Over-read via -fx
CVE-2026-109281
4.8 - Medium
- October 12, 2026
ImageMagick 7.1.0-21 before 7.1.2-32 contains a heap buffer over-read in its handling of the -fx option, where a certain -fx operation reads beyond the bounds of an allocated heap buffer in specific situations. Attackers who can get a crafted -fx expression processed can read out-of-bounds heap memory, potentially disclosing limited memory contents.
Out-of-bounds Read
ImageMagick <7.1.2-32 Use-After-Free in -fx Option (UAF)
CVE-2026-109280
2 - Low
- October 12, 2026
ImageMagick 7.1.0-20 before 7.1.2-32 contains a use after free vulnerability in the -fx option that occurs when a memory allocation fails during a specific operation. Attackers who can supply crafted -fx expressions under memory pressure can trigger freed memory access, causing crashes or memory corruption.
NULL Pointer Dereference
ImageMagick <6.9.13-57 & <7.1.2-32 Race Condition Heap Overwrite
CVE-2026-109279
2 - Low
- October 12, 2026
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 lacks proper synchronization when the security policy is accessed, so simultaneous reads and writes of the policy by multiple threads trigger a race condition that causes a heap buffer over-write. An attacker able to induce concurrent security policy access can crash the application, causing a denial of service.
Race Condition
ImageMagick < 6.9.13-57 / < 7.1.2-32 Memory Leak in Wavelet-Denoise
CVE-2026-109278
6.3 - Medium
- October 12, 2026
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the wavelet-denoise operation, which fails to release allocated memory when a required resource cannot be acquired. Attackers can repeatedly trigger wavelet-denoise processing under resource-constrained conditions to leak memory and degrade service availability.
Memory Leak
Stay on top of Security Vulnerabilities
Want an email whenever new vulnerabilities are published for ImageMagick or by ImageMagick? Click the Watch button to subscribe.