What’s Vulnerable › Vulnerabilities
CVE-2024-28941: Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-09 · updated 2026-06-17
- Weakness: CWE-122
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.6.1; from 18.0.1.1 before 18.3.3.1 — fixed in 17.10.6.1, 18.3.3.1
- Microsoft Sql Server 2019: from 15.0.2000.5 before 15.0.2110.4; from 15.0.4003.23 before 15.0.4360.2 — fixed in 15.0.2110.4, 15.0.4360.2
- Microsoft Sql Server 2022: from 16.0.1000.6 before 16.0.1115.1; from 16.0.4003.1 before 16.0.4120.1 — fixed in 16.0.1115.1, 16.0.4120.1
- Microsoft ODBC Driver 17 for SQL Server on Linux: from 17.0.0.0 before 17.10.6.1 — fixed in 17.10.6.1
- Microsoft ODBC Driver 17 for SQL Server on MacOS: from 17.0.0.0 before 17.10.6.1 — fixed in 17.10.6.1
- Microsoft ODBC Driver 17 for SQL Server on Windows: from 17.0.0.0 before 17.10.6.1 — fixed in 17.10.6.1
- Microsoft ODBC Driver 18 for SQL Server on Linux: from 18.0.0.0 before 18.3.3.1 — fixed in 18.3.3.1
- Microsoft ODBC Driver 18 for SQL Server on MacOS: from 18.0.0.0 before 18.3.3.1 — fixed in 18.3.3.1
- Microsoft ODBC Driver 18 for SQL Server on Windows: from 18.0.0.0 before 18.3.3.1 — fixed in 18.3.3.1
- Microsoft SQL Server 2019 (CU 25): from 15.0.0 before 15.0.4360.2 — fixed in 15.0.4360.2
- Microsoft SQL Server 2019 (GDR): from 15.0.0 before 15.0.2110.4 — fixed in 15.0.2110.4
- Microsoft SQL Server 2022 for (CU 12): from 16.0.0 before 16.0.4120.1 — fixed in 16.0.4120.1
- Microsoft SQL Server 2022 (GDR): from 16.0.0 before 16.0.1115.1 — fixed in 16.0.1115.1
How to fix
Upgrade to a fixed version: Microsoft Odbc Driver For Sql Server 17.10.6.1, 18.3.3.1; Microsoft Sql Server 2019 15.0.2110.4, 15.0.4360.2; Microsoft Sql Server 2022 16.0.1115.1, 16.0.4120.1; Microsoft ODBC Driver 17 for SQL Server on Linux 17.10.6.1; Microsoft ODBC Driver 17 for SQL Server on MacOS 17.10.6.1; Microsoft ODBC Driver 17 for SQL Server on Windows 17.10.6.1; Microsoft ODBC Driver 18 for SQL Server on Linux 18.3.3.1; Microsoft ODBC Driver 18 for SQL Server on MacOS 18.3.3.1; Microsoft ODBC Driver 18 for SQL Server on Windows 18.3.3.1; Microsoft SQL Server 2019 (CU 25) 15.0.4360.2; Microsoft SQL Server 2019 (GDR) 15.0.2110.4; Microsoft SQL Server 2022 for (CU 12) 16.0.4120.1. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-28941
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-28941
Get alerted when CVE-2024-28941 or the next vulnerability affects your stack