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-2023-36792

CVE-2023-36792: Microsoft .NET Framework RCE Vulnerability

CVE-2023-36792 is a remote code execution vulnerability in Microsoft .NET Framework affecting Visual Studio. Attackers can exploit this flaw to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-36792 Overview

CVE-2023-36792 is a Remote Code Execution vulnerability affecting Microsoft Visual Studio and .NET Framework. This vulnerability allows an attacker to execute arbitrary code on a target system when a user opens a specially crafted file within Visual Studio. The underlying weakness involves an Integer Overflow condition (CWE-190) that can be exploited to corrupt memory and gain code execution.

Critical Impact

Successful exploitation enables attackers to execute arbitrary code with the privileges of the current user, potentially leading to complete system compromise when targeting developers with administrative access.

Affected Products

  • Microsoft Visual Studio 2017
  • Microsoft Visual Studio 2019
  • Microsoft Visual Studio 2022
  • Microsoft .NET Framework 3.5, 3.5.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
  • Microsoft .NET 6.0.0 and 7.0.0
  • Microsoft Windows Server 2008, 2012, 2016, 2019, 2022
  • Microsoft Windows 10 (versions 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (versions 21H2, 22H2)

Discovery Timeline

  • September 12, 2023 - CVE-2023-36792 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-36792

Vulnerability Analysis

This vulnerability stems from improper handling of integer operations within the .NET Framework and Visual Studio components. When processing specially crafted input, an integer overflow condition can occur, leading to incorrect memory allocation sizes. This memory corruption can subsequently be leveraged by an attacker to achieve arbitrary code execution.

The attack requires local access and user interaction, meaning an attacker must convince a user to open a malicious file or project within Visual Studio. However, given that developers frequently open project files and code from various sources, including open-source repositories and external contributors, this attack vector presents a realistic threat in development environments.

The impact of successful exploitation is severe, affecting confidentiality, integrity, and availability of the compromised system. An attacker could install malware, exfiltrate sensitive source code, inject backdoors into projects under development, or pivot to other systems on the network.

Root Cause

The root cause of CVE-2023-36792 is an Integer Overflow vulnerability (CWE-190). Integer overflow occurs when an arithmetic operation produces a numeric value that exceeds the range that can be represented by the data type. In this case, when Visual Studio processes certain input data, calculations involving sizes or offsets can overflow, resulting in a smaller-than-expected buffer allocation. Subsequent operations that write to this undersized buffer cause heap corruption, which attackers can exploit for code execution.

Attack Vector

The attack vector for CVE-2023-36792 requires local access with user interaction. An attacker would typically:

  1. Create a malicious project file, solution, or code artifact that contains specially crafted data designed to trigger the integer overflow
  2. Distribute this malicious content through channels developers commonly trust, such as code repositories, project templates, or shared development resources
  3. Wait for a victim to open the malicious file in an affected version of Visual Studio
  4. Upon opening, the integer overflow is triggered, corrupting memory and allowing the attacker's payload to execute with the user's privileges

This attack is particularly dangerous in development environments where opening third-party code and projects is routine practice.

Detection Methods for CVE-2023-36792

Indicators of Compromise

  • Unexpected crashes or abnormal termination of Visual Studio processes (devenv.exe)
  • Suspicious child processes spawned by Visual Studio executables
  • Anomalous memory allocation patterns or access violations in .NET Framework components
  • Unexpected network connections originating from development tool processes

Detection Strategies

  • Monitor Visual Studio and .NET Framework processes for unusual behavior using endpoint detection and response (EDR) tools
  • Implement application whitelisting to detect unauthorized code execution from development tools
  • Deploy behavioral analysis to identify exploitation attempts through memory corruption signatures
  • Utilize SentinelOne's Singularity platform to detect and prevent exploitation attempts in real-time

Monitoring Recommendations

  • Enable detailed logging for Visual Studio and .NET runtime events
  • Monitor file system access patterns for development tools opening files from untrusted locations
  • Configure SIEM alerts for suspicious process chains involving devenv.exe or dotnet.exe
  • Review and audit external code and projects before opening in development environments

How to Mitigate CVE-2023-36792

Immediate Actions Required

  • Apply the latest security updates from Microsoft for Visual Studio 2017, 2019, and 2022
  • Update all affected .NET Framework and .NET installations to patched versions
  • Verify Windows Server and Windows client systems have received the September 2023 security updates
  • Restrict access to development environments to trusted users and networks

Patch Information

Microsoft has released security updates to address CVE-2023-36792. Detailed patching information is available through the Microsoft Security Response Center. Organizations should prioritize patching development workstations and build servers, as these systems often have elevated privileges and access to sensitive source code.

Affected product versions and their corresponding patches:

  • Visual Studio 2017 version 15.9
  • Visual Studio 2019 versions 16.9 and 16.11
  • Visual Studio 2022 versions 17.2, 17.4, and 17.6
  • .NET Framework versions 3.5, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, and 4.8.1
  • .NET 6.0 and 7.0

Workarounds

  • Avoid opening project files, solutions, or code from untrusted or unverified sources until patches are applied
  • Implement network segmentation to isolate development environments from production systems
  • Use application sandboxing or virtual machines for reviewing external code contributions
  • Configure Windows Defender Application Control (WDAC) policies to restrict code execution
bash
# Verify Visual Studio installation version
# Run from Developer Command Prompt
devenv /?

# Check installed .NET Framework versions
reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP" /s

# Check .NET Core/.NET versions
dotnet --list-sdks
dotnet --list-runtimes

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability1.29%

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

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update
  • Related CVEs
  • CVE-2026-32191: Microsoft Bing Images RCE Vulnerability

  • CVE-2026-21536: Microsoft Devices Pricing RCE Vulnerability

  • CVE-2026-27848: MR9600/MX4200 RCE Vulnerability

  • CVE-2021-24105: Package Manager Configurations RCE 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