Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2021-31946

CVE-2021-31946: Microsoft Paint 3D RCE Vulnerability

CVE-2021-31946 is a remote code execution vulnerability in Microsoft Paint 3D that allows attackers to execute arbitrary code on affected systems. This article covers the technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-31946 Overview

CVE-2021-31946 is a remote code execution vulnerability affecting Microsoft Paint 3D. This vulnerability allows attackers to execute arbitrary code in the context of the current user when a victim opens a specially crafted file. The attack requires user interaction, as the target must open a malicious file, but successful exploitation could lead to significant compromise of the affected system.

Critical Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code with the privileges of the current user, potentially leading to unauthorized access to sensitive data, system modification, or further lateral movement within the network.

Affected Products

  • Microsoft Paint 3D

Discovery Timeline

  • 2021-06-08 - CVE CVE-2021-31946 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-31946

Vulnerability Analysis

This remote code execution vulnerability exists in Microsoft Paint 3D, a 3D modeling application included with Windows 10. The vulnerability is triggered when the application processes a specially crafted file, allowing an attacker to execute code in the context of the current user.

The attack vector is local, meaning the attacker must convince a user to open a malicious file. This could be accomplished through social engineering techniques such as phishing emails with malicious attachments or by hosting the crafted file on a website and convincing the user to download and open it. The vulnerability requires no special privileges from the attacker but does require user interaction to trigger.

Upon successful exploitation, an attacker could gain high-level access to confidential data while also achieving some impact on the integrity and availability of the system. This makes the vulnerability particularly concerning for environments where users regularly work with 3D models from untrusted sources.

Root Cause

The exact technical root cause has not been publicly disclosed by Microsoft (categorized as NVD-CWE-noinfo). Based on the Zero Day Initiative advisories (ZDI-21-671 and ZDI-21-684), the vulnerability appears to stem from improper validation or parsing of file contents within Paint 3D. This type of vulnerability typically involves memory corruption issues such as buffer overflows, use-after-free conditions, or type confusion when processing malformed input data.

Attack Vector

The attack requires local access, meaning the attacker must deliver a malicious file to the victim's system. The typical attack chain involves:

  1. An attacker crafts a malicious 3D model file (such as .3mf, .fbx, .obj, .ply, .stl, or .glb formats supported by Paint 3D)
  2. The attacker delivers this file to the victim through email attachments, malicious websites, or other file-sharing mechanisms
  3. The victim opens the malicious file with Paint 3D
  4. The vulnerability is triggered during file parsing, allowing code execution with the victim's privileges

The vulnerability does not require elevated privileges, making standard users potential targets. The attack complexity is low once the malicious file is crafted, though user interaction is required to open the file.

Detection Methods for CVE-2021-31946

Indicators of Compromise

  • Unexpected crashes or abnormal behavior of the PaintStudio.View.exe process
  • Unusual child processes spawned by Paint 3D
  • Suspicious 3D model files with anomalous file structures or sizes received via email or downloaded from untrusted sources
  • Windows Event Log entries indicating application crashes related to Paint 3D

Detection Strategies

  • Monitor for unusual process creation events where Paint 3D (PaintStudio.View.exe) spawns unexpected child processes
  • Implement endpoint detection rules to identify suspicious file access patterns by Paint 3D
  • Deploy email security solutions to scan attachments for malformed 3D model files
  • Use application behavior monitoring to detect anomalous memory access patterns

Monitoring Recommendations

  • Enable Windows Defender Application Guard for enhanced isolation when opening files from untrusted sources
  • Configure Windows Event Forwarding to centralize Paint 3D crash events for analysis
  • Implement file integrity monitoring on systems where Paint 3D is used frequently
  • Review endpoint telemetry for unusual process trees originating from Paint 3D

How to Mitigate CVE-2021-31946

Immediate Actions Required

  • Update Paint 3D to the latest version through the Microsoft Store
  • Avoid opening 3D model files from untrusted or unknown sources
  • Consider temporarily uninstalling Paint 3D if it is not required for business operations
  • Implement application whitelisting to restrict execution of unexpected binaries

Patch Information

Microsoft has released a security update to address this vulnerability. The patch is available through the Microsoft Store for Paint 3D. Organizations should ensure that automatic updates are enabled for Microsoft Store applications, or manually update Paint 3D to the latest version. For detailed patch information, refer to the Microsoft Security Advisory for CVE-2021-31946.

Workarounds

  • Uninstall Paint 3D from systems where it is not required for business purposes using the following PowerShell command
  • Configure email filters to block or quarantine 3D model file attachments (.3mf, .fbx, .obj, .ply, .stl, .glb)
  • Implement restrictive Software Restriction Policies or AppLocker rules to prevent execution of untrusted files
  • Use Protected View or sandbox environments when opening 3D files from external sources
powershell
# Uninstall Paint 3D from Windows 10 if not required
Get-AppxPackage Microsoft.MSPaint | Remove-AppxPackage

# Block Paint 3D from running via AppLocker (requires Group Policy)
# Create a new AppLocker rule in Group Policy Management Console
# Path: Computer Configuration > Policies > Windows Settings > Security Settings > Application Control Policies > AppLocker

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Paint 3d

  • SeverityMEDIUM

  • CVSS Score6.6

  • EPSS Probability0.70%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Zero Day Initiative Advisory ZDI-21-671

  • Zero Day Initiative Advisory ZDI-21-684
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-31946
  • Related CVEs
  • CVE-2023-32047: Microsoft Paint 3D RCE Vulnerability

  • CVE-2022-23282: Microsoft Paint 3D RCE Vulnerability

  • CVE-2021-31983: Microsoft Paint 3D RCE Vulnerability

  • CVE-2021-31945: Microsoft Paint 3D RCE 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