CVE-2026-26283: 
C# vulnerability analysis and mitigation

Overview

CVE-2026-26283 is a Denial of Service vulnerability in ImageMagick's JPEG encoder caused by an infinite loop triggered by a crafted image. A continue statement in the JPEG extent binary search loop fails to provide a reachable exit condition when writing persistently fails, resulting in 100% CPU consumption and a process hang. It affects ImageMagick versions prior to 7.1.2-15 (7.x branch) and prior to 6.9.13-40 (6.9.x branch), as well as Magick.NET NuGet packages prior to version 14.10.3. The vulnerability was published on February 23–24, 2026. The GitHub Security Advisory assigns a CVSS v3.1 score of 6.2 (Moderate) with a local attack vector, while NVD scores it 7.5 (High) with a network attack vector (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-835 (Loop with Unreachable Exit Condition / Infinite Loop). Within the JPEG encoder's binary search loop used to satisfy the jpeg:extent option, a continue statement is reached when a write operation persistently fails, causing the loop to iterate indefinitely without ever reaching its exit condition. An attacker can exploit this by supplying a specially crafted image to any application or service that processes images using a vulnerable ImageMagick version, requiring no privileges or user interaction. The fix is tracked in commit c448c69 in the ImageMagick repository (GitHub Advisory, Github Advisory).

Impact

Successful exploitation results in a Denial of Service: the affected ImageMagick process consumes 100% of CPU and hangs indefinitely, effectively disabling any service or application that relies on it for image processing. There is no impact on confidentiality or data integrity — the vulnerability is purely an availability issue. In environments where ImageMagick is used as a shared service or integrated into web applications for image upload/conversion, exploitation could render the entire image processing pipeline unavailable (GitHub Advisory, Red Hat Bugzilla).

Exploitability

There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation as of the time of reporting (Github Advisory). The EPSS score is approximately 0.013% (0.02% per GitHub Advisory), placing it in the 6th 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.

Exploitation steps

  1. Craft a malicious image: Create or modify a JPEG image file specifically designed to trigger persistent write failures in ImageMagick's JPEG extent binary search loop during encoding.
  2. Identify a target: Locate a system or web application running a vulnerable version of ImageMagick (prior to 7.1.2-15 or 6.9.13-40) that accepts user-supplied images for processing (e.g., image upload endpoints, conversion services).
  3. Submit the crafted image: Upload or pass the crafted image to the target application or directly invoke ImageMagick with the jpeg:extent option and the malicious file (e.g., convert malicious.jpg -define jpeg:extent=<value> output.jpg).
  4. Trigger the infinite loop: ImageMagick's JPEG encoder enters the binary search loop; the continue statement is reached upon persistent write failure, causing the process to loop indefinitely with 100% CPU consumption.
  5. Achieve DoS: The ImageMagick process hangs, consuming all available CPU on the affected core, degrading or completely disrupting the image processing service (GitHub Advisory).

Indicators of compromise

  • Process: ImageMagick process (convert, magick, or application worker) consuming 100% CPU for an extended, abnormal duration with no completion.
  • Logs: Application or system logs showing image processing jobs that never complete or time out; repeated or stalled JPEG conversion tasks involving the jpeg:extent option.
  • System: Elevated load average on the host system correlated with image processing activity; process monitoring tools (e.g., top, htop) showing a stuck ImageMagick process.
  • Network (for web-facing services): Repeated HTTP requests submitting JPEG images to upload or conversion endpoints, potentially from a single source IP, followed by service degradation or timeout responses.

Mitigation and workarounds

Upgrade ImageMagick to version 7.1.2-15 or later (7.x branch) or 6.9.13-40 or later (6.9.x branch). For .NET users, upgrade Magick.NET NuGet packages to version 14.10.3 or later. Linux distribution users should apply vendor-provided security updates (patches have been issued for Debian, SUSE, and Amazon Linux 2). If immediate patching is not possible, restrict local and network access to systems running vulnerable ImageMagick versions, implement resource limits (e.g., CPU time limits via ulimit or container resource constraints) on image processing processes, and monitor for abnormal CPU consumption patterns (GitHub Advisory, Red Hat Bugzilla).

Community reactions

The vulnerability was reported by researcher ylwango613 and published by ImageMagick maintainer dlemstra via GitHub Security Advisory on February 23, 2026. Red Hat tracked the issue via Bugzilla and assessed it as medium severity. Multiple Linux distributions including Debian, SUSE, and Amazon Linux 2 issued security updates shortly after disclosure. No significant social media controversy or broad media coverage has been observed, consistent with the moderate severity and lack of active exploitation (GitHub Advisory, Red Hat Bugzilla).

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+deb12u7

Fixed

sid

imagemagick: 8:7.1.2.15+dfsg1-1

Fixed

trixie

imagemagick: 8:7.1.1.43+dfsg1-1+deb13u6

Fixed

Ubuntu

Unknown

bionic (esm-infra)

imagemagick

Not Affected

devel

imagemagick

Not Affected

focal (esm-apps)

imagemagick

Not Affected

jammy

imagemagick

Not Affected

jammy (esm-apps)

imagemagick

Not Affected

noble

imagemagick

Not Affected

noble (esm-apps)

imagemagick

Not Affected

resolute

imagemagick

Not Affected

RHEL / CentOS

Unknown

Alpine

Fixed

edge

imagemagick: 7.1.2.15-r0

Fixed

v3.22

imagemagick: 7.1.2.15-r0

Fixed

v3.23

imagemagick: 7.1.2.15-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