CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
1.18% in 30 days
higher than 69% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
MicrosoftMicrosoft SQL Server 2022 (GDR)
x64-based Systems
from 16.0.0 before 16.0.1110.116.0.1110.1
Microsoft.NET 6.0
Unknown
from 6.0.0 before 6.0.266.0.26
Microsoft.NET 7.0
Unknown
from 7.0.0 before 7.0.157.0.15
Microsoft.NET 8.0
Unknown
from 8.0 before 8.0.18.0.1
MicrosoftMicrosoft.Data.SqlClient
Unknown
from 2.0 before 2.1.72.1.7
MicrosoftMicrosoft.Data.SqlClient
Unknown
from 3.0 before 3.1.53.1.5
MicrosoftMicrosoft.Data.SqlClient
Unknown
from 4.0 before 4.0.54.0.5
MicrosoftMicrosoft.Data.SqlClient
Unknown
from 5.0 before 5.1.35.1.3
MicrosoftSystem.Data.SqlClient
Unknown
from 1.0 before 4.8.64.8.6
MicrosoftMicrosoft Visual Studio 2022 version 17.2
Unknown
from 17.2.0 before 17.2.2317.2.23
MicrosoftMicrosoft Visual Studio 2022 version 17.4
Unknown
from 17.4.0 before 17.4.1517.4.15
MicrosoftMicrosoft Visual Studio 2022 version 17.6
Unknown
from 17.6.0 before 17.6.1117.6.11
MicrosoftMicrosoft Visual Studio 2022 version 17.8
Unknown
from 17.8.0 before 17.8.417.8.4
MicrosoftMicrosoft SQL Server 2022 (CU 10)
x64-based Systems
before 16.0.4100.116.0.4100.1
MicrosoftMicrosoft .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.024.8.04690.02
MicrosoftMicrosoft .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.024.8.04690.02
MicrosoftMicrosoft .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.034.7.04081.03
MicrosoftMicrosoft .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.024.7.04081.02
MicrosoftMicrosoft .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.014.8.09214.01
MicrosoftMicrosoft .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.89763.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?

EcosystemPackageAffectedFixed inAdvisory
NuGetMicrosoft.Data.SqlClient< 2.1.72.1.7GHSA-98g6-xh36-x2p7
NuGetSystem.Data.SqlClient< 4.8.64.8.6GHSA-98g6-xh36-x2p7
NuGetMicrosoft.Data.SqlClient>= 3.0.0, < 3.1.53.1.5GHSA-98g6-xh36-x2p7
NuGetMicrosoft.Data.SqlClient>= 4.0.0, < 4.0.54.0.5GHSA-98g6-xh36-x2p7
NuGetMicrosoft.Data.SqlClient>= 5.0.0, < 5.1.35.1.3GHSA-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?

VendorProductVersionsType
microsoftmicrosoft.data.sqlclientfrom 2.1 before 2.1.7application
microsoftmicrosoft.data.sqlclientfrom 3.1 before 3.1.5application
microsoftmicrosoft.data.sqlclientfrom 4.0 before 4.0.5application
microsoftmicrosoft.data.sqlclientfrom 5.1 before 5.1.3application
microsoftsql server2022application
microsoftsystem.data.sqlclientbefore 4.8.6application
microsoftvisual studio 2022from 17.2 before 17.2.23application
microsoftvisual studio 2022from 17.4 before 17.4.15application
microsoftvisual studio 2022from 17.6 before 17.6.11application
microsoftvisual studio 2022from 17.8 before 17.8.4application
microsoft.net frameworkfrom 4.8 before 4.8.04690.02application
microsoft.net frameworkfrom 4.8 before 4.8.04690.01application
microsoft.net framework4.6.2application
microsoft.net framework4.7application
microsoft.net framework4.7.1application
microsoft.net framework4.7.2application
microsoft.net framework3.5application
microsoft.net framework4.8.1application
microsoft.net framework2.0application
microsoft.netfrom 6.0.0 before 6.0.26application
microsoft.netfrom 7.0.0 before 7.0.15application
microsoft.net8.0.0application

NVD analysis (status Modified), last modified June 17, 2026, 06:52 UTC.

How severe is CVE-2024-0056?

ScoreVersionVectorSource
High 8.7CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N/E:U/RL:O/RC:Cmicrosoft

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?

Where are the vendor advisories and references?

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)?

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.