A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-21365

CVE-2024-21365: Windows 10 1507 WDAC RCE Vulnerability

CVE-2024-21365 is a remote code execution vulnerability in Microsoft WDAC OLE DB provider for SQL Server affecting Windows 10 1507. Attackers can exploit this flaw to execute arbitrary code. This article covers technical details, affected systems, impact assessment, and recommended mitigation strategies.

Published: June 2, 2026

CVE-2024-21365 Overview

CVE-2024-21365 is a remote code execution vulnerability in the Microsoft Windows Data Access Components (WDAC) OLE DB provider for SQL Server. The flaw is rooted in a heap-based buffer overflow ([CWE-122]) within the provider component and allows an unauthenticated network attacker to execute arbitrary code on a vulnerable system. Exploitation requires user interaction, typically by convincing a target to connect to an attacker-controlled SQL Server instance. Microsoft published the advisory on February 13, 2024, covering all supported releases of Windows 10, Windows 11, and Windows Server.

Critical Impact

Successful exploitation grants the attacker full confidentiality, integrity, and availability impact on the target host, enabling arbitrary code execution in the context of the calling application.

Affected Products

  • Microsoft Windows 10 (1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (21H2, 22H2, 23H2)
  • Microsoft Windows Server 2008, 2012, 2016, 2019, 2022, and 2022 23H2

Discovery Timeline

  • 2024-02-13 - CVE-2024-21365 published to the National Vulnerability Database
  • 2024-02-13 - Microsoft releases security update addressing the vulnerability
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-21365

Vulnerability Analysis

The vulnerability resides in the Microsoft WDAC OLE DB provider for SQL Server, the client-side library that Windows applications use to connect to and query SQL Server databases. A heap-based buffer overflow ([CWE-122]) occurs when the provider processes malformed response data returned from a SQL Server endpoint. An attacker who controls the server side of the connection can craft network traffic that overruns a heap buffer in the client process, corrupting adjacent memory.

The attack chain typically requires the attacker to host a malicious SQL Server instance and lure a victim into initiating a connection from a client application that loads the WDAC OLE DB provider. Because the provider executes within the calling application, successful exploitation yields code execution with the privileges of that process.

The EPSS score is 1.92% with a percentile of 83.667, indicating an elevated exploitation likelihood relative to most CVEs. No public proof-of-concept exploit or CISA KEV entry exists at the time of writing.

Root Cause

The root cause is improper validation of attacker-controlled length or structural fields in SQL Server protocol responses parsed by the OLE DB provider. The provider allocates a fixed-size heap buffer based on assumed input bounds and then copies data without enforcing those bounds, leading to a heap overflow that overwrites adjacent allocations.

Attack Vector

The attack vector is network-based but requires user interaction. A typical scenario involves an attacker sending a phishing message containing a connection string, ODBC data source, or document that triggers the victim's application to open a database connection to an attacker-controlled host. Once the client connects, the malicious server returns a crafted response that triggers the overflow. Refer to the Microsoft Security Update CVE-2024-21365 advisory for protocol-level details.

Detection Methods for CVE-2024-21365

Indicators of Compromise

  • Outbound TCP connections from client workstations to untrusted external SQL Server endpoints, particularly on port 1433 or non-standard SQL ports.
  • Unexpected child processes spawned by applications that load msoledbsql.dll or sqloledb.dll, such as Office, Power BI, or custom line-of-business tools.
  • Application crashes referencing the OLE DB provider modules in Windows Error Reporting or WER dumps.

Detection Strategies

  • Hunt for processes loading the WDAC OLE DB provider DLLs followed by anomalous behavior such as shell execution, LOLBin invocation, or unexpected network egress.
  • Correlate user-initiated document opens with subsequent outbound SQL traffic to internet-facing IP addresses.
  • Inspect EDR telemetry for heap corruption signatures and exception events within msoledbsql.dll or oledb32.dll.

Monitoring Recommendations

  • Restrict and log outbound TCP traffic to SQL Server ports at the perimeter and alert on connections to non-corporate destinations.
  • Enable PowerShell, Office, and process-creation auditing to capture the parent-child chain leading to OLE DB provider use.
  • Forward Windows Error Reporting events and crash dumps for OLE DB-related faults to a centralized monitoring pipeline.

How to Mitigate CVE-2024-21365

Immediate Actions Required

  • Apply the February 2024 Microsoft security updates to all Windows 10, Windows 11, and Windows Server systems listed in the advisory.
  • Inventory endpoints with msoledbsql.dll or sqloledb.dll deployed and prioritize patching for workstations that handle external data sources.
  • Block outbound connections to untrusted SQL Server destinations at egress firewalls and proxies.
  • Train users to avoid opening database connection files (.udl, .odc, .iqy) received from untrusted sources.

Patch Information

Microsoft released the official fix on February 13, 2024 through the monthly security update channel. Administrators should consult the Microsoft Security Update CVE-2024-21365 advisory for the KB numbers applicable to each affected Windows build and deploy them via Windows Update, WSUS, or Microsoft Update Catalog.

Workarounds

  • Where patching is delayed, block TCP traffic to external SQL Server endpoints using host or perimeter firewall rules.
  • Disable or remove unused ODBC and OLE DB data sources from endpoints to reduce the exposed attack surface.
  • Enforce application allowlisting to prevent untrusted processes from loading the WDAC OLE DB provider.
bash
# Example Windows Firewall rule to block outbound SQL traffic to non-corporate networks
netsh advfirewall firewall add rule name="Block Outbound SQL 1433" \
  dir=out action=block protocol=TCP remoteport=1433 \
  remoteip=!10.0.0.0/8,!172.16.0.0/12,!192.168.0.0/16

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability1.92%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-122

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update CVE-2024-21365
  • Related CVEs
  • CVE-2026-33414: Podman HyperV Backend RCE Vulnerability

  • CVE-2026-33826: Windows Active Directory RCE Vulnerability

  • CVE-2026-32183: Windows Snipping Tool RCE Vulnerability

  • CVE-2026-32149: Windows Hyper-V RCE 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