
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-28688 is a heap-use-after-free vulnerability in the MSL (Magick Scripting Language) encoder of ImageMagick, where a cloned image object is destroyed twice, leading to memory corruption. It affects ImageMagick versions prior to 7.1.2-16 and 6.9.13-41, as well as Magick.NET NuGet packages prior to version 14.10.4. The vulnerability was published on March 9, 2026, by researcher ylwango613, and fixed versions were released the same day. The CVSS v3.1 base score is 4.0 (Moderate) per the GitHub Security Advisory, though NVD assigned a score of 5.3 (Medium) using a network attack vector (GitHub Advisory, ImageMagick Advisory).
The root cause is a Use After Free condition (CWE-416) in the MSL encoder within MagickCore/image.c at line 1195 in the DestroyImage function. When the MSL coder processes an image, it clones the image object and subsequently destroys it twice, resulting in a heap-use-after-free detected by AddressSanitizer. Because the MSL coder does not actually support writing MSL output, the fix was to remove the write capability entirely from the MSL coder, eliminating the double-free code path. The vulnerability requires local access or the ability to supply a crafted image file to a vulnerable ImageMagick instance (ImageMagick Advisory, GitHub Advisory).
Successful exploitation of this vulnerability results in a low availability impact — specifically, it can cause a crash or abnormal termination of the ImageMagick process due to heap memory corruption. There is no confidentiality or integrity impact, as the vulnerability does not expose sensitive data or allow unauthorized data modification. The scope is limited to the affected component, and there is no known potential for lateral movement or privilege escalation from this vulnerability alone (GitHub Advisory, ImageMagick Advisory).
Users should upgrade ImageMagick to version 7.1.2-16 or later (for the 7.x branch) or 6.9.13-41 or later (for the 6.x branch). Magick.NET NuGet package users should upgrade to version 14.10.4 or later. No configuration-based workaround is documented; upgrading to a patched version is the recommended and only known remediation. Downstream distributions including Debian and SUSE have also released updated packages (ImageMagick Advisory, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."