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

CVE-2024-28944: OLE DB Driver for SQL Server RCE Flaw

CVE-2024-28944 is a remote code execution vulnerability in Microsoft OLE DB Driver for SQL Server that enables attackers to execute arbitrary code. This article covers the technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2024-28944 Overview

CVE-2024-28944 is a remote code execution vulnerability in the Microsoft OLE DB Driver for SQL Server. The flaw stems from a numeric conversion error [CWE-197] in how the driver processes data returned from a SQL Server connection. An attacker who controls or impersonates a malicious SQL Server can execute arbitrary code in the context of a client application that connects using the affected driver. Exploitation requires user interaction, typically convincing a victim to initiate a connection to the attacker-controlled server. The vulnerability affects the standalone OLE DB Driver as well as SQL Server 2019 and SQL Server 2022 installations on x64 platforms.

Critical Impact

Successful exploitation allows arbitrary code execution on the client system with the privileges of the connecting application, leading to full compromise of confidentiality, integrity, and availability.

Affected Products

  • Microsoft OLE DB Driver for SQL Server
  • Microsoft SQL Server 2019 (x64)
  • Microsoft SQL Server 2022 (x64)

Discovery Timeline

  • 2024-04-09 - CVE-2024-28944 published to NVD as part of Microsoft's April 2024 Patch Tuesday
  • 2025-01-15 - Last updated in NVD database

Technical Details for CVE-2024-28944

Vulnerability Analysis

The vulnerability resides in the client-side Microsoft OLE DB Driver for SQL Server, the component applications use to communicate with SQL Server instances over the Tabular Data Stream (TDS) protocol. The driver mishandles numeric type conversions on data received from the server. An attacker who induces a victim client to connect to a malicious server can send specially crafted TDS responses that trigger the conversion flaw and corrupt memory in the client process. The attack scope is unchanged, meaning code executes in the context of the calling application and its associated user account.

Root Cause

The root cause is a numeric truncation or improper conversion error [CWE-197] in the driver's response-parsing routines. When the driver translates server-supplied numeric fields into client-side data structures, insufficient validation of size or range fields allows attacker-controlled values to bypass safety checks. The resulting memory corruption provides a primitive that can be developed into remote code execution against any process linking against the vulnerable msoledbsql driver.

Attack Vector

Exploitation requires the victim to connect to an attacker-controlled SQL Server endpoint. This is commonly achieved through phishing links that launch database tools, malicious connection strings embedded in Office documents or scripts, or compromise of an internal connection target. Once the client initiates the TDS handshake, the malicious server returns crafted result sets that trigger the conversion flaw. No authentication on the client side is needed because the driver itself processes the malicious response before any business logic runs.

No verified public proof-of-concept code is available. Refer to the Microsoft Security Update Guide for CVE-2024-28944 for vendor technical details.

Detection Methods for CVE-2024-28944

Indicators of Compromise

  • Outbound TDS connections (TCP/1433 or custom SQL ports) from workstations to untrusted external IP addresses.
  • Unexpected child processes spawned by applications that load msoledbsql.dll, such as sqlcmd.exe, Excel, or custom line-of-business tools.
  • Crashes or exception events in client processes referencing the OLE DB driver shortly after a database connection attempt.

Detection Strategies

  • Inventory endpoints loading msoledbsql.dll and verify file versions match patched Microsoft releases.
  • Hunt process telemetry for SQL client tools establishing connections to non-corporate destinations.
  • Correlate user-initiated document opens with subsequent outbound database protocol traffic to surface social-engineering driven exploitation.

Monitoring Recommendations

  • Alert on new outbound SQL Server connections crossing network perimeter or VPN boundaries.
  • Monitor module load events for the OLE DB driver across endpoints to maintain an authoritative software inventory.
  • Track Windows error reporting and application crash events tied to processes consuming the driver.

How to Mitigate CVE-2024-28944

Immediate Actions Required

  • Apply the April 2024 Microsoft security updates for the OLE DB Driver for SQL Server and SQL Server 2019/2022 on all affected systems.
  • Update standalone deployments of the OLE DB Driver (msoledbsql) on client workstations, application servers, and CI/CD agents.
  • Block outbound SQL Server protocol traffic to untrusted destinations at the network perimeter.

Patch Information

Microsoft released fixed versions of the OLE DB Driver for SQL Server and updates to SQL Server 2019 and 2022 on April 9, 2024. Refer to the Microsoft Security Update Guide for CVE-2024-28944 for the specific build numbers and download packages corresponding to each affected product.

Workarounds

  • Restrict client systems to connect only to known internal SQL Server endpoints using firewall egress policies.
  • Enforce application allowlisting to prevent execution of untrusted SQL client tools that could be lured into malicious connections.
  • Educate users about phishing payloads that embed connection strings in Office documents, .udl files, or scripts.
bash
# Verify installed OLE DB Driver version on Windows endpoints
Get-WmiObject Win32_Product | Where-Object { $_.Name -like "*OLE DB Driver*for SQL Server*" } | Select-Object Name, Version

# Block outbound SQL Server traffic to non-corporate ranges (example)
New-NetFirewallRule -DisplayName "Block-Outbound-TDS-External" -Direction Outbound -Protocol TCP -RemotePort 1433 -RemoteAddress Internet -Action Block

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Ole Db Driver For Sql Server

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability2.62%

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

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update CVE-2024-28944
  • Related CVEs
  • CVE-2024-29045: Microsoft OLE DB Driver RCE Vulnerability

  • CVE-2024-28940: OLE DB Driver for SQL Server RCE Flaw

  • CVE-2024-37334: OLE DB Driver for SQL Server RCE Flaw
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