Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SQL Server listener on TCP 1433
-
DeliverySend or induce client to process crafted malicious payload
-
ExploitTrigger heap-based buffer overflow in SQL Server network handler
-
ExecutionOverwrite heap metadata or function pointers
-
PersistRedirect execution flow to attacker-controlled code
-
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 | The CVSS vector (AV:N/AC:L/PR:N/UI:R) indicates that network access to the SQL Server listener is required with no authentication to the database engine, but a user interaction event must be triggered - the exact nature of this interaction is not specified in the available advisory data, and may involve a connected client application processing a crafted server response or executing a specific SQL workflow. Exploitation is limited to SQL Server 2017 and 2019 instances on their respective unpatched GDR and CU branches (versions below 15.0.2190.7/15.0.4490.9 for 2019 and 14.0.2130.4/14.0.3550.4 for 2017); SQL Server 2022 is not listed in the affected version data. Network-level firewall segmentation that blocks untrusted hosts from reaching TCP 1433 reduces the attack surface to adversaries already inside trusted network segments. |
| Impact | The CVSS 8.8 score reflects a genuine high-severity finding: network-reachable, unauthenticated, low-complexity exploitation with full C/I/A impact, held below 9.8 only by the UI:R user-interaction requirement. No EPSS data was supplied, the vulnerability is not in CISA KEV, and no public exploit code has been identified, moderating urgency somewhat. However, the AC:L rating signals that once the user-interaction trigger is met, exploitation is straightforward - even a mid-sized municipal IT team in gliwice running unpatched SQL Server 2017 or 2019 instances exposed on an internal network segment should treat this as urgent given the full remote code execution potential and SQL Server's typical high-privilege service account context. The UI:R constraint may refer to a client-side trigger such as a connected application processing a crafted server response, which could be automatable in certain deployment configurations, narrowing the gap between UI:R and UI:N in practice. |
| Exploit ScenarioDerived | An attacker with network access to TCP port 1433 on an unpatched SQL Server instance sends a crafted request that induces a connected SQL client or application to process malicious data, triggering the heap-based buffer overflow in the SQL Server process. Successful exploitation overwrites heap control structures and redirects execution, yielding code execution under the SQL Server service account - commonly a domain service account or NETWORK SERVICE with significant local and potentially Active Directory privileges. No public exploit code is known at time of analysis, but the low attack complexity rating suggests reliable exploitability once the interaction prerequisite is satisfied. |
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 and 2019 enables unauthenticated network attackers to execute arbitrary code on the database host with high impact across confidentiality, integrity, and availability. The flaw (CWE-122) is reachable without credentials over the network, though user interaction is required per the vendor CVSS vector (UI:R), placing the CVSS base score at 8.8. A vendor patch is available, and no public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Microsoft has released patches for all affected servicing branches. Administrators should upgrade SQL Server 2019 GDR deployments to 15.0.2190.7 or later, SQL Server 2019 CU 32 deployments to 15.0.4490.9 or later, SQL Server 2017 GDR deployments to 14.0.2130.4 or later, and SQL Server 2017 CU 31 deployments to 14.0.3550.4 or later. Patch details are published at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-77482. If immediate patching is not operationally feasible, restrict network access to the SQL Server listener (default TCP 1433 and 1434 for Browser service) to explicitly trusted application servers and management hosts via host-based or network firewall rules, eliminating exposure to untrusted network segments. Note that this compensating control does not eliminate risk from lateral-movement scenarios where an attacker already has access to trusted subnets.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 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 a widely deployed enterprise relational database management system targeted at Windows Server environments. CWE-122 (Heap-based Buffer Overflow) identifies the root cause as improper bounds checking on heap-allocated memory during processing of network input, allowing an attacker to overwrite adjacent heap structures, corrupt metadata, or redirect execution flow. The AV:N attack vector indicates the vulnerable code path is reachable via the SQL Server network listener - typically TCP port 1433. The PR:N metric signals that the vulnerable path can be reached without authenticating to the database engine, making the flaw pre-authentication in nature, though the UI:R metric constrains direct automated exploitation. Affected CPE ranges span SQL Server 2017 (branch 14.x) and SQL Server 2019 (branch 15.x) across both GDR and Cumulative Update servicing branches.
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:N/UI:R/S:U/C:H/I:H/A:H
Network-reachable pre-auth heap overflow yields full RCE; UI:R is the sole constraint limiting score below 9.8; all impact dimensions high.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Heap-based buffer overflow in SQL Server allows an unauthorized attacker to execute code over a network.
Executive ViewAI
Microsoft SQL Server 2017 and 2019 contain a heap-based buffer overflow reachable over the network without credentials that enables arbitrary code execution on database hosts with full impact to confidentiality, integrity, and availability, though exploitation requires user interaction. Organizations running these database platforms face critical risk of database compromise, data exfiltration, and lateral movement if the vulnerability is not promptly patched.
Patch available per vendor advisory.
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
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
Privilege escalation in Microsoft SQL Server (versions 2017, 2019, 2022, and 2025) allows a low-privileged authenticated
EUVD-2026-73175
GHSA-hgrm-pmmm-4685
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB