Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege SQL Server credentials
-
DeliveryConnect to SQL Server over TCP network
-
ExploitSend crafted query/procedure triggering heap overflow
-
ExecutionCorrupt heap memory structures
-
PersistElevate to sysadmin privileges
-
ImpactFull database instance compromise
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, authenticated SQL Server login at minimum low privilege level (CVSS PR:L). The SQL Server instance must be network-reachable from the attacker - typically TCP/1433 for default instances or dynamically assigned ports for named instances. No special SQL Server feature, non-default configuration, or user interaction is required beyond having a login. Limiting factors: the attacker cannot exploit this from the internet without first obtaining a credential; organizations using Windows Authentication integrated with Active Directory may have a smaller credential exposure surface than those using SQL Authentication with widely distributed passwords. SQL Server 2016 and earlier are not listed in the affected CPE data and appear unaffected. |
| Impact | CVSS 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is well-supported by the description: network-reachable, low complexity, requires only a valid SQL Server login (PR:L), and produces full triad impact. The primary limiting factor is PR:L - an attacker must already possess credentials, ruling out fully unauthenticated exploitation. In practice, SQL Server logins are often widely distributed among application service accounts, developers, and DBAs, so the population of potential attackers is non-trivial in enterprise environments. No EPSS value is provided in the input data; absent KEV listing and POC, real-world exploitation probability must be inferred from the vulnerability class and product footprint alone. Heap overflows in mature database engines are non-trivial to exploit reliably (AC:L in CVSS may be optimistic), but the vendor's own assessment assigns AC:L, which is taken at face value. Risk is real and warrants prompt patching, particularly for internet-facing or multi-tenant SQL Server instances. |
| Exploit ScenarioDerived | An attacker holding a low-privilege SQL Server login - such as a compromised application service account or a developer credential obtained via phishing - connects to the SQL Server instance over the network and submits a specially crafted query or stored-procedure call that triggers the heap-based buffer overflow in the database engine. The corrupted heap memory enables the attacker to overwrite control structures and elevate their effective privileges within SQL Server, potentially reaching sysadmin-level access and gaining full control over all databases and server-level operations. No public exploit code has been identified at time of analysis, but the vulnerability class (CWE-122) is well-understood and exploit development is feasible for skilled researchers. |
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 enables an authenticated, low-privileged network attacker to escalate privileges to full control of the database instance. Affected versions span SQL Server 2017 through the newly released SQL Server 2025 across both Cumulative Update (CU) and General Distribution Release (GDR) servicing tracks. Vendor-released patches are available; no public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Apply the appropriate Microsoft-released cumulative update or GDR patch for each installed SQL Server version: SQL Server 2025 CU8 users should upgrade to 17.0.4085.5 or later; SQL Server 2025 GDR users to 17.0.1135.8 or later; SQL Server 2022 CU users to 16.0.4275.2 or later; SQL Server 2022 GDR users to 16.0.1200.5 or later; SQL Server 2019 CU users to 15.0.4490.9 or later; SQL Server 2019 GDR users to 15.0.2190.7 or later; SQL Server 2017 CU users to 14.0.3550.4 or later; SQL Server 2017 GDR users to 14.0.2130.4 or later. Full patch guidance is at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-67381. If immediate patching is not possible, reduce exposure by restricting network access to the SQL Server port (TCP/1433 and named instance ports) to trusted hosts only via host-based firewall or network ACLs - this does not eliminate risk for authorized users but limits the attacker pool. Audit and minimize the number of SQL Server logins, removing unused or overly broad accounts, to reduce the PR:L attack surface.
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 write past the end of a heap-allocated buffer, which in SQL Server's context can corrupt internal memory structures controlling execution flow or privilege context. SQL Server processes queries and commands from authenticated clients over the network (default TCP/1433), making this reachable without physical access. The flaw spans eight distinct product builds across four major versions (2017/14.x, 2019/15.x, 2022/16.x, 2025/17.x), both CU and GDR servicing branches, suggesting the vulnerable code path is present in the shared engine component rather than a version-specific feature. The reporter is secure@microsoft.com (Microsoft Security Response Center), indicating a coordinated internal or external disclosure.
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 via TCP, low privilege login required (PR:L), no user interaction; full triad impact from privilege escalation to sysadmin.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Heap-based buffer overflow in SQL Server allows an authorized attacker to elevate privileges over a network.
Executive ViewAI
Microsoft SQL Server versions 2017-2025 contain a heap-based buffer overflow that allows any authenticated database user with low privileges to escalate to complete control of the database instance. Organizations running affected SQL Server versions across both maintenance tracks face risk of unauthorized data access, modification, and service disruption from their own user base.
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-73380
GHSA-p386-p34m-xfc6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB