Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local vector with high complexity to trigger malloc failure; no privileges needed to submit image input; availability-only, low-severity impact with no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the MIFF encoder that occurs when a memory allocation fails during MIFF image processing, which can lead to denial of service.
AnalysisAI
Memory leak in ImageMagick's MIFF encoder (CWE-401) affects the 7.x branch before 7.1.2-26 and the 6.x branch before 6.9.13-51, enabling denial of service through resource exhaustion. When a memory allocation fails during MIFF image encoding, previously allocated buffers are not released, causing memory to accumulate across repeated processing calls. The CVSS 4.0 score of 2.1 and a local attack vector (AV:L) with high complexity (AC:H) and specific prerequisites (AT:P) signal a low-priority finding with no public exploit and no CISA KEV listing.
Technical ContextAI
ImageMagick is a widely used open-source image processing toolkit supporting hundreds of image formats. The MIFF (Magick Image File Format) is a native ImageMagick lossless format used for intermediate processing and storage. CWE-401 (Missing Release of Memory after Effective Lifetime) describes a class of bugs where error-handling code paths - in this case, triggered by a malloc() or equivalent allocation failure inside the MIFF encoder - fail to free previously allocated structures before returning. This creates a cumulative leak: each failed encoding attempt that goes through the affected code path retains heap memory that is never reclaimed. Both the 6.x legacy branch and the 7.x stable branch are affected, as indicated by the CPE strings cpe:2.3:a:imagemagick:imagemagick for each line.
RemediationAI
Upgrade to ImageMagick 7.1.2-26 or later on the 7.x branch, or to 6.9.13-51 or later on the 6.x branch; these are the vendor-confirmed fix versions per GHSA-r628-69v2-2f9c at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r628-69v2-2f9c. Where upgrading is not immediately feasible, disable the MIFF coder entirely via ImageMagick's policy.xml by adding the directive <policy domain="coder" rights="none" pattern="MIFF" /> - this eliminates the vulnerable code path but will break any legitimate MIFF image processing workflows. Additionally, setting resource limits in policy.xml (e.g., <policy domain="resource" name="memory" value="256MiB" />) limits the blast radius of any memory exhaustion by capping per-process allocation, though this is a containment measure, not a fix.
More in Imagemagick
View allReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
The LABEL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to read arbitrary files vi
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
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
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d
A vulnerability was found in ImageMagick. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
In ImageMagick 7.0.9-7 Q16, there is a use-after-free in the function MngInfoDiscardObject of coders/png.c, related to R
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory cor
Same weakness CWE-401 – Memory Leak
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44618
GHSA-3vp3-xrm3-4fv5