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).

Exploitability

No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.039–0.061%, placing it in the 19th percentile for exploitation likelihood within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (Github Advisory, Feedly).

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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

imagemagick: 8:6.9.11.60+dfsg-1.6+deb12u8

Fixed

sid

imagemagick: 8:7.1.2.16+dfsg1-1

Fixed

trixie

imagemagick: 8:7.1.1.43+dfsg1-1+deb13u7

Fixed

Ubuntu

Unknown

bionic (esm-infra)

imagemagick

Unknown

devel

imagemagick

Unknown

focal (esm-apps)

imagemagick

Unknown

jammy

imagemagick

Unknown

jammy (esm-apps)

imagemagick

Unknown

noble

imagemagick

Unknown

noble (esm-apps)

imagemagick

Unknown

resolute

imagemagick

Unknown

RHEL / CentOS

Unknown

Alpine

Fixed

edge

imagemagick: 7.1.2.17-r0

Fixed

v3.23

imagemagick: 7.1.2.17-r0

Fixed

Source: This report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-96235HIGH8.8
  • C# logoC#
  • Microsoft.WindowsDesktop.App.Runtime.win-x64
NoYesOct 13, 2026
CVE-2026-96236HIGH7.5
  • C# logoC#
  • dotnet6
NoYesOct 13, 2026
CVE-2026-62847MEDIUM6
  • C# logoC#
  • Metalama.Tool
NoYesOct 14, 2026
CVE-2026-92707MEDIUM5.3
  • C# logoC#
  • dotnet10-runtime
NoYesOct 15, 2026
CVE-2026-96234MEDIUM5.3
  • C# logoC#
  • Microsoft.WindowsDesktop.App.Runtime.win-arm64
NoYesOct 13, 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

Additional Wiz resources

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