Home / Microsoft / Microsoft SQL Server 2022 (GDR) / CVE-2024-0056
CVE-2024-0056: is it exploited, and which versions of Microsoft SQL Server 2022 (GDR) are affected and fixed?
CVE-2024-0056 is a sensitive data sent in clear text vulnerability in Microsoft SQL Server 2022 (GDR). 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, 13:38 UTC). Affected: Microsoft.Data.SqlClient before 2.1.7, System.Data.SqlClient before 4.8.6, Microsoft.Data.SqlClient from 3.0.0 before 3.1.5 and 2 more (GitHub advisory GHSA-98g6-xh36-x2p7). Fixed in 2.1.7, 4.8.6, 3.1.5, 4.0.5 and 1 more (GitHub advisory GHSA-98g6-xh36-x2p7). Severity: High (8.7, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:33 UTC.
What is CVE-2024-0056?
Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability
From the CVE record by microsoft, last updated June 3, 2025, 14:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft | Microsoft SQL Server 2022 (GDR) x64-based Systems | from 16.0.0 before 16.0.1110.1 | 16.0.1110.1 |
| Microsoft | .NET 6.0 Unknown | from 6.0.0 before 6.0.26 | 6.0.26 |
| Microsoft | .NET 7.0 Unknown | from 7.0.0 before 7.0.15 | 7.0.15 |
| Microsoft | .NET 8.0 Unknown | from 8.0 before 8.0.1 | 8.0.1 |
| Microsoft | Microsoft.Data.SqlClient Unknown | from 2.0 before 2.1.7 | 2.1.7 |
| Microsoft | Microsoft.Data.SqlClient Unknown | from 3.0 before 3.1.5 | 3.1.5 |
| Microsoft | Microsoft.Data.SqlClient Unknown | from 4.0 before 4.0.5 | 4.0.5 |
| Microsoft | Microsoft.Data.SqlClient Unknown | from 5.0 before 5.1.3 | 5.1.3 |
| Microsoft | System.Data.SqlClient Unknown | from 1.0 before 4.8.6 | 4.8.6 |
| Microsoft | Microsoft Visual Studio 2022 version 17.2 Unknown | from 17.2.0 before 17.2.23 | 17.2.23 |
| Microsoft | Microsoft Visual Studio 2022 version 17.4 Unknown | from 17.4.0 before 17.4.15 | 17.4.15 |
| Microsoft | Microsoft Visual Studio 2022 version 17.6 Unknown | from 17.6.0 before 17.6.11 | 17.6.11 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 Unknown | from 17.8.0 before 17.8.4 | 17.8.4 |
| Microsoft | Microsoft SQL Server 2022 (CU 10) x64-based Systems | before 16.0.4100.1 | 16.0.4100.1 |
| Microsoft | Microsoft .NET Framework 4.8 Windows 10 Version 1607 for 32-bit Syste, Windows 10 Version 1607 for x64-based Sy, Windows Server 2016 (Server Core install, Windows Server 2008 R2 for x64-based Sys, Windows Server 2016, Windows Server 2008 R2 for x64-based Sys | from 4.8.0 before 4.8.04690.02 | 4.8.04690.02 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.8 Windows 10 Version 1809 for 32-bit Syste, Windows 10 Version 1809 for x64-based Sy, Windows Server 2019, Windows Server 2019 (Server Core install, Windows Server 2022, Windows Server 2022 (Server Core install | from 4.8.0 before 4.8.04690.02 | 4.8.04690.02 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.7.2 Windows 10 Version 1809 for 32-bit Syste, Windows 10 Version 1809 for x64-based Sy, Windows 10 Version 1809 for ARM64-based , Windows Server 2019, Windows Server 2019 (Server Core install, Windows 10 Version 1607 for 32-bit Syste | from 4.7.0 before 4.7.04081.03 | 4.7.04081.03 |
| Microsoft | Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 Windows Server 2008 R2 for x64-based Sys, Windows Server 2008 R2 for x64-based Sys, Windows Server 2012, Windows Server 2012 (Server Core install, Windows Server 2012 R2 (Server Core inst, Windows Server 2012 R2 | from 4.7.0 before 4.7.04081.02 | 4.7.04081.02 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.8.1 Windows Server 2022 (Server Core install, Windows Server 2022, Windows 11 version 21H2 for x64-based Sy, Windows 11 version 21H2 for ARM64-based , Windows 10 Version 21H2 for 32-bit Syste, Windows 10 Version 21H2 for ARM64-based | from 4.8.1 before 4.8.09214.01 | 4.8.09214.01 |
| Microsoft | Microsoft .NET Framework 2.0 Service Pack 2 Windows Server 2008 for 32-bit Systems S, Windows Server 2008 for x64-based System | from 2.0.0 before 3.0.50727.8976 | 3.0.50727.8976 |
As the CVE record by microsoft states it, last updated June 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| NuGet | Microsoft.Data.SqlClient | < 2.1.7 | 2.1.7 | GHSA-98g6-xh36-x2p7 |
| NuGet | System.Data.SqlClient | < 4.8.6 | 4.8.6 | GHSA-98g6-xh36-x2p7 |
| NuGet | Microsoft.Data.SqlClient | >= 3.0.0, < 3.1.5 | 3.1.5 | GHSA-98g6-xh36-x2p7 |
| NuGet | Microsoft.Data.SqlClient | >= 4.0.0, < 4.0.5 | 4.0.5 | GHSA-98g6-xh36-x2p7 |
| NuGet | Microsoft.Data.SqlClient | >= 5.0.0, < 5.1.3 | 5.1.3 | GHSA-98g6-xh36-x2p7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 31, 2024. Summary: Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | microsoft.data.sqlclient | from 2.1 before 2.1.7 | application |
| microsoft | microsoft.data.sqlclient | from 3.1 before 3.1.5 | application |
| microsoft | microsoft.data.sqlclient | from 4.0 before 4.0.5 | application |
| microsoft | microsoft.data.sqlclient | from 5.1 before 5.1.3 | application |
| microsoft | sql server | 2022 | application |
| microsoft | system.data.sqlclient | before 4.8.6 | application |
| microsoft | visual studio 2022 | from 17.2 before 17.2.23 | application |
| microsoft | visual studio 2022 | from 17.4 before 17.4.15 | application |
| microsoft | visual studio 2022 | from 17.6 before 17.6.11 | application |
| microsoft | visual studio 2022 | from 17.8 before 17.8.4 | application |
| microsoft | .net framework | from 4.8 before 4.8.04690.02 | application |
| microsoft | .net framework | from 4.8 before 4.8.04690.01 | application |
| microsoft | .net framework | 4.6.2 | application |
| microsoft | .net framework | 4.7 | application |
| microsoft | .net framework | 4.7.1 | application |
| microsoft | .net framework | 4.7.2 | application |
| microsoft | .net framework | 3.5 | application |
| microsoft | .net framework | 4.8.1 | application |
| microsoft | .net framework | 2.0 | application |
| microsoft | .net | from 6.0.0 before 6.0.26 | application |
| microsoft | .net | from 7.0.0 before 7.0.15 | application |
| microsoft | .net | 8.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:52 UTC.
How severe is CVE-2024-0056?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N/E:U/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-2024-0056 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 8, 2025)
- EPSS
- 1.18% probability of exploitation activity in the next 30 days, percentile 68.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-319 Cleartext Transmission of Sensitive Information
Where are the vendor advisories and references?
- Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability vendor-advisory
When was it published, and where is the official record?
- Reserved
- November 22, 2023
- Published
- January 9, 2024, 17:56 UTC
- CVE record updated
- June 3, 2025, 14:30 UTC by microsoft
- NVD
- Modified, last modified June 17, 2026, 06:52 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:33 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Microsoft SQL Server 2022 (GDR)?
- Nov 10, 2026CVE-2026-118120 Microsoft SQL Server 2017 (GDR): SQL injection
- Nov 10, 2026CVE-2026-118119 Microsoft SQL Server 2017 (GDR): SQL injection
- Nov 10, 2026CVE-2026-118118 Microsoft SQL Server 2017 (GDR): SQL injection
- Nov 10, 2026CVE-2026-118117 Microsoft SQL Server 2017 (GDR): SQL injection
- Nov 10, 2026CVE-2026-118116 Microsoft SQL Server 2017 (GDR): SQL injection
- Nov 10, 2026CVE-2026-118115 Microsoft SQL Server 2017 (GDR): SQL injection
- Nov 10, 2026CVE-2026-118114 Microsoft SQL Server 2017 (GDR): SQL injection
- Nov 10, 2026CVE-2026-118113 Microsoft SQL Server 2017 (GDR): SQL injection
Every CVE in Microsoft SQL Server 2022 (GDR)
Questions about CVE-2024-0056
Is CVE-2024-0056 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 1.18% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Microsoft SQL Server 2022 (GDR) are affected by CVE-2024-0056?
Microsoft.Data.SqlClient before 2.1.7, System.Data.SqlClient before 4.8.6, Microsoft.Data.SqlClient from 3.0.0 before 3.1.5, Microsoft.Data.SqlClient from 4.0.0 before 4.0.5 and Microsoft.Data.SqlClient from 5.0.0 before 5.1.3, per the GitHub advisory GHSA-98g6-xh36-x2p7. The tables above give every range the sources list.
Which version fixes CVE-2024-0056?
2.1.7, 4.8.6, 3.1.5, 4.0.5 and 5.1.3, per the GitHub advisory GHSA-98g6-xh36-x2p7. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-0056?
High (8.7, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2024-0056?
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.