Home › Vulnerabilities › ImageMagick
ImageMagick batch of 27 flaws: memory corruption, information leaks and denial of service in image handlers
NVD published 27 ImageMagick vulnerabilities on 2026-12-01, mostly memory-safety bugs in image decoders and encoders. The highest rating in the batch is CVSS 6.9, and none of the records state that any flaw is being exploited.
What to look into
- 27 vulnerabilities in ImageMagick: 16 medium, 11 low (CVSS up to 6.9).
- None of them is known to be exploited yet.
- Start with CVE-2026-140369 (6.9 medium): ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an information disclosure vulnerability in the MIFF decoder, which can expose uninitialized memory while decoding image data. Attackers c… An attacker without an account can exploit this over the network, without any user action.
- 15 of 27 can be attacked over the network without logging in, 15 of them without anyone clicking anything.
- Kinds of flaws: Out-of-bounds Read (×5); Out-of-bounds Write (×4); Use After Free (×4); Use of Uninitialized Resource (×3).
Key points
- 27 ImageMagick flaws published by NVD on 2026-12-01, mostly memory-safety bugs in decoders and encoders
- Highest rating is MEDIUM at CVSS 6.9: CVE-2026-140369, CVE-2026-140373 and CVE-2026-140372
- Several issues are denial of service, and some require local access or API use
- Fixed versions named: 6.9.13-61 (6.x) and 7.1.2-36 (7.x)
- The sources state no exploitation and give no workarounds
What the batch covers
The 27 records all concern ImageMagick. Most are memory-safety bugs in individual image decoders and encoders: heap buffer overflows and over-reads, use-after-free conditions, and reads of uninitialized memory. The affected handlers include MIFF, PCL, PDF, PS, XPS, HEIC, PGX, FITS, MSVG, MSL, DJVU, MAC, EXR, ICON, DOT, MPC, ASHLAR, DPX and PICT, along with a few shared components such as the image registry, splay tree, WandView and pixel export code.
The most severe records
Three records carry the batch's highest rating, MEDIUM at CVSS 6.9. CVE-2026-140369 is an information disclosure in the MIFF decoder that can expose uninitialized memory. CVE-2026-140373 is a heap buffer overflow in the PCL, PDF, PS and XPS decoders that can corrupt heap memory. CVE-2026-140372 is a heap over-read in the HEIC decoder that can crash the application or disclose adjacent heap contents. In each case the trigger is a crafted file given to ImageMagick for processing.
Denial of service and narrower issues
Most other records are rated MEDIUM at 6.3 or 5.7, or LOW at 2.0 to 2.1. Several are denial-of-service issues, including resource exhaustion in the MSVG and FITS decoders, an uninitialized pointer in the MSL decoder, and time-limit bypasses in sub image search and the -splice operation. CVE-2026-140362 causes an endless loop with an invalid -rotational-blur argument and requires control of the command-line arguments. Several LOW entries need local access or direct API use, such as ShearRotateImage, which the records say is reachable only through the API.
What the records do not say
The sources give fixed versions: 6.9.13-61 for the 6.x branch and 7.1.2-36 for the 7.x branch. Some entries apply only to 7.x. The records do not provide workarounds, configuration changes or detection guidance, and they do not confirm active exploitation.
What to do
- Upgrade ImageMagick 7.x installations to 7.1.2-36, the fixed version named in the records
- Upgrade ImageMagick 6.x installations to 6.9.13-61, the fixed version named in the records
- Prioritize systems that decode images from untrusted sources, since the top-rated flaws are triggered by crafted files
The 27 vulnerabilities
- CVE-2026-140369 6.9 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an information disclosure vulnerability in the MIFF decoder, which can expose uninitialized memory while decoding image data. Attackers can supply a crafted MIFF image for proce…
- CVE-2026-140373 6.9 ImageMagick before 7.1.2-36 and 6.x before 6.9.13-61 contains a heap buffer overflow in the PCL, PDF, PS, and XPS decoders that writes past the bounds of a heap buffer when processing crafted input. Attackers can supply a crafted image for…
- CVE-2026-140372 6.9 ImageMagick before 7.1.2-36 contains a heap buffer over-read vulnerability in the HEIC decoder that allows attackers to read beyond allocated memory by supplying crafted images. Attackers can provide a malicious HEIC file for processing to…
- CVE-2026-140367 6.9 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 expose uninitialized memory in the PGX and FITS image decoders. Attackers can supply a crafted PGX or FITS image that, when decoded, leaks uninitialized process memory contents into the…
- CVE-2026-140374 6.3 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an uncontrolled resource consumption vulnerability in the MSVG decoder, where a crafted image causes repeated embedded-image decoding and amplified intermediate output. Attacker…
- CVE-2026-140375 6.3 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a denial of service vulnerability in the FITS image decoder, where decoding a crafted FITS file causes excessive CPU consumption. Attackers can supply a crafted FITS image to an…
- CVE-2026-140378 6.3 ImageMagick before 7.1.2-36 contains an uninitialized pointer dereference vulnerability in the MSL decoder that allows attackers to crash the application by supplying crafted input. Attackers can provide a crafted MSL file for processing t…
- CVE-2026-140377 6.3 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in the image registry that occurs when the registry is used concurrently. Attackers can supply a set of crafted images that are processed concurre…
- CVE-2026-140371 6.3 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an information disclosure vulnerability in the DJVU decoder, which can expose uninitialized memory when decoding a crafted image. Attackers can supply a malicious DJVU file for…
- CVE-2026-140370 6.3 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC ima…
- CVE-2026-140363 6.3 ImageMagick before 7.1.2-36 contains a heap buffer overflow vulnerability in the EXR decoder that allows attackers to overwrite heap memory via crafted images. Attackers can supply an EXR image with large dimensions to trigger the heap ove…
- CVE-2026-140364 6.3 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-write in the ICON decoder that occurs when decoding crafted ICON images. Attackers can supply a malicious ICON file that, when processed, writes beyond heap b…
- CVE-2026-140360 6.3 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a policy bypass vulnerability in sub image search, where a missing check allows the operation to exceed the configured time limit. Attackers can supply crafted images that trigg…
- CVE-2026-140361 6.3 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 has a missing check in the -splice operation that allows the configured time limit to be bypassed. Attackers can supply a crafted argument to the -splice operation to evade time limit en…
- CVE-2026-140355 6.3 ImageMagick 7.x before 7.1.2-36 and 6.x before 6.9.13-61 contains a use after free in the DOT decoder caused by improper synchronization when multiple DOT images are decoded concurrently in a multithreaded environment. Attackers who can ca…
- CVE-2026-140362 5.7 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an infinite loop in the handling of the -rotational-blur option when an invalid argument is supplied. Attackers who can control the command-line arguments passed to ImageMagick…
- CVE-2026-140376 2.1 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in the MPC image decoder when processing a crafted MPC image together with its associated cache file. Attackers who supply such a crafted MPC imag…
- CVE-2026-140356 2.1 ImageMagick 7.x before 7.1.2-36 and 6.x before 6.9.13-61 contain a heap buffer over-read in a specific stream operation, where an integer overflow can cause reads past the end of an allocated heap buffer. A local attacker who supplies inpu…
- CVE-2026-140354 2.1 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in its splay tree implementation that occurs when a splay tree is used concurrently. Attackers able to trigger a crafted set of concurrent splay t…
- CVE-2026-140353 2.1 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-read in the WandView component that occurs when WandView is used with specific thread settings. A local attacker who can cause image processing through WandVi…
- CVE-2026-140352 2.1 ImageMagick before 7.1.2-36 contains a use after free vulnerability in the ASHLAR encoder caused by multi-threading when a specific failure occurs. Attackers can trigger the failure condition while encoding ASHLAR images to access freed me…
- CVE-2026-140351 2.1 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in its pixel export handling. An attacker can supply a crafted image that, when its pixel data is exported in a very specific situation, causes a sm…
- CVE-2026-140368 2.0 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in encoders that export pixels for 12-bit images before encoding the image data. Attackers can supply a crafted image that, when processed and encoded, tr…
- CVE-2026-140366 2.0 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the C++ readImages and montage API that writes a single zero byte past the end of a heap buffer. Attackers able to call these C++ API functions can tri…
- CVE-2026-140359 2.0 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to…
- CVE-2026-140357 2.0 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-read in the DPX encoder when it processes an image decoded from the PICT format. Attackers can supply a crafted PICT file that, when converted to DPX, causes…
- CVE-2026-140358 2.0 ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-read and a NULL pointer dereference in its draw operations. A user able to invoke specific draw operations can cause ImageMagick to read beyond a heap buffer…
Frequently asked questions
How many ImageMagick vulnerabilities were published on December 1, 2026?
27 vulnerabilities: 16 medium, 11 low, with CVSS scores up to 6.9.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-140369 (CVSS 6.9): ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an information disclosure vulnerability in the MIFF decoder, which can expose uninitialized memory while decoding image data. Attackers c…
Original records
- NVD: CVE-2026-140369
- NVD: CVE-2026-140373
- NVD: CVE-2026-140372
- NVD: CVE-2026-140367
- NVD: CVE-2026-140374
- NVD: CVE-2026-140375
- NVD: CVE-2026-140378
- NVD: CVE-2026-140377
- NVD: CVE-2026-140371
- NVD: CVE-2026-140370
- NVD: CVE-2026-140363
- NVD: CVE-2026-140364
- NVD: CVE-2026-140360
- NVD: CVE-2026-140361
- NVD: CVE-2026-140355
- NVD: CVE-2026-140362
- NVD: CVE-2026-140376
- NVD: CVE-2026-140356
- NVD: CVE-2026-140354
- NVD: CVE-2026-140353
- NVD: CVE-2026-140352
- NVD: CVE-2026-140351
- NVD: CVE-2026-140368
- NVD: CVE-2026-140366
- NVD: CVE-2026-140359
- NVD: CVE-2026-140357
- NVD: CVE-2026-140358