# Microsoft ODBC and OLE DB Remote Code Execution Vulnerability

CVE record · `CVE-2023-29349`

- **Identifiers:** `CVE-2023-29349`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** microsoft
- **Weakness (CWE):** [CWE-191](https://cwe.mitre.org/data/definitions/191.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Microsoft OLE DB Driver 18 for SQL Server](https://agentprime.io/advisories/technology/microsoft-ole-db-driver-18-for-sql-server.md) · [Microsoft OLE DB Driver 19 for SQL Server](https://agentprime.io/advisories/technology/microsoft-ole-db-driver-19-for-sql-server.md) · [Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)](https://agentprime.io/advisories/technology/microsoft-visual-studio-2019-version-16-11-includes-16-0-16-10.md) · [Microsoft Visual Studio 2022 version 17.2](https://agentprime.io/advisories/technology/microsoft-visual-studio-2022-version-17-2.md) · [Microsoft Visual Studio 2022 version 17.4](https://agentprime.io/advisories/technology/microsoft-visual-studio-2022-version-17-4.md) · [Microsoft Visual Studio 2022 version 17.6](https://agentprime.io/advisories/technology/microsoft-visual-studio-2022-version-17-6.md) · [Microsoft Visual Studio 2022 version 17.8](https://agentprime.io/advisories/technology/microsoft-visual-studio-2022-version-17-8.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 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 17 for SQL Server on MacOS](https://agentprime.io/advisories/technology/microsoft-odbc-driver-17-for-sql-server-on-macos.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 18 for SQL Server on Windows](https://agentprime.io/advisories/technology/microsoft-odbc-driver-18-for-sql-server-on-windows.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)
- **Published:** 16 Jun 2023
- **Updated:** 28 Feb 2025
- **Reviewed by a person:** No

Published by the CVE Program (CNA: microsoft) at 16 Jun 2023, 00:44 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 OLE DB Driver 18 for SQL Server.
  - affected: `18.0.0 to before 18.6.0006.0` (custom)
- Vendor: Microsoft. Product: Microsoft OLE DB Driver 19 for SQL Server.
  - affected: `19.0.0 to before 19.3.0001.0` (custom)
- Vendor: Microsoft. Product: Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10).
  - affected: `16.11.0 to before 16.11.33` (custom)
- Vendor: Microsoft. Product: Microsoft Visual Studio 2022 version 17.2.
  - affected: `17.2.0 to before 17.2.23` (custom)
- Vendor: Microsoft. Product: Microsoft Visual Studio 2022 version 17.4.
  - affected: `17.4.0 to before 17.4.15` (custom)
- Vendor: Microsoft. Product: Microsoft Visual Studio 2022 version 17.6.
  - affected: `17.6.0 to before 17.6.11` (custom)
- Vendor: Microsoft. Product: Microsoft Visual Studio 2022 version 17.8.
  - affected: `17.8.0 to before 17.8.4` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 18 for SQL Server on MacOS.
  - affected: `18.0.0.0 to before 18.2.1.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 18 for SQL Server on Linux.
  - affected: `18.0.0.0 to before 18.2.1.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 17 for SQL Server on MacOS.
  - affected: `17.0.0.0 to before 17.10.4.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 17 for SQL Server on Linux.
  - affected: `17.0.0.0 to before 17.10.4.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 18 for SQL Server on Windows.
  - affected: `18.0.0.0 to before 18.2.2.1` (custom)
- Vendor: Microsoft. Product: Microsoft ODBC Driver 17 for SQL Server on Windows.
  - affected: `17.0.0.0 to before 17.10.4.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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/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.0060, the 49th percentile, on 6 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 16 Jun 2023. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29349> (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-2023-29349>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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