A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-46523

CVE-2026-46523: ImageMagick Use-After-Free Vulnerability

CVE-2026-46523 is a heap use-after-free vulnerability in ImageMagick triggered by crafted MSL images. This flaw affects versions prior to 7.1.2.23 and 6.9.13-48. This post covers technical details, impact, and mitigation.

Published: June 11, 2026

CVE-2026-46523 Overview

CVE-2026-46523 is a heap use-after-free vulnerability [CWE-416] in ImageMagick, the open-source image manipulation suite. A crafted Magick Scripting Language (MSL) image triggers the flaw during processing. The defect affects ImageMagick versions prior to 7.1.2.23 and 6.9.13-48. Maintainers fixed the issue in versions 7.1.2.23 and 6.9.13-48. The vulnerability requires local access and no privileges or user interaction. Successful exploitation produces a high availability impact, while confidentiality and integrity remain unaffected.

Critical Impact

A crafted MSL image processed by a vulnerable ImageMagick build dereferences freed heap memory, crashing the process and disrupting any service that relies on automated image conversion.

Affected Products

  • ImageMagick versions prior to 7.1.2.23 (7.x branch)
  • ImageMagick versions prior to 6.9.13-48 (6.x branch)
  • Applications and services that embed vulnerable ImageMagick libraries for MSL processing

Discovery Timeline

  • 2026-06-10 - CVE-2026-46523 published to NVD
  • 2026-06-10 - Last updated in NVD database

Technical Details for CVE-2026-46523

Vulnerability Analysis

The flaw is a heap use-after-free condition triggered when ImageMagick parses a crafted MSL document. MSL is ImageMagick's XML-based scripting format that drives image operations through declarative commands. During processing of a malicious MSL payload, the parser releases a heap object and later dereferences a pointer that still references the freed memory. The reused allocation produces undefined behavior and reliably terminates the process. The issue is local in scope and impacts availability of the host process, including batch converters, thumbnail generators, and any pipeline that hands attacker-supplied MSL to convert, magick, or library bindings such as MagickWand or PerlMagick.

Root Cause

The root cause is improper lifetime management of a heap-allocated object inside the MSL processing path. The code releases the object during one parsing step but retains references that subsequent steps dereference. CWE-416 (Use After Free) classifies this defect class. Memory allocator behavior determines whether the freed slot returns valid data, attacker-influenced data, or unmapped memory, which is why exploitation is non-deterministic but crashes are consistent.

Attack Vector

Exploitation requires the attacker to supply a crafted MSL file to a vulnerable ImageMagick process. The vector is local because MSL processing is typically restricted, yet many environments accept MSL through automated workflows, shared file shares, or build pipelines. No authentication or user interaction is required once the file reaches the parser. The vulnerability affects availability only; confidentiality and integrity remain intact under the published scoring.

No verified proof-of-concept code is publicly available. For the technical fix, see the GitHub Security Advisory GHSA-5r4x-w6p5-222q.

Detection Methods for CVE-2026-46523

Indicators of Compromise

  • Repeated crashes or SIGSEGV signals in magick, convert, or MagickCore-linked processes during image conversion jobs.
  • Unexpected MSL files (.msl extension or files beginning with <?xml and <image> tags) submitted through user-facing upload paths.
  • Core dumps that show faulting addresses inside MSL handler functions in libMagickCore.

Detection Strategies

  • Inventory installed ImageMagick versions across servers and developer workstations, flagging anything below 7.1.2.23 or 6.9.13-48.
  • Inspect application configurations and policy.xml to determine whether the MSL coder is enabled.
  • Hunt for processes invoking ImageMagick with file inputs whose MIME type or magic bytes do not match the declared extension.

Monitoring Recommendations

  • Alert on abnormal exit codes and segmentation faults from image processing workers in production.
  • Forward ImageMagick stderr logs and process exit telemetry to centralized logging for correlation.
  • Monitor file upload services for MSL payloads and quarantine unexpected scripting formats before they reach the converter.

How to Mitigate CVE-2026-46523

Immediate Actions Required

  • Upgrade to ImageMagick 7.1.2.23 or 6.9.13-48 on every host, container image, and CI runner that processes untrusted images.
  • Rebuild and redeploy applications that statically link or bundle ImageMagick libraries.
  • Audit dependency manifests, base container images, and language bindings such as PerlMagick, MagickWand, and wand Python package for vulnerable versions.

Patch Information

The ImageMagick maintainers fixed the heap use-after-free in versions 7.1.2.23 (7.x branch) and 6.9.13-48 (6.x branch). Patch details are documented in the GitHub Security Advisory GHSA-5r4x-w6p5-222q. Apply distribution updates as soon as backported packages become available from your operating system vendor.

Workarounds

  • Disable the MSL coder in policy.xml until patched binaries are deployed across the environment.
  • Reject MSL files at the application layer through MIME type and magic-byte validation before invoking ImageMagick.
  • Run ImageMagick inside a sandbox or container with strict resource limits to contain crashes and prevent service-wide outages.
bash
# Disable the MSL coder in ImageMagick policy.xml
# Add the following inside the <policymap> element:
<policy domain="coder" rights="none" pattern="MSL" />
<policy domain="coder" rights="none" pattern="MSL:*" />

# Verify the policy is active
identify -list policy | grep -i msl

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechImagemagick

  • SeverityMEDIUM

  • CVSS Score6.2

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-53462: ImageMagick Use-After-Free Vulnerability

  • CVE-2026-40311: ImageMagick Use-After-Free Vulnerability

  • CVE-2026-28687: ImageMagick Use-After-Free Vulnerability

  • CVE-2026-28688: ImageMagick Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English