The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-25967

CVE-2026-25967: ImageMagick Buffer Overflow Vulnerability

CVE-2026-25967 is a stack-based buffer overflow flaw in ImageMagick's FTXT reader that allows crafted files to cause memory corruption and crashes. This article covers the technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-25967 Overview

CVE-2026-25967 is a stack-based buffer overflow vulnerability in ImageMagick, a widely-used free and open-source software suite for editing and manipulating digital images. This vulnerability exists in the FTXT image reader component and can be exploited when ImageMagick processes a specially crafted FTXT file. The flaw causes out-of-bounds writes on the stack, which leads to application crashes and denial of service conditions.

Critical Impact

Processing malicious FTXT image files can trigger out-of-bounds stack writes, causing application crashes and potential denial of service for systems relying on ImageMagick for image processing operations.

Affected Products

  • ImageMagick versions prior to 7.1.2-15
  • Applications and services utilizing vulnerable ImageMagick libraries for image processing
  • Web applications that accept user-uploaded images processed through ImageMagick

Discovery Timeline

  • 2026-02-24 - CVE-2026-25967 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-25967

Vulnerability Analysis

This vulnerability is classified as CWE-121 (Stack-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The flaw resides in the FTXT image reader component within ImageMagick, which fails to properly validate input boundaries when parsing FTXT format files.

When ImageMagick attempts to process a maliciously crafted FTXT file, the parser does not adequately check the size of data being written to stack-allocated buffers. This oversight allows an attacker to supply input that exceeds the expected buffer size, resulting in data being written beyond the allocated memory region on the stack.

The vulnerability can be triggered remotely via network-accessible services that process user-supplied images using ImageMagick. No authentication or user interaction is required to exploit this vulnerability, making it particularly concerning for web applications and image processing pipelines that handle untrusted input.

Root Cause

The root cause of this vulnerability is insufficient bounds checking in the FTXT image format parsing code. The FTXT reader allocates a fixed-size buffer on the stack and copies input data without verifying that the data length does not exceed the buffer capacity. This classic buffer overflow pattern allows carefully constructed input to overflow the buffer and corrupt adjacent stack memory.

Attack Vector

The attack vector is network-based, requiring an attacker to deliver a malicious FTXT file to a system running vulnerable ImageMagick versions. Common attack scenarios include:

  • Uploading malicious FTXT files to web applications that process images using ImageMagick
  • Sending crafted files through email attachments that are automatically processed
  • Exploiting image conversion services or APIs that accept FTXT format input

The vulnerability triggers when the malicious file is parsed, causing stack corruption that results in application termination. The attack does not require authentication or special privileges, and no user interaction is needed beyond the target system processing the malicious file.

The vulnerability mechanism involves improper handling of FTXT file parsing where oversized input data is written to a stack buffer without proper boundary validation. For detailed technical analysis of the vulnerability, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-25967

Indicators of Compromise

  • Unexpected ImageMagick process crashes or termination events in system logs
  • Presence of suspicious FTXT files in upload directories or image processing queues
  • Application logs showing segmentation faults or stack smashing detection during image processing
  • Unusual network activity targeting image upload endpoints with FTXT content

Detection Strategies

  • Monitor ImageMagick processes for abnormal termination signals (SIGSEGV, SIGABRT)
  • Implement file type validation to identify and quarantine suspicious FTXT files before processing
  • Deploy application-level logging to track all image processing operations and their outcomes
  • Use runtime application self-protection (RASP) solutions to detect stack overflow attempts

Monitoring Recommendations

  • Enable core dump collection for ImageMagick processes to facilitate forensic analysis of crashes
  • Configure centralized logging for all image processing components across the environment
  • Implement alerting for repeated processing failures that may indicate exploitation attempts
  • Monitor system resource utilization for signs of denial of service attacks targeting image processing

How to Mitigate CVE-2026-25967

Immediate Actions Required

  • Upgrade ImageMagick to version 7.1.2-15 or later immediately
  • Audit all systems and applications for ImageMagick installations and verify version numbers
  • Implement input validation to reject or quarantine FTXT format files until systems are patched
  • Review application logs for evidence of exploitation attempts prior to patching

Patch Information

ImageMagick version 7.1.2-15 contains the security patch that addresses this vulnerability. Organizations should update to this version or later to remediate the stack-based buffer overflow in the FTXT image reader. The patch information and additional details are available in the GitHub Security Advisory.

Workarounds

  • Disable FTXT format support in ImageMagick's policy.xml configuration file if not required
  • Implement a file type allowlist that excludes FTXT format from processing pipelines
  • Deploy network-level filtering to block FTXT files at the perimeter
  • Run ImageMagick processes in sandboxed environments with limited system access
bash
# Configuration example: Disable FTXT format in ImageMagick policy.xml
# Add the following to /etc/ImageMagick-7/policy.xml
<policy domain="coder" rights="none" pattern="FTXT" />

# Verify the policy is applied
identify -list policy | grep FTXT

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

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121

  • CWE-787
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33536: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-32636: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-32259: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-28493: ImageMagick Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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