Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire valid SQL Server login credentials
-
DeliveryConnect to SQL Server over TCP/TDS
-
ExploitSend crafted malformed query or protocol request
-
ExecutionTrigger heap buffer overflow in vulnerable component
-
PersistCorrupt heap memory to redirect execution flow
-
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 account with at least the minimum privileges needed to establish a database connection - the description explicitly states 'authorized attacker,' and PR:L in the CVSS vector confirms this. The SQL Server instance must be reachable over the network from the attacker's position (AV:N); no user interaction from a victim is required. No special SQL Server feature, non-default configuration, or specific database role beyond a basic login is documented as required by the available advisory. Limiting factors: the attacker must possess or acquire valid SQL Server credentials; the SQL Server TDS port must be network-accessible; exploitation is constrained to the SQL Server process security context (S:U, no lateral scope change). Environments that enforce network-layer isolation of SQL Server from untrusted clients and maintain strict credential hygiene significantly reduce realistic exploitability. |
| Impact | The CVSS 8.8 score with AV:N/AC:L/PR:L/UI:N accurately captures the threat profile: this is a low-complexity, network-reachable code execution flaw that demands only a valid SQL Server login, not administrative access. The breadth of affected versions - SQL Server 2017 through 2025 in both GDR and CU release tracks - suggests the flaw is deeply embedded in a shared component, amplifying the patch surface. No EPSS score was provided in the available intelligence, and the CVE is not listed in CISA KEV, so widespread active exploitation has not been confirmed; no public exploit code is identified at time of analysis. Nevertheless, even a mid-sized municipal IT team in radom running unpatched SQL Server exposed to internal networks should treat this as a high-priority patching item, since the authentication bar is low and the impact is complete compromise. The absence of KEV status should not create false comfort - heap overflow primitives in widely deployed database servers are high-value targets for both ransomware operators and espionage actors, and exploitation complexity is rated low by Microsoft. |
| Exploit ScenarioDerived | An attacker who has obtained a low-privilege SQL Server login - through phishing, credential stuffing against exposed SQL authentication endpoints, or lateral movement within a corporate network - connects over TDS and sends a crafted request that triggers the heap buffer overflow in a vulnerable SQL Server internal component. The corrupted heap state redirects code execution to attacker-controlled shellcode or ROP chain, running arbitrary commands under the SQL Server service account context. No public exploit code has been identified at time of analysis, but the low attack complexity (AC:L) rating indicates Microsoft has assessed this as straightforward to exploit once credentials are in hand. |
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 an authenticated network attacker with low-level database credentials to achieve full remote code execution on the SQL Server host. The CVSS 8.8 (PR:L) rating reflects that any valid SQL Server login - not just a DBA - can trigger the overflow, making this dangerous in environments with broad user bases or shared credentials. No public exploit has been identified at time of analysis, but patches are available from Microsoft across all affected major versions.
RemediationAI
Apply the Microsoft security updates corresponding to your SQL Server version and update 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 → 17.0.1135.8. All fixes are available via the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68786. Where immediate patching is not possible, restrict SQL Server network exposure by blocking TCP 1433 (and any dynamic ports) from untrusted network segments via host-based or perimeter firewall rules - note this does not protect against internal authenticated attackers. Audit and reduce the set of SQL Server logins to the minimum required, and remove any shared or default credentials. Enhanced process-level monitoring on the SQL Server service account can help detect post-exploitation activity in the interim.
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 Microsoft's enterprise relational database management system, communicating with clients over the Tabular Data Stream (TDS) protocol on TCP 1433 by default. CWE-122 (Heap-based Buffer Overflow) describes a write beyond the bounds of a heap-allocated memory region - a class of flaw that commonly enables attackers to corrupt adjacent heap metadata, overwrite function or vtable pointers, and redirect execution flow. The overflow resides in a SQL Server component reachable over the network by authenticated users; the specific internal component is not disclosed in the advisory. The vulnerability spans a wide version range (SQL Server 2017 through 2025), suggesting it exists in a long-standing core code path rather than a newly introduced feature. Affected CPE ranges were confirmed through the EUVD advisory referencing MSRC and NVD sources.
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-reachable heap overflow requiring a valid SQL login (PR:L); low complexity once authenticated; full code execution yields C:H/I:H/A:H with no scope change.
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 2017 through 2025 contains a heap-based buffer overflow affecting all authenticated database users, not just administrators, enabling remote code execution and full host compromise. Any organization with SQL Server deployments and shared or broadly distributed credentials faces immediate risk of database-to-system-level privilege escalation. Patching is required urgently across all affected versions to prevent exploitation by insiders or attackers with valid SQL Server access.
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-73318
GHSA-cp2c-9r38-r3hx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB