Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privilege SQL Server credentials
-
DeliveryAuthenticate to SQL Server over network (TCP 1433)
-
ExploitSend crafted request triggering heap overflow
-
ExecutionCorrupt SQL Server process heap
-
ImpactCrash SQL Server (DoS) or redirect code execution
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, high-privilege SQL Server account - described by Microsoft as an 'authorized attacker', consistent with the CVSS:3.1 PR:H metric. This means the attacker must already hold significant database access (e.g., sysadmin server role, or equivalent). Network access to SQL Server (default TCP 1433) is required, per AV:N. No special non-default configuration is indicated beyond the attacker possessing a privileged credential. The PR:H gate is the primary limiting factor: exploitation is not possible by unauthenticated external actors, anonymous guests, or low-privilege database users - only by those with DBA-level or server-role access. |
| Impact | The provided CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H, score 4.9) presents a notable tension with the advisory description. The description states the flaw 'allows an authorized attacker to execute code over a network', which would conventionally imply C:H/I:H impact; however, the vendor has scored confidentiality and integrity impact as N, reflecting only a confirmed availability (crash) outcome. This is a pattern Microsoft employs when code execution is theoretically possible via heap corruption but not yet demonstrated in a reliable, exploitable form - the CVSS reflects what has been validated rather than what is theoretically achievable. Real-world risk is meaningfully constrained by the PR:H requirement: exploitation demands an authenticated SQL Server session with significant privilege (e.g., a server-role member or DBA-level account), substantially narrowing the attacker pool to insiders, compromised service accounts, or post-breach lateral movement scenarios. No public exploit code exists and the vulnerability is not in CISA KEV, further depressing immediate operational risk. Despite CVSS 4.9, the combination of PR:H constraint and broad version coverage (four major release trains) makes patching advisable, particularly for SQL Server instances accessible from untrusted network segments or shared hosting environments. |
| Exploit ScenarioDerived | An insider attacker or a threat actor who has already compromised a high-privilege SQL Server service account authenticates to SQL Server over the network and sends a specially crafted query or protocol message that triggers the heap buffer overflow in the SQL Server process. In the minimum-impact path this crashes the SQL Server process (DoS); in a more advanced exploitation scenario, the attacker manipulates heap layout to overwrite a code pointer and redirect execution, potentially gaining code execution under the SQL Server service account context. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Heap-based buffer overflow (CWE-122) in Microsoft SQL Server allows a network-connected attacker with high database privileges to corrupt heap memory, causing at minimum a denial-of-service crash of the SQL Server process and potentially enabling code execution. Affects SQL Server versions 2017 through 2025 across both GDR and Cumulative Update servicing tracks. Microsoft has released patches for all affected versions; no public exploit code or CISA KEV listing identified at time of analysis, though the description's claim of code execution potential warrants close attention despite vendor CVSS metrics reflecting only availability impact.
RemediationAI
Apply Microsoft's released patches for the applicable servicing track: SQL Server 2017 GDR → 14.0.2130.4; SQL Server 2017 CU 31 → 14.0.3550.4; SQL Server 2019 GDR → 15.0.2190.7; SQL Server 2019 CU 32 → 15.0.4490.9; SQL Server 2022 GDR → 16.0.1200.5; SQL Server 2022 CU 26 → 16.0.4275.2; SQL Server 2025 CU8 → 17.0.4085.5; SQL Server 2025 GDR (x64) → 17.0.1135.8. The full patch guidance is published at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68785. As a compensating control where immediate patching is infeasible, restrict SQL Server network exposure via firewall rules to trusted application-tier hosts only, and audit high-privilege SQL Server logins (sysadmin, securityadmin roles) to enforce least privilege - reducing the pool of accounts that could trigger this vulnerability.
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
Microsoft SQL Server is a widely-deployed enterprise relational database management system communicating over the Tabular Data Stream (TDS) protocol on TCP port 1433. CWE-122 (Heap-based Buffer Overflow) describes a condition where a heap-allocated memory region is written beyond its declared boundary, corrupting adjacent heap metadata or object pointers. In the SQL Server context, such overflows in the SQL Server process (sqlservr.exe) can cause process crashes or, under precise exploitation conditions, enable arbitrary code execution by overwriting function pointers or vtable entries. The vulnerability spans all currently-supported major versions: SQL Server 2017 (14.x), 2019 (15.x), 2022 (16.x), and 2025 (17.x), with both the GDR (security-patch-only) and CU (cumulative update) servicing branches affected. The report originates from secure@microsoft.com, consistent with an internally discovered or coordinated-disclosure finding.
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:H/UI:N/S:U/C:N/I:N/A:H
Description asserts code execution; heap overflow RCE requires AC:H for reliable exploitation; PR:H maintained per authorized-attacker requirement; C:H/I:H if code path is achieved.
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.
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-73189
GHSA-74rx-r3vg-p4wg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB