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
    • 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-26435

CVE-2021-26435: Windows 10 Use-After-Free Vulnerability

CVE-2021-26435 is a use-after-free memory corruption flaw in Windows 10 Scripting Engine that can allow attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-26435 Overview

CVE-2021-26435 is a memory corruption vulnerability in the Windows Scripting Engine that could allow an attacker to execute arbitrary code on affected systems. This vulnerability affects a wide range of Microsoft Windows operating systems, including both client and server editions, making it a significant threat across enterprise environments.

The vulnerability requires local access and user interaction to exploit, but successful exploitation grants the attacker full control over the affected system with the same privileges as the current user.

Critical Impact

Successful exploitation allows attackers to execute arbitrary code with user privileges, potentially leading to complete system compromise, data theft, or lateral movement within enterprise networks.

Affected Products

  • Microsoft Windows 10 (multiple versions including 1607, 1809, 1909, 2004, 20H2, 21H1)
  • Microsoft Windows 7 SP1
  • Microsoft Windows 8.1
  • Microsoft Windows RT 8.1
  • Microsoft Windows Server 2008 SP2 and R2 SP1
  • Microsoft Windows Server 2012 and R2
  • Microsoft Windows Server 2016 (including 2004, 20H2)
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022

Discovery Timeline

  • 2021-09-15 - CVE-2021-26435 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-26435

Vulnerability Analysis

This vulnerability stems from improper memory handling within the Windows Scripting Engine. The underlying issue is classified as CWE-787 (Out-of-Bounds Write), indicating that the scripting engine fails to properly validate memory boundaries during script processing operations.

When a user opens a specially crafted document or visits a malicious website, the scripting engine may write data beyond the allocated buffer boundaries. This out-of-bounds write condition can corrupt adjacent memory structures, potentially allowing an attacker to overwrite critical data or function pointers to hijack program execution flow.

The attack requires user interaction—typically opening a malicious file or visiting a compromised website that hosts specially crafted content designed to trigger the memory corruption condition.

Root Cause

The root cause of CVE-2021-26435 is an out-of-bounds write vulnerability (CWE-787) in the Windows Scripting Engine. The engine fails to properly validate buffer boundaries when processing certain script content, allowing memory writes to occur beyond allocated regions. This improper memory handling creates an exploitable condition that attackers can leverage for code execution.

Attack Vector

The attack requires local access with user interaction. An attacker would need to convince a user to perform an action that triggers the vulnerability, such as:

  • Opening a specially crafted document that contains malicious script content
  • Visiting a compromised or attacker-controlled website hosting exploit code
  • Opening an email attachment designed to trigger the scripting engine vulnerability

Once triggered, the memory corruption can be leveraged to achieve arbitrary code execution within the context of the current user's privileges.

The vulnerability mechanism involves memory corruption through out-of-bounds write operations in the Windows Scripting Engine. When processing malicious input, the engine writes data past allocated buffer boundaries, corrupting adjacent memory regions. This can overwrite critical structures or function pointers, allowing attackers to redirect execution flow to attacker-controlled code. For detailed technical information, refer to the Microsoft Security Advisory.

Detection Methods for CVE-2021-26435

Indicators of Compromise

  • Unusual process behavior from scripting engines (wscript.exe, cscript.exe) or web browsers
  • Memory access violations or application crashes in script-heavy applications
  • Unexpected child processes spawned by Windows Script Host components
  • Suspicious document files that trigger scripting engine execution upon opening

Detection Strategies

  • Monitor for abnormal memory access patterns in the Windows Scripting Engine components
  • Deploy endpoint detection solutions to identify exploitation attempts targeting script processing
  • Implement application whitelisting to control script execution in enterprise environments
  • Use SentinelOne's behavioral AI to detect memory corruption exploitation techniques

Monitoring Recommendations

  • Enable Windows Event Logging for script execution and Application Error events
  • Monitor process creation events for suspicious scripting engine activity
  • Implement network monitoring for connections to known malicious infrastructure following script execution
  • Configure alerts for unexpected process relationships involving scripting components

How to Mitigate CVE-2021-26435

Immediate Actions Required

  • Apply the latest Microsoft security updates addressing CVE-2021-26435 immediately
  • Restrict access to Windows Scripting Host in environments where scripts are not required
  • Implement user awareness training to prevent opening suspicious documents or links
  • Deploy SentinelOne endpoint protection to detect and prevent exploitation attempts

Patch Information

Microsoft has released security updates to address this vulnerability as part of their September 2021 Patch Tuesday release. System administrators should apply the appropriate patches for their Windows versions through Windows Update, WSUS, or the Microsoft Update Catalog.

For detailed patch information and download links, refer to the Microsoft Security Advisory for CVE-2021-26435.

Workarounds

  • Disable Windows Script Host on systems where scripting functionality is not required
  • Configure email gateways to block or quarantine documents containing embedded scripts
  • Implement application control policies to restrict scripting engine execution
  • Use Microsoft Defender Attack Surface Reduction rules to limit script execution
bash
# Disable Windows Script Host via Registry (run as Administrator)
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings" /v Enabled /t REG_DWORD /d 0 /f

# Enable Attack Surface Reduction rule to block script execution
# Requires Windows Defender and appropriate Group Policy configuration
# Rule GUID: d4f940ab-401b-4efc-aadc-ad5f3c50688a (Block Office applications from creating child processes)

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/TechWindows

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability7.76%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-26435
  • Related CVEs
  • CVE-2026-23667: Windows 10 1809 Use-After-Free Flaw

  • CVE-2026-23669: Windows Print Spooler Use After Free Flaw

  • CVE-2026-22722: Windows Use-After-Free Vulnerability

  • CVE-2026-21251: Windows Server Use-After-Free Flaw
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