Home / Microsoft / Microsoft ODBC Driver 17 for SQL Server / CVE-2023-28304
CVE-2023-28304: is it exploited, and which versions of Microsoft ODBC Driver 17 for SQL Server are affected and fixed?
CVE-2023-28304 is an improper input validation vulnerability in Microsoft ODBC Driver 17 for SQL Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Microsoft ODBC Driver 17 for SQL Server from 17.0.0.0 before 17.10.3.1, Microsoft OLE DB Driver 18 for SQL Server from 18.0.0 before 18.6.5, Microsoft OLE DB Driver 19 for SQL Server from 19.0.0 before 19.3.0 and 1 more (CVE record by microsoft). Fixed in 17.10.3.1, 18.6.5, 19.3.0 and 18.2.1.1 (CVE record by microsoft). Severity: High (7.8, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:40 UTC.
What is CVE-2023-28304?
Microsoft ODBC and OLE DB Remote Code Execution Vulnerability
From the CVE record by microsoft, last updated February 28, 2025, 21:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft | Microsoft ODBC Driver 17 for SQL Server Unknown | from 17.0.0.0 before 17.10.3.1 | 17.10.3.1 |
| Microsoft | Microsoft OLE DB Driver 18 for SQL Server Unknown | from 18.0.0 before 18.6.5 | 18.6.5 |
| Microsoft | Microsoft OLE DB Driver 19 for SQL Server Unknown | from 19.0.0 before 19.3.0 | 19.3.0 |
| Microsoft | Microsoft ODBC Driver 18 for SQL Server Unknown | from 18.0.0.0 before 18.2.1.1 | 18.2.1.1 |
As the CVE record by microsoft states it, last updated February 28, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | odbc | from 17.0 before 17.10.3.1 | application |
| microsoft | odbc | from 18.0 before 18.2.1.1 | application |
| microsoft | ole db | from 18.0 before 18.6.5 | application |
| microsoft | ole db | from 19.1.0 before 19.3.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:47 UTC.
How severe is CVE-2023-28304?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C | microsoft |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-28304 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, February 28, 2025)
- EPSS
- 0.82% probability of exploitation activity in the next 30 days, percentile 58.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- Microsoft ODBC and OLE DB Remote Code Execution Vulnerability vendor-advisory
When was it published, and where is the official record?
- Reserved
- March 13, 2023
- Published
- April 11, 2023, 19:14 UTC
- CVE record updated
- February 28, 2025, 21:10 UTC by microsoft
- NVD
- Modified, last modified June 17, 2026, 05:47 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:40 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Microsoft ODBC Driver 17 for SQL Server?
- Apr 11, 2023CVE-2023-23375 Microsoft OLE DB Driver 18 for SQL Server: improper input validation
Every CVE in Microsoft ODBC Driver 17 for SQL Server
Questions about CVE-2023-28304
Is CVE-2023-28304 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.82% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Microsoft ODBC Driver 17 for SQL Server are affected by CVE-2023-28304?
Microsoft ODBC Driver 17 for SQL Server from 17.0.0.0 before 17.10.3.1, Microsoft OLE DB Driver 18 for SQL Server from 18.0.0 before 18.6.5, Microsoft OLE DB Driver 19 for SQL Server from 19.0.0 before 19.3.0 and Microsoft ODBC Driver 18 for SQL Server from 18.0.0.0 before 18.2.1.1, per the CVE record by microsoft. The tables above give every range the sources list.
Which version fixes CVE-2023-28304?
17.10.3.1, 18.6.5, 19.3.0 and 18.2.1.1, per the CVE record by microsoft. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-28304?
High (7.8, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2023-28304?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.