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

CVE-2023-21718

Microsoft ODBC Driver for SQL Server Remote Code Execution

VendormicrosoftPublishedFeb 14, 2023SourceNVDWeaknessCWE-191
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 · 7.8
CVSS base score
Exploitation
Not observed
No known exploitation or public exploit
Exploit likelihood
0.75%
Chance of exploitation in 30 days (EPSS)
Exposure
Local only
Requires local access to the host
01

What's the risk?

An unauthenticated attacker, with local access to the host, 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 ODBC Driver for SQL Server Remote Code Execution Vulnerability

How it's exploitedMITRE ATT&CK · inferred from weakness & vector
Privilege Escalation
T1068Exploitation for Privilege Escalation

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?

8
  • Affectedmicrosoft · sql_server2008
  • Affectedmicrosoft · sql_server2008_r2
  • Affectedmicrosoft · sql_server2012
  • Affectedmicrosoft · sql_server2014
  • Affectedmicrosoft · sql_server2016
  • Affectedmicrosoft · sql_server2017
  • Affectedmicrosoft · sql_server2019
  • Affectedmicrosoft · sql_server
2022
03

What to do

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

  1. !

    Mitigate now

    Isolate SQL Server instances and systems using the ODBC driver on a network segment with restricted access. Implement robust network firewalls to limit inbound connections to only trusted sources and necessary ports. Enforce the principle of least privilege for all applications and service accounts interacting with SQL Server via the ODBC driver.

  2. ✓

    Permanent fix

    Apply the security update provided by Microsoft for the affected ODBC Driver for SQL Server versions immediately. Verify successful installation of the patch on all systems where the driver is installed and in use. Ensure a robust patch management process is in place for all database drivers and related components to maintain ongoing security.

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

Business impact

A successful exploit allows an unauthenticated attacker to execute arbitrary code on the system with the privileges of the application utilizing the vulnerable ODBC driver. This can lead to full system compromise, data exfiltration, or further lateral movement within the network, severely impacting data confidentiality, integrity, and availability.

Weakness

1
CWE-191Common Weakness Enumeration · MITRE definition

CVSS 3.1 details

CVSS:3.1/AV:L/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:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Exploitability metrics
Attack VectorAV
Requires local access to the target
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 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-38169

Microsoft SQL OLE DB Remote Code Execution Vulnerability

microsoftCWE-416Use After FreeNetworkLow effortNo authUser neededCIA
2023-08-08
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-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-21718
Published
Feb 14, 2023
Last modified
Aug 19, 2026
CVSS
7.8 (v3.1)
EPSS
0.75%
In CISA KEV
No
Confidence
92/100
Weakness
CWE-191
Timeline
  1. Feb 14, 2023Published to NVDNVD
  2. Aug 19, 2026Record last modifiedNVD
  3. Aug 20, 2026AI analysis generatedWavense
View on NVD