PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseCVE-2026-105825

CVE-2026-105825: 
ImageMagick vulnerability analysis and mitigation

Overview

CVE-2026-105825 is a denial-of-service vulnerability in ImageMagick's XMP profile handling, where a crafted XMP profile causes the process to terminate rather than raising an exception. It affects ImageMagick versions before 6.9.13-55 (6.x branch) and before 7.1.2-30 (7.x branch). The CVE has been marked as Rejected (duplicate) by the CVE authority, with the canonical advisory tracked under GHSA-27m9-54jx-fgvq and CVE-2026-107208. It carries a CVSS v3.1 score of 5.3 (Medium) and a CVSS v4.0 score of 6.9 (Medium) (GitHub Advisory, ImageMagick Advisory).

Technical details

The root cause is classified as CWE-400 (Uncontrolled Resource Consumption) and CWE-617 (Reachable Assertion), with the canonical advisory also referencing CWE-674 (Uncontrolled Recursion). When ImageMagick processes an image containing a specially crafted XMP profile, the malformed profile triggers an assertion or uncontrolled recursion that terminates the process outright instead of being caught and handled as an exception. The attack vector is network-based, requires no authentication or user interaction, and is exploitable simply by supplying a malicious image file to any application that uses ImageMagick for image processing (ImageMagick Advisory, GitHub Advisory). The vulnerability was reported by researcher Yanhaoxi (ImageMagick Advisory).

Impact

Successful exploitation results in a denial-of-service condition: the ImageMagick process crashes, disrupting any application that relies on it for image processing (e.g., web applications, media pipelines, document converters). There is no impact on confidentiality or integrity — only availability is affected. Repeated submission of malicious images could cause persistent service disruption, particularly in automated or publicly accessible image-processing workflows (GitHub Advisory, Red Hat Bugzilla).

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 (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.304% (21st percentile), indicating a low near-term exploitation probability. The attack is automatable — an unauthenticated attacker can trigger it remotely without user interaction by submitting a crafted image file (GitHub Advisory).

Exploitation steps

  1. Identify target: Locate a web application, API, or service that accepts image uploads and processes them using a vulnerable version of ImageMagick (before 6.9.13-55 or 7.x before 7.1.2-30).
  2. Craft malicious image: Create or obtain an image file containing a specially crafted XMP profile designed to trigger the reachable assertion or uncontrolled recursion in ImageMagick's XMP parsing code.
  3. Submit the image: Upload or send the crafted image to the target service via its normal image submission interface (e.g., HTTP file upload, email attachment, API endpoint).
  4. Trigger crash: When the server-side ImageMagick process parses the malicious XMP profile, it terminates abruptly instead of raising a handled exception, causing a denial-of-service condition for the affected application.
  5. Repeat for persistence: Repeatedly submit the malicious image to maintain the denial-of-service state if the application automatically restarts the ImageMagick process (ImageMagick Advisory, GitHub Advisory).

Indicators of compromise

  • Logs: Unexpected ImageMagick process termination errors in application logs; crash reports or core dumps referencing XMP profile parsing; assertion failure messages in ImageMagick stderr output.
  • Process: Repeated abnormal termination of the ImageMagick process (e.g., convert, magick) without a corresponding handled exception; application restart loops triggered by ImageMagick crashes.
  • File System: Presence of core dump files (e.g., core.*) in the working directory of the ImageMagick process; suspicious image files with oversized or malformed XMP metadata blocks in upload directories.
  • Network: High volume of image upload requests from a single source IP, particularly with files containing large or unusual XMP profile sections.

Mitigation and workarounds

Upgrade ImageMagick to version 6.9.13-55 or later (6.x branch) or 7.1.2-30 or later (7.x branch), which contain fixes for this vulnerability (ImageMagick Advisory). As interim mitigations, implement input validation and file-type sanitization before passing images to ImageMagick, and consider using ImageMagick's policy configuration (policy.xml) to restrict processing of potentially dangerous file formats or metadata. Restricting public access to image-processing endpoints and monitoring for unexpected process terminations can further reduce exposure (Red Hat Bugzilla).

Community reactions

The vulnerability was reported by researcher Yanhaoxi and disclosed by ImageMagick maintainer dlemstra via a GitHub Security Advisory. Red Hat has opened a tracking bug (Bugzilla #2547974) and assigned it medium priority/severity. No significant broader media coverage or notable community commentary beyond standard vulnerability tracking has been observed (ImageMagick Advisory, Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related ImageMagick vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-109964MEDIUM6.3
  • ImageMagick logoImageMagick
  • ImageMagick-perl
NoYesOct 13, 2026
CVE-2026-109281MEDIUM4.8
  • ImageMagick logoImageMagick
  • imagemagick
NoYesOct 12, 2026
CVE-2026-114723LOW3.7
  • ImageMagick logoImageMagick
  • roundcube
NoYesOct 22, 2026
CVE-2026-109282LOW2
  • ImageMagick logoImageMagick
  • cpe:2.3:a:imagemagick:imagemagick
NoYesOct 12, 2026
CVE-2026-109280LOW2
  • ImageMagick logoImageMagick
  • cpe:2.3:a:imagemagick:imagemagick
NoYesOct 12, 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