What’s Vulnerable › Vulnerabilities
CVE-2024-37331: SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% 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
SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability
Affected products
- Microsoft Sql Server 2016: before 13.0.6441.1; from 13.0.7000.253 before 13.0.7037.1 — fixed in 13.0.6441.1, 13.0.7037.1
- Microsoft Sql Server 2017: before 14.0.2056.2; from 14.0.3456.2 before 14.0.3471.2 — fixed in 14.0.2056.2, 14.0.3471.2
- 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 SQL Server 2016 Service Pack 3 Azure Connect Feature Pack: from 13.0.0 before 13.0.7037.1 — fixed in 13.0.7037.1
- Microsoft SQL Server 2016 Service Pack 3 (GDR): from 13.0.0 before 13.0.6441.1 — fixed in 13.0.6441.1
- Microsoft SQL Server 2017 (CU 31): from 14.0.0 before 14.0.3471.2 — fixed in 14.0.3471.2
- Microsoft SQL Server 2017 (GDR): from 14.0.0 before 14.0.2056.2 — fixed in 14.0.2056.2
- 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 Sql Server 2016 13.0.6441.1, 13.0.7037.1; Microsoft Sql Server 2017 14.0.2056.2, 14.0.3471.2; 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 SQL Server 2016 Service Pack 3 Azure Connect Feature Pack 13.0.7037.1; Microsoft SQL Server 2016 Service Pack 3 (GDR) 13.0.6441.1; Microsoft SQL Server 2017 (CU 31) 14.0.3471.2; Microsoft SQL Server 2017 (GDR) 14.0.2056.2; 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-37331
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-37331
Get alerted when CVE-2024-37331 or the next vulnerability affects your stack