What’s Vulnerable › Vulnerabilities
CVE-2023-29356: Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-06-16 · updated 2026-06-17
- Weakness: CWE-416
Description
Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
Affected products
- Microsoft Odbc Driver For Sql Server: from 17.0.1.1 before 17.10.4.1; from 18.0.1.1 before 18.2.1.1 — fixed in 17.10.4.1, 18.2.1.1
- 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 Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0 before 16.11.33 — fixed in 16.11.33
- Microsoft Visual Studio 2022 version 17.2: from 17.2.0 before 17.2.23 — fixed in 17.2.23
- Microsoft Visual Studio 2022 version 17.4: from 17.4.0 before 17.4.15 — fixed in 17.4.15
- Microsoft Visual Studio 2022 version 17.6: from 17.6.0 before 17.6.11 — fixed in 17.6.11
- Microsoft Visual Studio 2022 version 17.8: from 17.8.0 before 17.8.4 — fixed in 17.8.4
How to fix
Upgrade to a fixed version: Microsoft Odbc Driver For Sql Server 17.10.4.1, 18.2.1.1; 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 Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) 16.11.33; Microsoft Visual Studio 2022 version 17.2 17.2.23; Microsoft Visual Studio 2022 version 17.4 17.4.15; Microsoft Visual Studio 2022 version 17.6 17.6.11; Microsoft Visual Studio 2022 version 17.8 17.8.4. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29356
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29356
Get alerted when CVE-2023-29356 or the next vulnerability affects your stack