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-21366

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

CVE-2024-21366 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, impact, and mitigation.

Published: May 26, 2026

CVE-2024-21366 Overview

CVE-2024-21366 is a remote code execution vulnerability in the Microsoft Windows Data Access Components (WDAC) OLE DB provider for SQL Server. The flaw is classified as a heap-based buffer overflow [CWE-122] and affects supported versions of Windows 10, Windows 11, and Windows Server. An attacker can exploit the vulnerability by convincing a user to connect to a malicious SQL Server instance, triggering code execution in the context of the client process. The vulnerability carries a CVSS 3.1 score of 8.8 and an EPSS probability of 1.92% (83.5 percentile).

Critical Impact

Successful exploitation allows network-based remote code execution on a Windows client when a user initiates a SQL Server connection to an attacker-controlled endpoint, resulting in full compromise of confidentiality, integrity, and availability.

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-21366 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-21366

Vulnerability Analysis

The vulnerability resides in the WDAC OLE DB provider for SQL Server, the client-side component Windows applications use to communicate with SQL Server instances. The component mishandles data returned from a SQL Server endpoint, producing a heap-based buffer overflow [CWE-122] in client memory. An attacker who controls a malicious SQL Server can return crafted protocol responses that overflow an internal heap buffer during connection processing. The overflow corrupts adjacent heap structures and can be steered toward arbitrary code execution within the connecting client process.

Exploitation requires user interaction. A victim must be persuaded to connect to the attacker-controlled SQL Server using a tool or application that loads the affected OLE DB provider. The attack vector is network-based and does not require prior authentication on the target client.

Root Cause

The root cause is improper validation of length or size fields in server-supplied data parsed by the OLE DB provider. The provider allocates a fixed-size heap buffer and copies attacker-controlled data into it without enforcing the destination bounds. This results in a classic heap-based buffer overflow during connection or query response handling.

Attack Vector

An attacker hosts a malicious SQL Server instance and entices a user to initiate an outbound connection. Common delivery methods include phishing links that invoke ODBC or OLE DB connection strings, malicious Office documents that trigger external data connections, or compromised internal services that redirect clients. Once the client connects, the malicious server replies with a crafted TDS (Tabular Data Stream) response that overflows the heap buffer in the OLE DB provider and executes code with the privileges of the connecting user.

No verified public proof-of-concept code is available. The vulnerability mechanism is described in prose based on the Microsoft advisory; see the Microsoft CVE-2024-21366 Advisory for vendor details.

Detection Methods for CVE-2024-21366

Indicators of Compromise

  • Outbound TCP connections from workstations to untrusted external hosts on TDS ports (default 1433 and dynamic SQL Browser port 1434/UDP).
  • Unexpected child processes spawned by applications hosting the OLE DB provider such as excel.exe, powershell.exe, or custom line-of-business clients.
  • Crash dumps or Windows Error Reporting events referencing msoledbsql.dll or sqloledb.dll with heap corruption signatures.

Detection Strategies

  • Hunt for processes loading msoledbsql.dll or sqloledb.dll that subsequently initiate outbound connections to non-corporate IP ranges.
  • Correlate Office or scripting host processes opening SQL connections immediately after document open or email link click events.
  • Alert on heap corruption exceptions (0xC0000374, 0xC0000409) in processes that consume the OLE DB provider.

Monitoring Recommendations

  • Enable Sysmon Event ID 3 (network connect) and Event ID 7 (image load) to track OLE DB provider usage across endpoints.
  • Forward Windows Defender Exploit Guard and WER telemetry to a central SIEM for heap-overflow signal correlation.
  • Apply egress filtering at perimeter firewalls to block SQL Server protocol traffic to unapproved destinations.

How to Mitigate CVE-2024-21366

Immediate Actions Required

  • Apply the February 2024 Microsoft security updates referenced in the Microsoft CVE-2024-21366 Advisory to all affected Windows client and server systems.
  • Inventory endpoints with the WDAC OLE DB provider installed and prioritize patching for users who routinely connect to external SQL Server instances.
  • Block outbound TDS traffic (TCP 1433, UDP 1434) at the perimeter except to approved internal SQL Server hosts.

Patch Information

Microsoft addressed CVE-2024-21366 in the February 13, 2024 Patch Tuesday release. The fix is delivered through cumulative Windows updates for each supported Windows 10, Windows 11, and Windows Server build listed in the advisory. Administrators should validate that the corresponding KB article for each Windows version is installed and that systems have rebooted to complete patch application.

Workarounds

  • Restrict the ability of users to initiate outbound SQL Server connections to untrusted networks using host firewall rules and Windows Defender Firewall outbound policies.
  • Disable or remove the legacy WDAC OLE DB provider on systems that do not require SQL Server connectivity.
  • Enforce attack surface reduction rules that block Office applications from creating child processes and from making outbound network connections.
bash
# Block outbound SQL Server TDS traffic from a Windows endpoint
New-NetFirewallRule -DisplayName "Block Outbound SQL TDS" `
  -Direction Outbound -Protocol TCP -RemotePort 1433 `
  -Action Block -Profile Any

New-NetFirewallRule -DisplayName "Block Outbound SQL Browser" `
  -Direction Outbound -Protocol UDP -RemotePort 1434 `
  -Action Block -Profile Any

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 CVE-2024-21366 Advisory
  • 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