Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged SQL Server credential
-
DeliveryConnect to TDS listener (TCP 1433)
-
ExploitSend crafted payload triggering heap overflow
-
ExecutionCorrupt heap structures / hijack execution
-
ImpactExecute arbitrary code as SQL Server process
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 authentication credential (SQL login, Windows-authenticated account, or any account granted CONNECT permission to the targeted database instance). The SQL Server TDS listener must be reachable over the network from the attacker, which is the default configuration when SQL Server is installed. No specific non-default feature or configuration beyond basic network connectivity and a low-privileged account is required. Limiting factors: the attacker must possess or obtain valid credentials before exploiting; SQL Server instances not exposed to untrusted network segments face reduced risk; environments using Windows Firewall or network-level access controls restricting port 1433 to known application servers reduce the attack surface meaningfully. |
| Impact | The CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is well-justified: the attack is network-reachable, requires no user interaction, has low complexity, and yields full C/I/A compromise on the SQL Server process. The primary limiting factor is the PR:L requirement - exploitation demands a valid credential, which is a meaningful bar in well-hardened environments but a low bar wherever shared or weak credentials are in use. The EPSS score is not provided in the input data, preventing probabilistic exploitation likelihood assessment. No CISA KEV listing is present, and no POC availability is indicated, meaning active exploitation is not confirmed at time of analysis. Even so, the combination of low complexity, broad version coverage across four major SQL Server generations, and high-impact outcome means that even a mid-sized organization running SQL Server in an internal network segment should treat this as urgent patching, given the realistic risk of a low-privileged account being leveraged for database server takeover. The absence of Scope change (S:U) suggests that exploitation is confined to the SQL Server process itself, though SQL Server often runs with elevated OS privileges (Network Service or Local System), amplifying post-exploitation impact. |
| Exploit ScenarioDerived | An attacker with a valid low-privileged SQL Server login - such as an application service account credential obtained through phishing or credential stuffing - connects to the SQL Server TDS listener over the network and sends a specially crafted query or protocol message that triggers the heap buffer overflow. The overflow corrupts heap metadata or function pointers, redirecting execution flow to attacker-controlled shellcode or ROP chain, ultimately achieving code execution under the SQL Server process identity. No public proof-of-concept has been identified at time of analysis, though low attack complexity suggests exploitation is within reach of skilled adversaries. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Remote code execution is possible in Microsoft SQL Server 2017 through 2025 via a heap-based buffer overflow (CWE-122) triggered over a network connection by a low-privileged authenticated attacker. The vulnerability spans all major in-support release branches including GDR and Cumulative Update servicing tracks, with fixed builds identified across eight distinct release configurations. No active exploitation has been confirmed in CISA KEV, but the low attack complexity and broad version coverage make this a high-priority patch target for any organization running SQL Server on the network perimeter or in multi-tenant environments.
RemediationAI
Apply the vendor-released patches via the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-67380. For SQL Server 2017, update GDR instances to 14.0.2130.4 or later, and CU31 instances to 14.0.3550.4 or later. For SQL Server 2019, update GDR instances to 15.0.2190.7 or later, and CU32 instances to 15.0.4490.9 or later. For SQL Server 2022, update GDR instances to 16.0.1200.5 or later, and CU26 instances to 16.0.4275.2 or later. For SQL Server 2025, update CU8 instances to 17.0.4085.5 or later and GDR instances to 17.0.1135.8 or later. As an interim compensating control where patching is delayed, restrict TCP port 1433 access to only trusted application hosts using firewall rules, and enforce the principle of least privilege on SQL logins to reduce the population of accounts that could be leveraged - note that this does not eliminate the vulnerability but narrows the attacker pool.
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) describes a condition where data is written beyond the allocated heap buffer boundary, enabling an attacker to corrupt adjacent memory structures. In Microsoft SQL Server, this class of vulnerability typically resides in query parsing, protocol handling, or extended stored procedure processing logic. The affected CPEs span 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. SQL Server communicates over TCP port 1433 by default using the Tabular Data Stream (TDS) protocol, meaning the network attack surface is the database listener itself. The attacker requires a valid database login (PR:L), consistent with the 'authorized attacker' language in the description, which may include any SQL login, Windows-authenticated user, or application service account.
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 SQL listener, low complexity overflow; PR:L reflects the required authenticated credential; full C/I/A reflects code execution on the database 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
Organizations running Microsoft SQL Server 2017-2025 face a critical remote code execution risk through a network-accessible vulnerability that can be exploited by any authenticated database user, including those with low-privileged accounts. The flaw affects all current servicing tracks across these major release versions, creating broad exposure without comprehensive patching. Given that SQL Server typically stores financial records, customer data, and operational intelligence, this vulnerability directly threatens data confidentiality, application availability, and regulatory compliance across the enterprise.
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
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
Privilege escalation in Microsoft SQL Server (versions 2017, 2019, 2022, and 2025) allows a low-privileged authenticated
EUVD-2026-73379
GHSA-82pw-m47h-m5xj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB