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-48994

CVE-2026-48994: ImageMagick Buffer Overflow Vulnerability

CVE-2026-48994 is a heap buffer overflow flaw in ImageMagick's MAT decoder affecting 32-bit systems. Attackers could exploit this to corrupt memory. This article covers technical details, affected versions, and patches.

Published: June 11, 2026

CVE-2026-48994 Overview

CVE-2026-48994 is a heap buffer overflow vulnerability [CWE-122] in ImageMagick, the widely used open-source image processing library. The flaw affects the MAT (MATLAB) image format decoder on 32-bit systems. A missing return-value check allows an attacker-supplied MAT file to trigger a heap buffer over-write during decoding.

ImageMagick maintainers patched the issue in versions 6.9.13-48 and 7.1.2-24. Exploitation requires processing a crafted image, which is common in web services, content pipelines, and document conversion workflows that pass user-supplied files to ImageMagick.

Critical Impact

A crafted MAT file processed by a vulnerable 32-bit ImageMagick build can corrupt heap memory and crash the application, with potential for further memory corruption consequences.

Affected Products

  • ImageMagick versions prior to 6.9.13-48 (6.x branch) on 32-bit systems
  • ImageMagick versions prior to 7.1.2-24 (7.x branch) on 32-bit systems
  • Applications and services that link ImageMagick libraries (libMagickCore, libMagickWand) on 32-bit architectures

Discovery Timeline

  • 2026-06-10 - CVE-2026-48994 published to the National Vulnerability Database
  • 2026-06-10 - Last updated in NVD database

Technical Details for CVE-2026-48994

Vulnerability Analysis

The vulnerability resides in the MAT decoder within ImageMagick, which parses MATLAB v4/v5 image container files. The decoder calls a function that returns a status or pointer indicating success or failure. The calling code does not check this return value before continuing to operate on the resulting buffer.

When the underlying operation fails or returns an unexpected size on 32-bit builds, subsequent write operations exceed the allocated heap region. The 32-bit constraint matters because integer width and pointer arithmetic differ from 64-bit builds, which alters how size calculations wrap or truncate during allocation sizing.

The outcome is an out-of-bounds write on the heap, classified under [CWE-122] Heap-based Buffer Overflow. Per the CVSS vector, the primary observed impact is availability loss through process crash, with attack complexity rated high due to environmental conditions required for exploitation.

Root Cause

The root cause is a missing validation of a function return value inside the MAT image decoder. Without checking the return code, the decoder treats an uninitialized or undersized buffer as valid and writes decoded image data past the end of the heap allocation.

Attack Vector

The attack vector is network-reachable through any application that feeds untrusted MAT files into ImageMagick. Examples include image upload endpoints, thumbnailing services, document converters, and CI/CD pipelines that process user-supplied artifacts. The attacker delivers a crafted .mat file and relies on the server using a vulnerable 32-bit build of ImageMagick.

No verified public exploit code is available. Technical details are documented in the ImageMagick GitHub Security Advisory GHSA-4v89-6mgq-6rgc.

Detection Methods for CVE-2026-48994

Indicators of Compromise

  • Unexpected crashes or segmentation faults in processes invoking convert, magick, or identify against .mat files
  • Core dumps or heap corruption signatures from libMagickCore on 32-bit hosts
  • Upload of MAT format files (.mat) to services that normally do not require MATLAB data

Detection Strategies

  • Inventory all systems with ImageMagick installed and identify 32-bit builds using magick -version or identify -version
  • Scan dependency manifests and container images for ImageMagick versions earlier than 6.9.13-48 or 7.1.2-24
  • Enable verbose logging in image-processing services to capture decoder errors and abnormal terminations

Monitoring Recommendations

  • Alert on repeated worker process crashes in image-processing pipelines, especially when correlated with .mat file uploads
  • Monitor file upload endpoints for MAT magic bytes (MATLAB 5.0 MAT-file header) where MATLAB data is not expected
  • Track ImageMagick policy file (policy.xml) integrity to ensure restrictive coder policies remain in place

How to Mitigate CVE-2026-48994

Immediate Actions Required

  • Upgrade ImageMagick to version 6.9.13-48 or 7.1.2-24 (or later) on all 32-bit systems
  • Where upgrade is not immediately feasible, disable the MAT coder in policy.xml to block decoding of MAT files
  • Audit upstream applications and Docker images for bundled ImageMagick libraries and rebuild against patched versions

Patch Information

The ImageMagick project released fixes in 6.9.13-48 and 7.1.2-24. The patch adds the missing return-value check in the MAT decoder so that the function aborts cleanly when the underlying operation fails. See the ImageMagick GitHub Security Advisory GHSA-4v89-6mgq-6rgc for commit references and release notes.

Workarounds

  • Add a policy.xml rule denying the MAT coder: <policy domain="coder" rights="none" pattern="MAT" />
  • Migrate image processing workloads to 64-bit builds, which are not affected by this specific 32-bit code path
  • Validate uploaded file types and reject MAT files at the application layer when not required by business logic
bash
# Configuration example: disable the MAT coder in ImageMagick policy.xml
# Typical path: /etc/ImageMagick-7/policy.xml or /etc/ImageMagick-6/policy.xml
<policymap>
  <policy domain="coder" rights="none" pattern="MAT" />
</policymap>

# Verify policy is active
magick -list policy | grep -i mat

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechImagemagick

  • SeverityMEDIUM

  • CVSS Score5.9

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-53465: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-53461: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-48734: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-48724: ImageMagick Buffer Overflow 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