# Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

CVE record · `CVE-2024-28943`

- **Identifiers:** `CVE-2024-28943`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** microsoft
- **Weakness (CWE):** [CWE-122](https://cwe.mitre.org/data/definitions/122.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Microsoft SQL Server 2019 (GDR)](https://agentprime.io/advisories/technology/microsoft-sql-server-2019-gdr.md) · [Microsoft SQL Server 2022 (GDR)](https://agentprime.io/advisories/technology/microsoft-sql-server-2022-gdr.md) · [Microsoft ODBC Driver 17 for SQL Server on Windows](https://agentprime.io/advisories/technology/microsoft-odbc-driver-17-for-sql-server-on-windows.md) · [Microsoft ODBC Driver 17 for SQL Server on Linux](https://agentprime.io/advisories/technology/microsoft-odbc-driver-17-for-sql-server-on-linux.md) · [Microsoft ODBC Driver 17 for SQL Server on MacOS](https://agentprime.io/advisories/technology/microsoft-odbc-driver-17-for-sql-server-on-macos.md) · [Microsoft ODBC Driver 18 for SQL Server on Windows](https://agentprime.io/advisories/technology/microsoft-odbc-driver-18-for-sql-server-on-windows.md) · [Microsoft ODBC Driver 18 for SQL Server on Linux](https://agentprime.io/advisories/technology/microsoft-odbc-driver-18-for-sql-server-on-linux.md) · [Microsoft ODBC Driver 18 for SQL Server on MacOS](https://agentprime.io/advisories/technology/microsoft-odbc-driver-18-for-sql-server-on-macos.md) · [Microsoft SQL Server 2019 (CU 25)](https://agentprime.io/advisories/technology/microsoft-sql-server-2019-cu-25.md) · [Microsoft SQL Server 2022 for (CU 12)](https://agentprime.io/advisories/technology/microsoft-sql-server-2022-for-cu-12.md)
- **Published:** 9 Apr 2024
- **Updated:** 3 May 2025
- **Reviewed by a person:** No

Published by the CVE Program (CNA: microsoft) at 9 Apr 2024, 17:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Microsoft. Product: Microsoft SQL Server 2019 (GDR).
  - affected: `15.0.0 to before 15.0.2110.4` (custom)
- Vendor: Microsoft. Product: Microsoft SQL Server 2022 (GDR).
  - affected: `16.0.0 to before 16.0.1115.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 17 for SQL Server on Windows.
  - affected: `17.0.0.0 to before 17.10.6.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 17 for SQL Server on Linux.
  - affected: `17.0.0.0 to before 17.10.6.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 17 for SQL Server on MacOS.
  - affected: `17.0.0.0 to before 17.10.6.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 18 for SQL Server on Windows.
  - affected: `18.0.0.0 to before 18.3.3.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 18 for SQL Server on Linux.
  - affected: `18.0.0.0 to before 18.3.3.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 18 for SQL Server on MacOS.
  - affected: `18.0.0.0 to before 18.3.3.1` (custom)
- Vendor: Microsoft. Product: Microsoft SQL Server 2019 (CU 25).
  - affected: `15.0.0 to before 15.0.4360.2` (custom)
- Vendor: Microsoft. Product: Microsoft SQL Server 2022 for (CU 12).
  - affected: `16.0.0 to before 16.0.4120.1` (custom)

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C`, from CNA (microsoft)

- **CISA KEV:** Not listed.
- **EPSS:** 0.024, the 83rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 9 Apr 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-28943](https://www.cve.org/CVERecord?id=CVE-2024-28943)
- [NVD: CVE-2024-28943](https://nvd.nist.gov/vuln/detail/CVE-2024-28943)

### References from the CNA

- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-28943> (vendor-advisory)

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-28943>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-28943/>. Everything for agents: <https://agentprime.io/llms.txt>.
