Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged local or SQL Server login
-
DeliveryConnect to vulnerable SQL Server instance
-
ExploitSubmit crafted input triggering heap overflow
-
ExecutionCorrupt adjacent heap memory structures
-
PersistHijack control 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 low-privileged local account on the SQL Server host machine or an authenticated SQL Server login, as established by CVSS PR:L and AV:L. The attack is local - the attacker must be able to execute SQL queries or interact directly with the SQL Server instance on the host system; network-based remote exploitation without prior local access is not indicated. No user interaction is required (UI:N), and attack complexity is low (AC:L), meaning no race condition or special timing is needed beyond holding a low-privileged credential. Limiting factors: the attacker must already possess OS-level local access or a SQL Server authentication credential, and exploitation does not cross scope boundaries into other systems (S:U). Remote unauthenticated exploitation is not supported by the available data. |
| Impact | The CVSS 7.8 (High) score with AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects a low-complexity, low-privilege local exploit with complete impact - consistent with a heap overflow reachable by any authenticated user on the SQL Server host. No EPSS score was included in the provided intelligence, so exploitation probability cannot be quantified from that signal. No KEV listing exists, and no POC has been publicly disclosed. The local attack vector meaningfully constrains opportunistic mass exploitation; however, in environments where SQL Server hosts are accessed by multiple lower-privileged users, or where an attacker has already established OS-level or SQL Server login access through another vector, this vulnerability becomes a reliable code execution primitive for privilege escalation or lateral movement. The breadth of affected versions (four major generations, eight distinct build ranges) indicates wide patch exposure across enterprise SQL Server fleets. |
| Exploit ScenarioDerived | A low-privileged SQL Server login holder or local OS user on a vulnerable SQL Server host crafts a query or stored procedure invocation that triggers the heap overflow in an internal SQL Server buffer. The overflow corrupts adjacent heap structures or function pointers, redirecting execution to attacker-controlled code. No user interaction is required and attack complexity is low, yielding code execution in the SQL Server service process context - typically a high-privilege Windows service account - on a successful attempt. |
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 allows a low-privileged local attacker to execute arbitrary code with full confidentiality, integrity, and availability impact on the SQL Server host. Affected versions span four major release generations - SQL Server 2017 through 2025 - across both Cumulative Update and GDR servicing tracks, indicating a systemic code path defect rather than an isolated regression. No public exploit code or CISA KEV listing exists at time of analysis; vendor-released patches are available for all affected builds.
RemediationAI
Apply the vendor-released cumulative updates or GDR patches for each affected track: SQL Server 2017 CU31 users should update to 14.0.3550.4 or later; SQL Server 2017 GDR users to 14.0.2130.4 or later; SQL Server 2019 CU32 users to 15.0.4490.9 or later; SQL Server 2019 GDR users to 15.0.2190.7 or later; SQL Server 2022 CU26 users to 16.0.4275.2 or later; SQL Server 2022 GDR users to 16.0.1200.5 or later; SQL Server 2025 CU8 users to 17.0.4085.5 or later; and SQL Server 2025 GDR x64 users to 17.0.1135.8 or later. Download links and release notes are available through the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68787. As a compensating control prior to patching, restrict OS-level and SQL Server login access to the minimum required set of users, and audit existing low-privileged accounts; this limits exposure since exploitation requires at least PR:L local access.
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
CWE-122 (Heap-based Buffer Overflow) identifies the root cause as a write operation that exceeds the bounds of a heap-allocated buffer within the SQL Server engine or an associated component. Such overflows can corrupt adjacent heap metadata or function pointers, enabling control-flow hijacking and arbitrary code execution within the SQL Server process. The CVSS vector AV:L/AC:L/PR:L/UI:N confirms the trigger is local and reachable by any low-privileged OS or SQL Server login without special configuration. EUVD-confirmed affected CPE ranges cover Microsoft SQL Server 2017 (14.x), 2019 (15.x), 2022 (16.x), and 2025 (17.x) across both CU and GDR release tracks, with exact build cutoffs identified per track.
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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local heap overflow reachable by any low-privileged SQL or OS user with full process-level code execution; no scope change or user interaction needed.
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 locally.
Executive ViewAI
Microsoft SQL Server versions 2017-2025 contain a heap-based buffer overflow allowing any low-privileged database user or system user to achieve complete code execution and full control of the SQL Server host. The vulnerability affects critical database infrastructure across multiple major versions and patching tracks, creating uniform exposure for organizations with unpatched deployments. Successful exploitation grants attackers access to all databases, sensitive data, and the ability to disrupt business-critical applications.
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-73190
GHSA-gprc-3mvx-rhh8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB