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

CVE-2026-33900: ImageMagick Buffer Overflow Vulnerability

CVE-2026-33900 is a buffer overflow flaw in ImageMagick's viff encoder that triggers out of bounds heap writes on 32-bit systems, potentially causing crashes. This article covers technical details, affected versions, and patches.

Published: April 17, 2026

CVE-2026-33900 Overview

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, the VIFF encoder contains an integer truncation/wraparound issue on 32-bit builds that could trigger an out-of-bounds heap write, potentially causing a crash. This vulnerability stems from improper handling of size calculations in the coders/viff.c file, which can lead to memory allocation failures and subsequent heap corruption.

Critical Impact

Exploitation of this integer overflow vulnerability on 32-bit systems can result in denial of service through application crashes due to out-of-bounds heap writes during VIFF image encoding operations.

Affected Products

  • ImageMagick versions below 7.1.2-19
  • ImageMagick versions below 6.9.13-44
  • Magick.NET versions below 14.12.0

Discovery Timeline

  • 2026-04-13 - CVE-2026-33900 published to NVD
  • 2026-04-13 - Last updated in NVD database

Technical Details for CVE-2026-33900

Vulnerability Analysis

This vulnerability is classified as CWE-190 (Integer Overflow or Wraparound). The flaw exists in the VIFF encoder component of ImageMagick, specifically within coders/viff.c. On 32-bit builds, when converting images to the VIFF raster format, the code performs size calculations that can experience integer truncation. When the calculated packets value exceeds the maximum value representable by size_t on 32-bit systems, the truncation causes the memory allocation to be smaller than expected, leading to an out-of-bounds heap write when pixel data is subsequently written.

The vulnerability requires network-based delivery of a malicious image but has high attack complexity due to the specific conditions required (32-bit build, specific image dimensions causing overflow). While there is no impact on confidentiality or integrity, successful exploitation results in high availability impact through application crashes.

Root Cause

The root cause is the absence of validation to ensure that the calculated packets value fits within the bounds of size_t before passing it to the memory allocation function AcquireVirtualMemory(). On 32-bit systems, when this value exceeds 4GB, it wraps around, resulting in a significantly smaller memory allocation than required for the actual pixel data.

Attack Vector

An attacker could exploit this vulnerability by crafting a malicious VIFF image file with dimensions calculated to trigger the integer overflow condition. When a vulnerable 32-bit ImageMagick installation processes this image, the truncated memory allocation followed by the full data write would cause heap corruption, resulting in a denial of service. The attack vector is network-based, as the malicious image could be delivered through web applications, email attachments, or other network-accessible image processing workflows.

c
     /*
       Convert MIFF to VIFF raster pixels.
     */
+    if (packets != (MagickSizeType) ((size_t) packets)
+      ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed");
     pixel_info=AcquireVirtualMemory((size_t) packets,sizeof(*pixels));
     if (pixel_info == (MemoryInfo *) NULL)
       ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed");

Source: GitHub Commit Reference

Detection Methods for CVE-2026-33900

Indicators of Compromise

  • Unexpected ImageMagick process crashes during VIFF encoding operations
  • Segmentation fault errors in application logs related to ImageMagick processing
  • Memory allocation failure messages followed by unexpected behavior in image processing workflows

Detection Strategies

  • Monitor for ImageMagick process crashes with heap corruption signatures, particularly on 32-bit systems
  • Implement file inspection for incoming VIFF images with unusually large dimension metadata
  • Deploy application-level logging to capture memory allocation failures in image processing pipelines

Monitoring Recommendations

  • Enable verbose logging for ImageMagick operations to capture early warning signs of exploitation attempts
  • Set up alerts for repeated crashes of services that utilize ImageMagick for image processing
  • Monitor system memory usage patterns for anomalies during image encoding operations

How to Mitigate CVE-2026-33900

Immediate Actions Required

  • Upgrade ImageMagick to version 7.1.2-19 or later for the 7.x branch
  • Upgrade ImageMagick to version 6.9.13-44 or later for the 6.x branch
  • Upgrade Magick.NET to version 14.12.0 or later if using the .NET wrapper
  • Consider migrating 32-bit deployments to 64-bit where possible to eliminate this class of vulnerability

Patch Information

The vulnerability has been fixed in ImageMagick versions 6.9.13-44 and 7.1.2-19. The patch adds an explicit check to verify that the packets value can be safely cast to size_t without truncation before proceeding with memory allocation. For detailed patch information, refer to the GitHub Commit Reference and the GitHub Security Advisory GHSA-v67w-737x-v2c9.

Workarounds

  • If immediate patching is not possible, consider disabling VIFF format support in ImageMagick's policy.xml configuration
  • Implement input validation to reject VIFF images before they reach ImageMagick processing
  • Use 64-bit builds of ImageMagick where the integer truncation issue does not manifest
bash
# Disable VIFF coder in ImageMagick policy.xml
# Add the following line to /etc/ImageMagick-7/policy.xml or equivalent
<policy domain="coder" rights="none" pattern="VIFF" />

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

  • EPSS Probability0.04%

  • 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-190
  • Technical References
  • GitHub Commit Reference

  • GitHub Release Version 7.1.2-19

  • GitHub Security Advisory GHSA-v67w-737x-v2c9

  • Magick.NET Release Version 14.12.0
  • Related CVEs
  • CVE-2026-42050: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-40310: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-40183: ImageMagick Buffer Overflow Vulnerability

  • CVE-2026-40169: 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