Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege SQL Server credential
-
DeliveryConnect to SQL Server over TCP/1433
-
ExploitSend crafted protocol payload
-
ExecutionTrigger heap-based buffer overflow
-
PersistCorrupt heap metadata and redirect execution
-
ImpactExecute arbitrary code as SQL Server service account
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid SQL Server login with at least low-level database privileges (PR:L per CVSS vector); no administrative or sysadmin role is needed. The vulnerable code path is reachable over the network via standard SQL Server client protocols on TCP/1433 (default) without requiring local console access or any user interaction on the server. No non-default feature enablement or special server configuration is described as a prerequisite - any SQL Server instance in the affected version ranges listening on the network is potentially vulnerable to any authenticated client. The primary limiting factor is credential acquisition: an attacker must first obtain a valid database login through credential theft, phishing, brute force, or credential reuse before triggering the overflow, which prevents fully unauthenticated automated exploitation. |
| Impact | The CVSS 8.8 score with AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects a high real-world risk: the attack path is network-accessible at low complexity, requires only a low-privileged SQL Server credential, and achieves full confidentiality, integrity, and availability compromise. The broad affected version range (four major releases, eight version/track combinations spanning 2017-2025) creates a large exposed population given SQL Server's widespread enterprise deployment. The PR:L requirement prevents fully unauthenticated automated mass exploitation, meaningfully limiting opportunistic scanning campaigns; however, it does not protect against credential-equipped attackers operating post-breach or through credential reuse. No public exploit code exists at time of analysis, and the vulnerability is not in the CISA KEV catalog, which moderates immediate urgency. Given SQL Server's common deployment with elevated service account privileges on Windows, successful exploitation frequently yields SYSTEM-level access, amplifying the real-world impact beyond what S:U alone suggests. |
| Exploit ScenarioDerived | An attacker who has obtained a low-privileged SQL Server credential - through phishing, credential reuse from a prior breach, or brute force of a weak password - connects to the SQL Server instance over TCP/1433 from any network-reachable host and sends a specially crafted database protocol payload that triggers the heap-based buffer overflow in the engine. The overflow corrupts heap metadata, enabling redirection of code execution to attacker-supplied shellcode or ROP gadget chains. The result is arbitrary code execution in the context of the SQL Server service account, which on most Windows deployments runs as Network Service, Local System, or a domain service account with elevated privileges. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Heap-based buffer overflow in Microsoft SQL Server (2017 through 2025) enables network-reachable, low-privileged authenticated attackers to execute arbitrary code on the database server. With CVSS 8.8 (AV:N/AC:L/PR:L/UI:N), exploitation requires only a valid database login - no administrative privileges or user interaction - making this a credible lateral-movement vector in environments with reachable SQL Server instances. Vendor patches are available across all affected GDR and CU servicing tracks; no public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Apply the vendor-released patch for the applicable SQL Server version and servicing track: SQL Server 2017 GDR → upgrade to 14.0.2130.4; SQL Server 2017 CU 31 → upgrade to 14.0.3550.4; SQL Server 2019 GDR → upgrade to 15.0.2190.7; SQL Server 2019 CU 32 → upgrade to 15.0.4490.9; SQL Server 2022 GDR → upgrade to 16.0.1200.5; SQL Server 2022 CU 26 → upgrade to 16.0.4275.2; SQL Server 2025 GDR → upgrade to 17.0.1135.8; SQL Server 2025 CU 8 → upgrade to 17.0.4085.5. Full guidance is at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68775. Where immediate patching is not feasible, restrict SQL Server TCP/1433 (and any configured non-default ports) via host-based and network firewalls to only explicitly authorized client IP ranges - this reduces the attacker population to those already on permitted network segments. Additionally, enforce the principle of least privilege for all database accounts, revoking unnecessary login grants to shrink the set of credentials that could be used to trigger the overflow. Note that firewall restrictions do not eliminate risk from insider threats or compromised internal hosts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 8 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is classified as CWE-122 (Heap-based Buffer Overflow): attacker-controlled data is written beyond the allocated bounds of a heap buffer in the SQL Server database engine, corrupting adjacent heap metadata or data and enabling control-flow hijacking. The attack surface is the SQL Server network listener (default TCP/1433), reachable via standard database client protocols, which means no physical or local access is required. The breadth of affected versions - SQL Server 2017 (14.x), 2019 (15.x), 2022 (16.x), and 2025 (17.x) across both General Distribution Release (GDR) and Cumulative Update (CU) servicing tracks - indicates the vulnerable code path spans years of the core engine codebase. The vulnerability was reported through Microsoft's own security channel (secure@microsoft.com), consistent with internal discovery or coordinated disclosure.
Know when Sql Server 2017 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-accessible via SQL protocol; low credential sufficient; heap overflow yields full code execution; no scope change beyond the SQL Server process.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
Executive ViewAI
Microsoft SQL Server instances (versions 2017-2025) are vulnerable to code-execution attacks requiring only database login credentials-a common attack surface once application credentials are compromised. Although no public exploit is identified at this time, the risk of lateral movement from the application layer into the database layer makes prompt patching essential for organizations with network-accessible SQL Server deployments.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
More in Sql Server 2017
View allSQL Server 2016-2025 contains an improper access control flaw that allows authenticated network attackers to escalate pr
Heap-based buffer overflow in Microsoft SQL Server 2017, 2019, 2022, and 2025 (x64) can be triggered over the network an
Microsoft SQL Server Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is rem
Microsoft SQL Server Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is rem
Heap-based buffer overflow in Microsoft SQL Server 2017 and 2019 enables unauthenticated network attackers to execute ar
SQL injection in Microsoft SQL Server enables a low-privileged authenticated attacker to escalate database privileges ov
Privilege escalation in Microsoft SQL Server 2017 through 2025 allows any low-privileged authenticated database user to
Heap-based buffer overflow in Microsoft SQL Server 2017 through 2025 enables an authenticated low-privilege network atta
Remote code execution is possible in Microsoft SQL Server 2017 through 2025 via a heap-based buffer overflow (CWE-122) t
SQL injection in Microsoft SQL Server (versions 2017 through 2025) enables a network-authenticated low-privilege attacke
Heap-based buffer overflow in Microsoft SQL Server (versions 2017 through 2025) enables any authenticated network attack
Remote code execution in Microsoft SQL Server affects versions 2017 through 2025 via an integer overflow that triggers a
EUVD-2026-73391
GHSA-pqhh-6372-c5r4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB