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

CVE-2026-105824: 
ImageMagick vulnerability analysis and mitigation

Overview

CVE-2026-105824 is a use-after-free vulnerability in the RSVG decoder of ImageMagick when built without cairo support, triggered when a decoding limit is hit during SVG file processing. 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 being GHSA-f2r2-qw7g-3c8x / CVE-2026-107209. It carries a CVSS v3.1 base score of 5.9 (Medium) and a CVSS v4.0 base score of 8.2 (High) (GitHub Advisory, ImageMagick Advisory).

Technical details

The root cause is a use-after-free (CWE-416) and expired pointer dereference (CWE-825) in ImageMagick's RSVG decoder code path that is compiled without cairo support. When processing an SVG file, if a configured resource or processing limit is reached mid-decode, memory is freed prematurely; subsequent code paths then access that freed memory, causing undefined behavior and a crash. The attack vector is network-based and requires no authentication or user interaction, though high attack complexity is noted due to the need to trigger a specific limit condition. The vulnerability was reported by researcher Yanhaoxi (ImageMagick Advisory, Red Hat Bugzilla).

Impact

Successful exploitation results in a denial of service — the ImageMagick process crashes upon accessing freed memory, disrupting any image processing workflow that handles SVG files. There is no confidentiality or integrity impact; the vulnerability is limited to availability. Services or applications that accept user-supplied SVG files and process them through a cairo-less ImageMagick build are at risk of repeated crashes, potentially causing sustained service outages (GitHub Advisory, Red Hat Bugzilla).

Exploitability

No public proof-of-concept exploit code is known, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.25% (15th percentile), indicating a low near-term exploitation probability. The CVE is not listed in the CISA Known Exploited Vulnerabilities catalog. No threat actor attribution has been reported (GitHub Advisory, VulnCheck Advisory).

Exploitation steps

  1. Identify target: Locate a service or application that accepts SVG file uploads and processes them using ImageMagick built without cairo support (versions before 6.9.13-55 or 7.1.2-30).
  2. Craft malicious SVG: Create a specially crafted SVG file designed to trigger ImageMagick's internal resource or processing limits during RSVG decoding (e.g., deeply nested elements, excessive complexity, or large resource references).
  3. Submit the file: Upload or supply the crafted SVG to the target application's image processing endpoint via HTTP or another network interface.
  4. Trigger the crash: ImageMagick's RSVG decoder hits the configured limit, frees memory, and then accesses the freed pointer — causing a process crash and denial of service to legitimate users (ImageMagick Advisory, Red Hat Bugzilla).

Indicators of compromise

  • Logs: Repeated ImageMagick process crashes or segmentation fault entries in application or system logs (e.g., SIGSEGV or Aborted signals from the ImageMagick process); error messages referencing RSVG decoder or SVG processing failures.
  • File System: Presence of unusual or malformed SVG files in upload directories or temporary processing directories.
  • Process: Unexpected termination of ImageMagick worker processes; core dump files (core.*) generated in the working directory of the image processing service.
  • Network: Repeated submission of SVG files from the same source IP to image upload or processing endpoints, particularly files that consistently cause process crashes.

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) to remediate the vulnerability. If immediate patching is not feasible, disable SVG file processing or restrict access to ImageMagick's SVG/RSVG functionality. Alternatively, rebuilding ImageMagick with cairo support eliminates the vulnerable code path entirely. Restricting untrusted SVG file uploads at the application layer is an additional defensive measure (ImageMagick Advisory, GitHub Advisory).

Community reactions

The vulnerability was reported by researcher Yanhaoxi and published by ImageMagick maintainer dlemstra via a GitHub Security Advisory. Red Hat tracked the issue via Bugzilla (Bug 2547987) and assigned it medium 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