Wavense
VulnerabilitiesVendorsMy Stack
Wavense© 2026 Wavense. All rights reserved.Privacy PolicyTerms & Conditions
Vulnerabilities/CVE-2023-38169
Vulnerability dossier

CVE-2023-38169

Microsoft SQL OLE DB Remote Code Execution Vulnerability

VendormicrosoftPublishedAug 8, 2023SourceNVDWeaknessCWE-416
Plan a fix

Severe, but no confirmed exploitation yet. Schedule remediation in your next patch cycle and apply mitigations if you're exposed.

Severity
High · 8.8
CVSS base score
Exploitation
Not observed
No known exploitation or public exploit
Exploit likelihood
1%
Chance of exploitation in 30 days (EPSS)
Exposure
Remote
Exploitable over the network without credentials
01

What's the risk?

An unauthenticated attacker, remotely over the network, if a user is tricked into opening a malicious file or link, can fully compromise the system — steal data, tamper with it and take it offline.

Microsoft SQL OLE DB Remote Code Execution Vulnerability

How it's exploitedMITRE ATT&CK · inferred from weakness & vector
Execution
T1203Exploitation for Client Execution

Inferred from the weakness type (CWE) and how the flaw is reached — the techniques an attacker would chain to exploit this. Real-world corroboration appears here as threat intel is folded in.

02

Are we affected?

32
  • Affectedmicrosoft · odbc_driver_for_sql_server17.0.1.1
  • Affectedmicrosoft · odbc_driver_for_sql_server17.0.1.1
  • Affectedmicrosoft · odbc_driver_for_sql_server17.0.1.1
  • Affectedmicrosoft · odbc_driver_for_sql_server17.10.3.1
  • Affectedmicrosoft · odbc_driver_for_sql_server17.10.3.1
  • Affectedmicrosoft · odbc_driver_for_sql_server17.10.3.1
  • Affectedmicrosoft · odbc_driver_for_sql_server17.10.4.1
Affected
microsoft · odbc_driver_for_sql_server
17.10.4.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.0.1.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.0.1.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.0.1.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.1.2.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.1.2.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.1.2.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.2.1.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.2.1.1
  • Affectedmicrosoft · odbc_driver_for_sql_server18.2.1.1
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.0.2
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.1.0
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.2.1
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.2.2
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.2.3
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.3.0
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.4.0
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.5.0
  • Affectedmicrosoft · ole_db_driver_for_sql_server18.6.0
  • Affectedmicrosoft · ole_db_driver_for_sql_server19.0.0
  • Affectedmicrosoft · ole_db_driver_for_sql_server19.1.0
  • Affectedmicrosoft · ole_db_driver_for_sql_server19.2.0
  • Affectedmicrosoft · ole_db_driver_for_sql_server19.3.0
  • Affectedmicrosoft · sql_server2019
  • Affectedmicrosoft · sql_server2022
  • 03

    What to do

    Generated by Wavense from the CVE record — an immediate mitigation and the permanent fix.

    1. !

      Mitigate now

      Implement network segmentation to restrict direct access to SQL Server instances from untrusted or public networks. Enforce the principle of least privilege for SQL Server service accounts and any associated OLE DB connections, limiting their permissions to only what is strictly necessary for operation. Enhance monitoring for unusual process creation, outbound connections, or suspicious activity originating from SQL Server hosts.

    2. ✓

      Permanent fix

      The permanent resolution requires applying the latest security updates released by Microsoft for SQL Server and its OLE DB components. Administrators must identify all affected SQL Server instances across their environment and promptly install the corresponding patches to address CVE-2023-38169. Verify successful patch application and service restart to ensure the vulnerability is fully remediated and systems are protected.

    Technical details— weakness, CVSS vector & calculator, related CVEs

    Business impact

    An attacker could exploit this vulnerability to achieve remote code execution (RCE) on the underlying SQL Server host. This allows them to execute arbitrary code with the privileges of the SQL Server process, potentially leading to full system compromise, data exfiltration, or complete data destruction. The business consequences include severe data breaches, service disruption, and significant reputational and financial damage.

    Weakness

    1
    CWE-416Common Weakness Enumeration · MITRE definition

    CVSS 3.1 details

    CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    0.0
    / 10.0 base
    High severity
    CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Exploitability metrics
    Attack VectorAV
    Remotely exploitable across a network
    Attack ComplexityAC
    No special conditions required
    Privileges RequiredPR
    No authorization needed
    User InteractionUI
    A user must take an action
    Impact metrics
    ScopeS
    Impact confined to the vulnerable component
    ConfidentialityC
    Total loss of confidentiality
    IntegrityI
    Total loss of integrity
    AvailabilityA
    Total loss of availability

    Related vulnerabilities

    Other CVEs affecting odbc driver for sql server

    NVD
    8.8High
    CVE-2020-0618KEV⚙ WeaponizedExploit likely

    A remote code execution vulnerability exists in Microsoft SQL Server Reporting Services when it incorrectly handles page requests, aka 'Microsoft SQL Server Reporting Services Remote Code Execution Vulnerability'.

    microsoftCWE-502Deserialization of Untrusted DataNetworkLow effortLow privNo interactionCIA
    2020-02-11
    NVD
    8.8High
    CVE-2019-1068KEVExploit likely

    A remote code execution vulnerability exists in Microsoft SQL Server when it incorrectly handles processing of internal functions, aka 'Microsoft SQL Server Remote Code Execution Vulnerability'.

    microsoftCWE-20Improper Input ValidationNetworkLow effortLow privNo interactionCIA
    2019-07-15
    NVD
    8.8High
    CVE-2012-1856KEVExploit likely

    The TabStrip ActiveX control in the Common Controls in MSCOMCTL.OCX in Microsoft Office 2003 SP3, Office 2003 Web Components SP3, Office 2007 SP2 and SP3, Office 2010 SP1, SQL Server 2000 SP4, SQL Server 2005 SP4, SQL Server 2008 SP2, SP3, R2, R2 SP1, and R2 SP2, Commerce Server 2002 SP4, Commerce Server 2007 SP2, Commerce Server 2009 Gold and R2, Host Integration Server 2004 SP1, Visual FoxPro 8.0 SP1, Visual FoxPro 9.0 SP2, and Visual Basic 6.0 Runtime allows remote attackers to execute arbitrary code via a crafted (1) document or (2) web page that triggers system-state corruption, aka "MSCOMCTL.OCX RCE Vulnerability."

    microsoftNetworkLow effortNo authUser neededCIA
    2012-08-14
    NVD
    8.8High
    CVE-2023-21713

    Microsoft SQL Server Remote Code Execution Vulnerability

    microsoftCWE-502Deserialization of Untrusted DataNetworkLow effortLow privNo interactionCIA
    2023-02-14
    NVD
    8.8High
    CVE-2023-21705

    Microsoft SQL Server Remote Code Execution Vulnerability

    microsoftCWE-321NetworkLow effortLow privNo interactionCIA
    2023-02-14
    NVD
    7.8High
    CVE-2023-32028

    Microsoft SQL OLE DB Remote Code Execution Vulnerability

    microsoftCWE-122Heap-based Buffer OverflowLocalLow effortNo authUser neededCIA
    2023-06-16
    NVD
    7.8High
    CVE-2023-21718

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

    microsoftCWE-191Integer UnderflowLocalLow effortNo authUser neededCIA
    2023-02-14
    NVD
    7.8High
    CVE-2023-21704

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

    microsoftCWE-190Integer OverflowLocalLow effortLow privNo interactionCIA
    2023-02-14
    0.0
    / 10.0 base
    High severity
    Key facts
    CVE ID
    CVE-2023-38169
    Published
    Aug 8, 2023
    Last modified
    Aug 10, 2026
    CVSS
    8.8 (v3.1)
    EPSS
    1.32%
    In CISA KEV
    No
    Confidence
    92/100
    Weakness
    CWE-416
    Timeline
    1. Aug 8, 2023Published to NVDNVD
    2. Aug 10, 2026Record last modifiedNVD
    3. Aug 23, 2026AI analysis generatedWavense
    View on NVD