ImageMagick vulnerabilities
268 known CVE vulnerabilities in ImageMagick, translated and rated.
- CVE-2016-5688High
The WPG parser in ImageMagick before version 6.9.4-4 and 7.x before version 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via issues related to the SetImageExtent return-value check. This can lead to a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the ScaleCharToQuantum or SetPixelIndex functions.
- CVE-2016-4563High
The TraceStrokePolygon function in ImageMagick before version 6.9.4-0 and 7.x before version 7.0.1-2 mishandles the relationship between the BezierQuantum value and certain strokes data. This may allow remote attackers to cause a denial of service (buffer overflow and application crash) or potentially have unspecified other impact via a crafted file.
- CVE-2016-4562High
The DrawDashPolygon function in ImageMagick before 6.9.4-0 and 7.x before 7.0.1-2 mishandles calculations of certain vertices integer data, which allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted file.
- CVE-2023-34152Critical
A vulnerability was found in ImageMagick that leads to a remote code execution vulnerability in OpenBlob when the --enable-pipes option is configured.
- CVE-2017-17499Critical
ImageMagick before 6.9.9-24 and 7.x before 7.0.7-12 has a use-after-free in Magick::Image::read in Magick++/lib/Image.cpp.
- CVE-2017-15032Critical
ImageMagick version 7.0.7-2 contains a memory leak in ReadYCBCRImage in coders/ycbcr.c.
- CVE-2017-14532Critical
ImageMagick version 7.0.7-0 has a NULL Pointer Dereference in TIFFIgnoreTags in coders/tiff.c.
- CVE-2017-14138Critical
ImageMagick version 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in certain error cases, as demonstrated by VP8 errors.
- CVE-2017-13139Critical
In ImageMagick before version 6.9.9-0 and 7.x before version 7.0.6-1, there is a vulnerability in the ReadOneMNGImage function in coders/png.c that leads to an out-of-bounds read with the MNG CLIP chunk.
- CVE-2014-9826Critical
ImageMagick allows remote attackers to have unspecified impact via vectors related to error handling in sun files.
- CVE-2017-5511Critical
The coders/psd.c file in ImageMagick contains a vulnerability that allows remote attackers to leverage an improper cast, leading to a heap-based buffer overflow.
- CVE-2016-10145Critical
Off-by-one error in coders/wpg.c in ImageMagick allows remote attackers to have unspecified impact via vectors related to a string copy.
- CVE-2016-10144Critical
The coders/ipl.c file in ImageMagick contains a vulnerability that allows remote attackers to achieve unspecified impact due to a missing malloc check.
- CVE-2014-9847Critical
The jng decoder in ImageMagick version 6.8.9.9 allows remote attackers to have an unspecified impact on the system.
- CVE-2014-9846Critical
Buffer overflow in the ReadRLEImage function in coders/rle.c in ImageMagick 6.8.9.9 allows remote attackers to have unspecified impact.
- CVE-2014-9843Critical
The DecodePSDPixels function in ImageMagick 6.8.9.9 allows remote attackers to have unspecified impact via unknown vectors.
- CVE-2014-9841Critical
The ReadPSDLayers function in ImageMagick 6.8.9.9 allows remote attackers to have unspecified impact via unknown vectors, related to 'throwing of exceptions.'
- CVE-2014-9852Critical
The distribute-cache.c file in ImageMagick has an issue with re-using objects after they have been destroyed, which may allow remote attackers to cause unspecified impact.
- CVE-2016-6520Critical
Buffer overflow in enhance.c in ImageMagick before version 7.0.2-7 allows remote attackers to have unspecified impact via vectors related to pixel cache morphology.
- CVE-2016-5841Critical
Integer overflow in profile.c in ImageMagick before version 7.0.2-1 allows remote attackers to cause a denial of service (segmentation fault) or possibly execute arbitrary code via manipulation of the offset variable.
- CVE-2016-5690Critical
The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact via vectors involving the for statement in computing the pixel scaling table.
- CVE-2016-5687Critical
The VerticalFilter function in the DDS coder in ImageMagick before 6.9.4-3 and 7.x before 7.0.1-4 allows remote attackers to have unspecified impact via a crafted DDS file, which triggers an out-of-bounds read.
- CVE-2016-4564Critical
The DrawImage function in ImageMagick before 6.9.4-0 and 7.x before 7.0.1-2 contains an incorrect function call, which may lead to buffer overflow and application crash. Remote attackers can exploit this vulnerability by sending a crafted file.
- CVE-2016-3718MediumActively exploited
The HTTP and 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-3715MediumActively exploited
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-2026-109280Low
ImageMagick 7.1.0-20 before 7.1.2-32 has a use-after-free vulnerability in the -fx option when memory allocation fails during a specific operation. Attackers supplying crafted -fx expressions under memory pressure can trigger freed memory access, causing crashes or memory corruption.
- CVE-2026-109279Low
ImageMagick before 6.9.13-57 and 7.1.2-32 lacks proper synchronization when accessing the security policy, leading to a race condition between concurrent reads and writes by multiple threads, causing a heap buffer over-write. An attacker inducing concurrent security policy access can crash the application, causing denial of service.
- CVE-2026-109278Low
ImageMagick before 6.9.13-57 and 7.1.2-32 has 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 this operation under resource-constrained conditions to leak memory and degrade service availability.
- CVE-2026-109275Medium
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a code injection vulnerability in the MVG decoder when a PostScript renderer is used. Attackers can supply a crafted MVG file that, when decoded, injects code into the PostScript rendering path.
- CVE-2026-109274Low
ImageMagick before 7.1.2-32 has a time-of-check time-of-use symlink race vulnerability that allows attackers to bypass the path security policy when executing a magick script. Attackers can swap a checked path with a symlink during script execution to read files blocked by the policy.
- CVE-2026-109273Medium
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an information disclosure vulnerability in the PostScript decoder, which allocates a buffer one byte longer than the data it decoded. Attackers can supply a crafted PostScript file to expose a single uninitialized byte of memory contents.
- CVE-2026-109270Low
ImageMagick before 7.1.2-32 has a memory leak vulnerability in the -process option that allows attackers to cause unreleased memory allocations by supplying certain arguments. Repeated invocation of -process with crafted arguments can gradually exhaust memory and degrade service availability.
- CVE-2026-109269Medium
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an information disclosure vulnerability in the JPEG decoder, which performs a read that exposes uninitialized memory when handling crafted input. Attackers can supply a crafted JPEG file for processing to disclose uninitialized memory contents.
- CVE-2026-109268Low
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a use-after-free vulnerability in the PDF writer when writing CMYK images with JPEG2000 compression. A crafted CMYK image can cause freed memory to be reused, potentially crashing the process.
- CVE-2026-109265Medium
ImageMagick 7.1.1-7 before 7.1.2-32 contains a heap buffer over-read vulnerability that allows attackers to read beyond allocated memory due to incorrect string termination in XMP profiles. Attackers can supply a crafted image containing a malformed XMP profile to trigger the over-read and crash the application.
- CVE-2026-109264Low
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains uncontrolled recursion in the MVG decoder that can exhaust the program stack. An attacker controlling a file name processed by ImageMagick can trigger a stack overflow and crash the process.
- CVE-2026-109263Low
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the YUV encoder, which fails to release allocated memory when a specific operation fails. Crafted input can trigger the failing operation, leaking memory and potentially exhausting resources.
- CVE-2026-109260Low
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the PNG encoder, which does not release allocated memory when libpng initialization fails. Repeated failed PNG encoding operations can exhaust memory.
- CVE-2026-109259Medium
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an uninitialized memory read in the TGA image decoder that can expose memory contents. Attackers can supply a crafted TGA image for processing to disclose contents of uninitialized memory from the ImageMagick process.
- CVE-2026-109258Low
ImageMagick 7.1.0-20 before 7.1.2-32 contains an invalid memory free vulnerability in the fx operation that occurs when initialization of an FX runtime entry fails. This can lead to memory corruption and application crashes.
- CVE-2026-105081Low
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 does not properly account for symbolic links in the IsRightsAuthorizedByName security policy check, allowing bypass of configured policy restrictions. Local attacker can create a symlink to a policy-restricted path.
- CVE-2026-108693High
ImageMagick on Windows through 7.1.2-33 and 6.9.13-58 contains an uncontrolled search path vulnerability in NTGhostscriptEXE() that launches gswin64c.exe by bare name when Ghostscript is unregistered. Attackers can plant a malicious gswin64c.exe in the working directory to execute code with ImageMagick privileges when PDF, PostScript, or EPS files are converted.
- CVE-2026-107210Medium
ImageMagick prior to versions 7.1.2-30 and 6.9.13-55 contains a vulnerability where a crafted highly compressed MAT image can make the MAT decoder create temporary files larger than the configured security-policy limit, bypassing resource restrictions and consuming excessive disk space. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.
- CVE-2026-107209Medium
ImageMagick prior to versions 7.1.2-30 and 6.9.13-55, when built without Cairo support, contains a vulnerability where a crafted RSVG image that reaches a resource limit can cause the RSVG decoder to free image state twice and then use freed memory, crashing the process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.
- CVE-2026-107208Medium
ImageMagick prior to versions 7.1.2-30 and 6.9.13-55 contains a vulnerability where a crafted XMP profile can reach a recursion limit that is handled as a fatal condition instead of an ordinary exception, terminating the image-processing process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.
- CVE-2026-106580Medium
ImageMagick prior to versions 7.1.2-31 and 6.9.13-56 contains a vulnerability where a missing security-policy check in the CUT encoder allows a crafted local encoding operation to read data that policy should deny and can also cause a crash. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.
- CVE-2026-106579Medium
ImageMagick prior to versions 7.1.2-31 and 6.9.13-56 contains a vulnerability where a crafted image can bypass an ImageMagick security policy that uses coder as its domain, potentially allowing data prohibited by the policy to be read. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.
- CVE-2026-106578Medium
ImageMagick prior to versions 7.1.2-31 and 6.9.13-56 contains a vulnerability where a crafted image can cause an invalid memory free in the MVG decoder and crash the process. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.
- CVE-2026-106577Medium
ImageMagick prior to versions 7.1.2-31 and 6.9.13-56 contains a vulnerability where unescaped or untrimmed values can inject code into output generated by PostScript coders. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.
- CVE-2026-106576Medium
Prior to version 7.1.2-31 of ImageMagick, a crafted XMP profile can trigger excessive work while the parser determines a rational value's numerator and denominator, causing denial of service. This issue is fixed in version 7.1.2-31.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

