Description
Deserialization of untrusted data in SQL Server allows an authorized attacker to execute code over a network.
Published: 2026-07-14
Score: 8.8 High
EPSS: 1.3% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Deserialization of untrusted data during certain SQL Server operations allows an authorized attacker to execute arbitrary code on a networked host. The flaw, identified by CWE-502, permits the crafting of malicious payloads that bypass normal input validation. Based on the description, it is inferred that the attacker must first obtain legitimate database credentials or otherwise be authenticated to supply the dangerous data, after which remote code execution follows.

Affected Systems

Affected versions include Microsoft SQL Server 2016 Service Pack 3 and its Azure Connect Feature Pack, SQL Server 2017 CU 31 and the corresponding GDR, SQL Server 2019 CU 32 and the corresponding GDR, SQL Server 2022 GDR and the CU 25 build for 64‑bit systems, and SQL Server 2025 CU 6 and the corresponding GDR for 64‑bit systems. All impacted releases run on x64 architecture and share the same deserialization defect.

Risk and Exploitability

The CVSS score of 8.8 classifies this flaw as high‑severity, and the EPSS score of 1 % indicates that exploitation attempts are uncommon but possible. Because it is not listed in the CISA KEV catalog, no publicly confirmed exploit exists, yet an authenticated attacker could achieve full remote control of the SQL Server instance and potentially compromise the underlying operating system. The risk profile remains high, warranting immediate attention.

Generated by OpenCVE AI on July 31, 2026 at 09:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the cumulative update or GDR that addresses CVE-2026-54118, which can be downloaded from Microsoft’s update guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-54118.
  • Restrict inbound network traffic to the SQL Server by allowing connections only from trusted hosts or IP ranges, and employ firewall rules to minimize exposure to untrusted networks.
  • Enforce least‑privilege policies on SQL Server accounts, ensuring that users operate with the minimum permissions required for their roles to diminish the impact of a successful exploit.

Generated by OpenCVE AI on July 31, 2026 at 09:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 04:45:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft microsoft Sql Server 2016 Service Pack 3 (gdr)
Microsoft microsoft Sql Server 2016 Service Pack 3 Azure Connect Feature Pack
Microsoft microsoft Sql Server 2017 (cu 31)
Microsoft microsoft Sql Server 2017 (gdr)
Microsoft microsoft Sql Server 2019 (cu 32)
Microsoft microsoft Sql Server 2019 (gdr)
Microsoft microsoft Sql Server 2022 (gdr)
Microsoft microsoft Sql Server 2022 For X64-based Systems (cu 23)
Microsoft microsoft Sql Server 2025 (cu 2)
Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)
Vendors & Products Microsoft microsoft Sql Server 2016 Service Pack 3 (gdr)
Microsoft microsoft Sql Server 2016 Service Pack 3 Azure Connect Feature Pack
Microsoft microsoft Sql Server 2017 (cu 31)
Microsoft microsoft Sql Server 2017 (gdr)
Microsoft microsoft Sql Server 2019 (cu 32)
Microsoft microsoft Sql Server 2019 (gdr)
Microsoft microsoft Sql Server 2022 (gdr)
Microsoft microsoft Sql Server 2022 For X64-based Systems (cu 23)
Microsoft microsoft Sql Server 2025 (cu 2)
Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)

Tue, 14 Jul 2026 17:15:00 +0000

Type Values Removed Values Added
Description Deserialization of untrusted data in SQL Server allows an authorized attacker to execute code over a network.
Title Microsoft SQL Server Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft sql Server 2016
Microsoft sql Server 2017
Microsoft sql Server 2019
Microsoft sql Server 2022
Microsoft sql Server 2025
Weaknesses CWE-502
CPEs cpe:2.3:a:microsoft:sql_server_2016:*:sp3:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2017:*:-:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*
Vendors & Products Microsoft
Microsoft sql Server 2016
Microsoft sql Server 2017
Microsoft sql Server 2019
Microsoft sql Server 2022
Microsoft sql Server 2025
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}


Subscriptions

Microsoft Microsoft Sql Server 2016 Service Pack 3 (gdr) Microsoft Sql Server 2016 Service Pack 3 Azure Connect Feature Pack Microsoft Sql Server 2017 (cu 31) Microsoft Sql Server 2017 (gdr) Microsoft Sql Server 2019 (cu 32) Microsoft Sql Server 2019 (gdr) Microsoft Sql Server 2022 (gdr) Microsoft Sql Server 2022 For X64-based Systems (cu 23) Microsoft Sql Server 2025 (cu 2) Microsoft Sql Server 2025 For X64-based Systems (gdr) Sql Server 2016 Sql Server 2017 Sql Server 2019 Sql Server 2022 Sql Server 2025
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-08-03T22:53:25.941Z

Reserved: 2026-06-11T20:33:37.835Z

Link: CVE-2026-54118

cve-icon Vulnrichment

Updated: 2026-07-15T10:29:17.948Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T09:30:05Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data