What’s Vulnerable › Vulnerabilities
CVE-2024-37334: Microsoft OLE DB 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: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-09 · updated 2026-06-17
- Weakness: CWE-122
Description
Microsoft OLE DB Driver for SQL Server Remote Code Execution Vulnerability
Affected products
- Microsoft Ole Db Driver For Sql Server: from 18.0.2 before 18.7.0004.0; from 19.0.0 before 19.3.0005.0 — fixed in 18.7.0004.0, 19.3.0005.0
- Microsoft Sql Server 2019: before 15.0.2116.2; from 15.0.4375.4 before 15.0.4382.1 — fixed in 15.0.2116.2, 15.0.4382.1
- Microsoft Sql Server 2022: before 16.0.1121.4; from 16.0.4125.3 before 16.0.4131.2 — fixed in 16.0.1121.4, 16.0.4131.2
- Microsoft OLE DB Driver 18 for SQL Server: from 18.0.0 before 18.7.0004.0 — fixed in 18.7.0004.0
- Microsoft OLE DB Driver 19 for SQL Server: from 19.0.0 before 19.3.0005.0 — fixed in 19.3.0005.0
- Microsoft SQL Server 2019 for x64-based Systems (CU 27): from 15.0.0 before 15.0.4382.1 — fixed in 15.0.4382.1
- Microsoft SQL Server 2019 (GDR): from 15.0.0 before 15.0.2116.2 — fixed in 15.0.2116.2
- Microsoft SQL Server 2022 for (CU 13): from 16.0.0 before 16.0.4131.2 — fixed in 16.0.4131.2
- Microsoft SQL Server 2022 (GDR): from 16.0.0 before 16.0.1121.4 — fixed in 16.0.1121.4
How to fix
Upgrade to a fixed version: Microsoft Ole Db Driver For Sql Server 18.7.0004.0, 19.3.0005.0; Microsoft Sql Server 2019 15.0.2116.2, 15.0.4382.1; Microsoft Sql Server 2022 16.0.1121.4, 16.0.4131.2; Microsoft OLE DB Driver 18 for SQL Server 18.7.0004.0; Microsoft OLE DB Driver 19 for SQL Server 19.3.0005.0; Microsoft SQL Server 2019 for x64-based Systems (CU 27) 15.0.4382.1; Microsoft SQL Server 2019 (GDR) 15.0.2116.2; Microsoft SQL Server 2022 for (CU 13) 16.0.4131.2; Microsoft SQL Server 2022 (GDR) 16.0.1121.4. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-37334
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-37334
Get alerted when CVE-2024-37334 or the next vulnerability affects your stack