CVE-2026-28687
C# vulnerability analysis and mitigation

Overview

CVE-2026-28687 is a heap use-after-free vulnerability in ImageMagick's MSL (Magick Scripting Language) decoder that allows a remote attacker to trigger access to freed memory by supplying a crafted MSL file, resulting in a denial of service. It affects ImageMagick versions prior to 6.9.13-41 (6.x branch) and versions 7.0.0-0 through 7.1.2-15 (7.x branch), as well as Magick.NET NuGet packages prior to 14.10.4. The vulnerability was published on March 9, 2026, with patches released the same day. It carries a CVSS v3.1 base score of 5.3 (Medium) (GitHub Advisory, Red Hat).

Technical details

The root cause is a heap use-after-free (CWE-416 / CWE-825) in ImageMagick's MSL decoder, where memory is accessed after it has been freed during the parsing of MSL files. An attacker can exploit this by crafting a malicious MSL file that triggers the decoder to dereference a freed heap pointer, as confirmed by AddressSanitizer output showing a READ of size 8 at a freed address (0x527000011550). The attack vector is network-based, requires no privileges and no user interaction, and the only precondition is that the target application processes attacker-supplied MSL files. The vulnerability was reported by researcher ylwango613 (GitHub Advisory, Red Hat Bugzilla).

Impact

Successful exploitation causes a denial of service condition by crashing or destabilizing the ImageMagick process through access to freed heap memory. There is no known confidentiality or integrity impact — the CVSS assessment assigns no confidentiality or integrity loss, only low availability impact. Applications that accept and process user-supplied MSL files (e.g., web services using ImageMagick for image conversion) are the primary at-risk assets; lateral movement or data exfiltration are not associated with this vulnerability (GitHub Advisory, Red Hat).

Mitigation and workarounds

Upgrade ImageMagick to version 6.9.13-41 or later (6.x branch) or 7.1.2-16 or later (7.x branch). For .NET users, upgrade Magick.NET NuGet packages to version 14.10.4 or later. As a workaround where patching is not immediately possible, restrict or disable processing of MSL files from untrusted external sources, and consider sandboxing image processing operations. Debian, SUSE/openSUSE, and Amazon Linux 2 have also issued distribution-level security updates addressing this CVE (GitHub Advisory, Red Hat Bugzilla).

Community reactions

The vulnerability received routine coverage from Linux distribution security channels including Debian, SUSE/openSUSE, and Amazon Linux, which issued advisories and updated packages. Detection plugins were published by Tenable (Nessus) and Qualys shortly after disclosure. No notable researcher commentary or significant social media discussion beyond automated CVE tracking posts has been observed (Feedly).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-p5rm-jg5c-8c77MEDIUM6.1
  • C# logoC#
  • Microsoft.OpenApi.Kiota
NoYesJul 24, 2026
CVE-2026-62946MEDIUM5.1
  • C# logoC#
  • Magick.NET-Q16-AnyCPU
NoYesJul 24, 2026
CVE-2026-62363MEDIUM5
  • C# logoC#
  • Magick.NET-Q16-HDRI-OpenMP-arm64
NoYesJul 24, 2026
CVE-2026-62343MEDIUM4.7
  • C# logoC#
  • Magick.NET-Q16-OpenMP-arm64
NoYesJul 24, 2026
GHSA-464c-974j-9xm6LOW3.3
  • JavaScript logoJavaScript
  • @aws-cdk/aws-codebuild
NoYesJul 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management