Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege SQL Server credentials
-
DeliveryConnect to SQL Server listener over network
-
ExploitSend crafted payload triggering stack-buffer overflow
-
ExecutionBypass ASLR and DEP protections
-
PersistExecute arbitrary code in SQL Server process
-
ImpactEscalate to OS-level impact via scope change
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack 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 minimum low-level privileges (PR:L) - anonymous or unauthenticated access is not sufficient. The attacker must be able to reach the SQL Server listener over a network (AV:N), typically TCP port 1433 or a configured non-default port. High attack complexity (AC:H) means the attacker must craft a precise payload to overcome Windows exploit mitigations (ASLR, DEP/NX) - this is not a point-and-click exploit. No specific non-default feature or configuration is identified as a prerequisite beyond network connectivity and a valid credential. Limiting factors for defenders: restricting SQL Server to private/internal-only network segments removes the network vector; enforcing strong credential hygiene and minimizing the number of accounts with direct SQL access reduces the authenticated-attacker pool. |
| Impact | The CVSS 8.5 score with S:C and C:H/I:H/A:H represents a serious but not trivially exploited vulnerability. The PR:L requirement confirms that an authenticated SQL Server login is a prerequisite, which substantially limits the attack surface relative to unauthenticated network exposure. AC:H further reduces real-world exploitation probability, as an attacker must precisely control memory layout and bypass Windows exploit mitigations. EPSS data is not provided; without it, quantitative exploitation probability cannot be stated. The vulnerability is not in the CISA KEV catalog and no POC has been identified, suggesting opportunistic mass exploitation is not currently occurring. Internet-exposed SQL Server instances with weak credential hygiene remain the primary concern - credential compromise followed by this exploit represents the most plausible escalation path. Organizations with SQL Server accessible only via private network segments face materially lower risk, but the scope change means even internal exploitation could lead to full host compromise. |
| Exploit ScenarioDerived | An attacker who has obtained a low-privilege SQL Server login - through credential stuffing, phishing, or lateral movement - connects to the database engine over TCP and sends a specially crafted network payload targeting a vulnerable stack buffer in a reachable SQL Server code path. Exploiting the overflow requires careful heap and stack layout manipulation to defeat ASLR and DEP, reflecting the AC:H complexity. If successful, the attacker achieves arbitrary code execution under the SQL Server service account, with scope change enabling potential escalation to OS-level access on the host. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Stack-based buffer overflow in Microsoft SQL Server 2019, 2022, and 2025 enables an authenticated network attacker with low-level privileges to execute arbitrary code, with scope change enabling impact beyond the SQL Server process itself. The vulnerability carries CVSS 8.5 (S:C) with high confidentiality, integrity, and availability impact, indicating that successful exploitation can compromise not just the database engine but potentially the underlying OS. No public exploit code has been identified at time of analysis and the vulnerability is not listed in the CISA KEV catalog, though CVSS AC:H reflects meaningful exploitation complexity requiring careful payload construction against modern memory protections.
RemediationAI
The primary fix is to apply the vendor-released cumulative updates or GDR patches from Microsoft: SQL Server 2019 CU32 users should upgrade to 15.0.4490.9; SQL Server 2019 GDR users should upgrade to 15.0.2190.7; SQL Server 2022 CU26 users should upgrade to 16.0.4275.2; SQL Server 2022 GDR users should upgrade to 16.0.1200.5; SQL Server 2025 CU8 users should upgrade to 17.0.4085.5; SQL Server 2025 GDR (x64) users should upgrade to 17.0.1135.8. Patch details and download links are available at the MSRC advisory https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-67379. As a compensating control where immediate patching is not possible, restrict SQL Server network access to trusted subnets and VPN-only connections using host-based firewall rules on TCP 1433 (and any non-default listener ports), which removes unauthenticated network reach entirely. Additionally, audit and minimize the number of SQL logins with network access, and review whether untrusted or low-privilege accounts need direct SQL Server connectivity. These controls reduce the attack surface but do not eliminate the vulnerability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 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-121 (Stack-based Buffer Overflow) describes a condition where a program writes beyond the allocated bounds of a stack buffer, overwriting adjacent stack frames, return addresses, or control data. In SQL Server's context, this likely occurs within a network-reachable code path - such as query processing, protocol parsing, or a stored procedure execution pathway - that can be triggered by an authenticated session. The affected versions span the 15.x (2019), 16.x (2022), and 17.x (2025) release trains, covering both Cumulative Update (CU) and General Distribution Release (GDR) servicing channels. Exploitation of stack overflows in modern Windows environments requires overcoming ASLR and DEP/NX mitigations, which is reflected in the AC:H metric. The S:C scope change in the CVSS vector indicates that successful exploitation can break out of the SQL Server process boundary and affect the host OS or adjacent components.
Know when Sql Server 2019 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:H/PR:L/UI:N/S:C/C:H/I:H/A:H
PR:L reflects the 'authorized attacker' prerequisite; AC:H reflects modern Windows exploit mitigations; S:C reflects OS-level scope escape potential.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Stack-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
Executive ViewAI
Microsoft SQL Server 2019, 2022, and 2025 contain a vulnerability allowing authenticated database users with minimal privileges to execute arbitrary code and compromise the underlying operating system. Organizations using these versions face data breach and system compromise risks from both internal threats and compromised database accounts.
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 stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
More in Sql Server 2019
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
Out-of-bounds read in Microsoft SQL Server 2019, 2022, and 2025 on x64 can, under specific memory conditions, be steered
Code execution is possible in Microsoft SQL Server 2019, 2022, and 2025 (x64) through an untrusted pointer dereference i
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
Remote code execution in Microsoft SQL Server 2019, 2022, and 2025 is achievable by an authenticated low-privilege attac
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
EUVD-2026-73301
GHSA-8833-9p3x-vwf3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB