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
    • 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-2020-0796

CVE-2020-0796: Windows 10 1903 SMBv3 RCE Vulnerability

CVE-2020-0796 is a remote code execution vulnerability in Microsoft Server Message Block 3.1.1 protocol affecting Windows 10 1903. Attackers can exploit this flaw to execute arbitrary code. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: March 11, 2026

CVE-2020-0796 Overview

A remote code execution vulnerability exists in the way that the Microsoft Server Message Block 3.1.1 (SMBv3) protocol handles certain requests. This vulnerability, commonly referred to as "SMBGhost" or "CoronaBlue," allows attackers to execute arbitrary code on vulnerable Windows systems without authentication. The flaw resides in the SMBv3 compression feature and can be exploited both remotely against SMB servers and locally for privilege escalation.

Critical Impact

This wormable vulnerability enables unauthenticated remote code execution with SYSTEM privileges, potentially allowing attackers to spread malware across networks without user interaction. CISA has confirmed active exploitation in the wild.

Affected Products

  • Microsoft Windows 10 version 1903 (x86, x64, ARM64)
  • Microsoft Windows 10 version 1909 (x86, x64, ARM64)
  • Microsoft Windows Server version 1903 (x64)
  • Microsoft Windows Server version 1909 (x64)

Discovery Timeline

  • 2020-03-12 - CVE-2020-0796 published to NVD
  • 2025-10-29 - Last updated in NVD database

Technical Details for CVE-2020-0796

Vulnerability Analysis

CVE-2020-0796 is a buffer overflow vulnerability in the SMBv3 compression handling code within the Windows kernel. The vulnerability occurs when processing specially crafted compressed data packets, where the kernel driver srv2.sys fails to properly validate the size of compressed data before copying it into a buffer. This improper bounds checking allows an attacker to corrupt memory structures, ultimately leading to arbitrary code execution with SYSTEM-level privileges.

The vulnerability is particularly dangerous because it requires no authentication and can be triggered over the network against any system with SMBv3 enabled. Additionally, the same flaw can be exploited locally to escalate privileges from a low-privileged user to SYSTEM. The wormable nature of this vulnerability means that malware could propagate across vulnerable systems automatically, similar to the devastating EternalBlue exploit used in the WannaCry ransomware attacks.

Root Cause

The root cause of CVE-2020-0796 lies in CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). Specifically, the srv2.sys driver introduced compression support in SMBv3.1.1 but contained a flaw in how it calculated the size of decompressed data. When processing a SMB2_COMPRESSION_TRANSFORM_HEADER, the driver performs arithmetic operations on the OriginalCompressedSegmentSize and Offset fields without adequate integer overflow checks. An attacker can craft malicious values that cause an integer overflow during buffer allocation calculations, resulting in a smaller-than-expected buffer being allocated. When the decompressed data is written to this undersized buffer, a heap buffer overflow occurs.

Attack Vector

The attack vector for CVE-2020-0796 is network-based and requires no user interaction or authentication. An attacker can exploit this vulnerability by sending specially crafted SMBv3 packets to port 445 on a vulnerable target. The attack can target:

  1. SMB Servers: Any Windows 10 version 1903/1909 or Windows Server version 1903/1909 system accepting SMB connections can be compromised remotely.

  2. SMB Clients: An attacker can also compromise client systems by hosting a malicious SMB server and enticing victims to connect to it.

  3. Local Privilege Escalation: The vulnerability can be leveraged locally to escalate from a standard user to SYSTEM privileges.

The vulnerability is triggered through the SMB2 compression transform header. An attacker crafts packets with manipulated OriginalCompressedSegmentSize and Offset values designed to cause an integer overflow. When the kernel driver processes these values, it allocates an insufficient buffer, and subsequent memory operations corrupt adjacent heap structures, enabling arbitrary code execution.

Detection Methods for CVE-2020-0796

Indicators of Compromise

  • Unexpected SMB traffic on port 445 with compression headers containing anomalous size values
  • System crashes or blue screens (BSOD) related to srv2.sys driver failures
  • Unusual memory corruption patterns in Windows kernel dumps
  • Process creation with SYSTEM privileges from unexpected parent processes

Detection Strategies

  • Deploy network intrusion detection signatures that identify malformed SMBv3 compression headers
  • Monitor SMB traffic for connections with unusually large or negative offset values in compression transforms
  • Implement endpoint detection rules that flag exploitation attempts against srv2.sys
  • Enable Windows Event logging for SMB server events and monitor for connection anomalies
  • Utilize memory protection technologies that can detect heap overflow attempts

Monitoring Recommendations

  • Continuously monitor port 445 traffic at network boundaries and internal segments
  • Implement network segmentation to limit lateral movement potential via SMB
  • Deploy SentinelOne agents to detect and prevent kernel-level exploitation attempts
  • Review firewall logs for external SMB connection attempts to identify reconnaissance activity

How to Mitigate CVE-2020-0796

Immediate Actions Required

  • Apply Microsoft's security patch KB4551762 immediately to all affected systems
  • Block TCP port 445 at the network perimeter to prevent external exploitation
  • Disable SMBv3 compression as a temporary workaround if patching is not immediately possible
  • Audit your environment for Windows 10 and Windows Server versions 1903 and 1909

Patch Information

Microsoft released security update KB4551762 on March 12, 2020, which addresses this vulnerability. The patch corrects the buffer size calculation in the SMBv3 compression handling code. Organizations should apply this patch through Windows Update, WSUS, or manual installation from the Microsoft Security Advisory.

Given that this vulnerability is listed in CISA's Known Exploited Vulnerabilities Catalog with confirmed active exploitation, patching should be treated as an emergency priority.

Workarounds

  • Disable SMBv3 compression using PowerShell to mitigate server-side attacks (does not protect SMB clients)
  • Block inbound and outbound SMB traffic on port 445 at network firewalls
  • Implement network segmentation to restrict SMB communication to essential systems only
  • Consider disabling SMBv3 entirely if compression cannot be disabled and patching is delayed
powershell
# Disable SMBv3 compression (temporary workaround)
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" -Name "DisableCompression" -Type DWORD -Value 1 -Force

# Verify the setting was applied
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" -Name "DisableCompression"

# Note: This workaround only protects SMB servers, not clients
# A system restart is NOT required for this change to take effect

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability94.42%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-119
  • Technical References
  • Packet Storm PoC: SMBGhost

  • Packet Storm RCE: SMB 3.1.1

  • Packet Storm Local Privilege Escalation

  • Packet Storm SMBv3 Buffer Overflow

  • Packet Storm RCE: SMBGhost

  • Packet Storm PoC: SMBleed

  • CISA Known Exploited Vulnerability: CVE-2020-0796
  • Vendor Resources
  • Microsoft Security Advisory: CVE-2020-0796
  • Related CVEs
  • CVE-2026-31995: Openclaw Command Injection Vulnerability

  • CVE-2026-25190: Windows GDI RCE Vulnerability

  • CVE-2026-25166: Windows System Image Manager RCE Flaw

  • CVE-2026-25173: Windows RRAS 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