What’s Vulnerable › Vulnerabilities
CVE-2023-38169: Microsoft SQL OLE DB Remote Code Execution Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-08-08 · updated 2026-08-10
- Weakness: CWE-416
Description
Microsoft SQL OLE DB Remote Code Execution Vulnerability
Affected products
- Microsoft Odbc Driver For Sql Server: 17.0.1.1, 17.10.3.1, 17.10.4.1, 18.0.1.1, 18.1.2.1, 18.2.1.1
- Microsoft Ole Db Driver For Sql Server: 18.0.2, 18.1.0, 18.2.1, 18.2.2, 18.2.3, 18.3.0 (+7)
- Microsoft SQL Server: 2019, 2022
- Microsoft ODBC Driver 17 for SQL Server on Linux: from 17.0.0.0 before 17.10.4.1 — fixed in 17.10.4.1
- Microsoft ODBC Driver 17 for SQL Server on MacOS: from 17.0.0.0 before 17.10.4.1 — fixed in 17.10.4.1
- Microsoft ODBC Driver 17 for SQL Server on Windows: from 17.0.0.0 before 17.10.4.1 — fixed in 17.10.4.1
- Microsoft ODBC Driver 18 for SQL Server on Linux: from 18.0.0.0 before 18.2.1.1 — fixed in 18.2.1.1
- Microsoft ODBC Driver 18 for SQL Server on MacOS: from 18.0.0.0 before 18.2.1.1 — fixed in 18.2.1.1
- Microsoft ODBC Driver 18 for SQL Server on Windows: from 18.0.0.0 before 18.2.2.1 — fixed in 18.2.2.1
- Microsoft OLE DB Driver 18 for SQL Server: from 18.0.0 before 18.6.0006.0 — fixed in 18.6.0006.0
- Microsoft OLE DB Driver 19 for SQL Server: from 19.0.0 before 19.3.0001.0 — fixed in 19.3.0001.0
- Microsoft SQL Server 2019 (CU 21): from 15.0.0 before 15.0.4316.3 — fixed in 15.0.4316.3
- Microsoft SQL Server 2022 (CU 5): from 15.0.0 before 16.0.4053.3 — fixed in 16.0.4053.3
How to fix
Upgrade to a fixed version: Microsoft ODBC Driver 17 for SQL Server on Linux 17.10.4.1; Microsoft ODBC Driver 17 for SQL Server on MacOS 17.10.4.1; Microsoft ODBC Driver 17 for SQL Server on Windows 17.10.4.1; Microsoft ODBC Driver 18 for SQL Server on Linux 18.2.1.1; Microsoft ODBC Driver 18 for SQL Server on MacOS 18.2.1.1; Microsoft ODBC Driver 18 for SQL Server on Windows 18.2.2.1; Microsoft OLE DB Driver 18 for SQL Server 18.6.0006.0; Microsoft OLE DB Driver 19 for SQL Server 19.3.0001.0; Microsoft SQL Server 2019 (CU 21) 15.0.4316.3; Microsoft SQL Server 2022 (CU 5) 16.0.4053.3. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-38169
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-38169
Get alerted when CVE-2023-38169 or the next vulnerability affects your stack