{"schemaVersion":3,"id":"CVE-2023-29356","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability","dates":{"published":"2023-06-16T00:44:27.384Z","modified":"2025-02-28T21:09:01.066Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00603,"percentile":0.47816,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00603},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00603,"percentile":0.47816}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00603,"percentile":0.47816}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"microsoft","product":"microsoft odbc driver 17 for sql server on linux","name":"Microsoft ODBC Driver 17 for SQL Server on Linux","label":"microsoft odbc driver 17 for sql server on linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.0.0.0, < 17.10.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.0.0.0, < 17.10.4.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_odbc_driver_17_for_sql_server_on_linux"},{"vendor":"microsoft","product":"microsoft odbc driver 17 for sql server on macos","name":"Microsoft ODBC Driver 17 for SQL Server on MacOS","label":"microsoft odbc driver 17 for sql server on macos","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.0.0.0, < 17.10.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.0.0.0, < 17.10.4.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_odbc_driver_17_for_sql_server_on_macos"},{"vendor":"microsoft","product":"microsoft odbc driver 17 for sql server on windows","name":"Microsoft ODBC Driver 17 for SQL Server on Windows","label":"microsoft odbc driver 17 for sql server on windows","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.0.0.0, < 17.10.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.0.0.0, < 17.10.4.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_odbc_driver_17_for_sql_server_on_windows"},{"vendor":"microsoft","product":"microsoft odbc driver 18 for sql server on linux","name":"Microsoft ODBC Driver 18 for SQL Server on Linux","label":"microsoft odbc driver 18 for sql server on linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 18.0.0.0, < 18.2.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 18.0.0.0, < 18.2.1.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_odbc_driver_18_for_sql_server_on_linux"},{"vendor":"microsoft","product":"microsoft odbc driver 18 for sql server on macos","name":"Microsoft ODBC Driver 18 for SQL Server on MacOS","label":"microsoft odbc driver 18 for sql server on macos","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 18.0.0.0, < 18.2.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 18.0.0.0, < 18.2.1.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_odbc_driver_18_for_sql_server_on_macos"},{"vendor":"microsoft","product":"microsoft odbc driver 18 for sql server on windows","name":"Microsoft ODBC Driver 18 for SQL Server on Windows","label":"microsoft odbc driver 18 for sql server on windows","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 18.0.0.0, < 18.2.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 18.0.0.0, < 18.2.2.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_odbc_driver_18_for_sql_server_on_windows"},{"vendor":"microsoft","product":"microsoft visual studio 2019 version 16.11 (includes 16.0 - 16.10)","name":"Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)","label":"microsoft visual studio 2019 version 16.11 (includes 16.0 - 16.10)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 16.11.0, < 16.11.33","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 16.11.0, < 16.11.33","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2019_version_1611_includes_160_-_1610"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.2","name":"Microsoft Visual Studio 2022 version 17.2","label":"microsoft visual studio 2022 version 17.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.2.0, < 17.2.23","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.2.0, < 17.2.23","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_172"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.4","name":"Microsoft Visual Studio 2022 version 17.4","label":"microsoft visual studio 2022 version 17.4","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.4.0, < 17.4.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.4.0, < 17.4.15","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_174"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.6","name":"Microsoft Visual Studio 2022 version 17.6","label":"microsoft visual studio 2022 version 17.6","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.6.0, < 17.6.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.6.0, < 17.6.11","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_176"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.8","name":"Microsoft Visual Studio 2022 version 17.8","label":"microsoft visual studio 2022 version 17.8","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.8.0, < 17.8.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.8.0, < 17.8.4","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_178"},{"vendor":"microsoft","product":"odbc_driver_for_sql_server","name":"odbc driver for sql server","label":"odbc_driver_for_sql_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.0.1.1, < 17.10.4.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 18.0.1.1, < 18.2.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.0.1.1, < 17.10.4.1 | ≥ 18.0.1.1, < 18.2.1.1","eol":null,"hubHref":"/vendor/microsoft/odbc_driver_for_sql_server"},{"vendor":"microsoft","product":"sql_server","name":"SQL Server","label":"sql_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2019","noFixRecorded":false,"fixedIn":null},{"text":"2022","noFixRecorded":false,"fixedIn":null}],"versionsText":"2019 | 2022","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"mssqlserver","label":"Microsoft SQL Server","category":"database"}},"hubHref":"/vendor/microsoft/sql_server"}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29356","label":"msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29356","hostname":"msrc.microsoft.com","tags":["Vendor Advisory","Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-06-16T00:44:27.384Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-28T21:09:01.066Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:22:54.107Z","stale":false,"partial":false}}