Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-accessible SQL Server 2017/2019 instance
-
DeliveryCraft malformed TDS protocol payload triggering integer overflow
-
ExploitInduce heap undersizing in buffer allocation
-
ExecutionOverflow heap buffer with attacker-controlled data
-
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) confirms network-accessible exploitation requiring no authentication and no elevated privileges, with low attack complexity, but with a required user interaction component. The specific nature of this interaction is not detailed in the available description or references - it likely involves a database client or administrator performing an action such as connecting to a malicious server, executing a query that triggers the vulnerable parsing path, or processing a linked server response. This UI:R constraint means the vulnerability cannot be exploited in a fully automated, zero-interaction manner against passive targets. Exploitation is bounded to unpatched SQL Server 2017 and 2019 instances on both CU and GDR servicing tracks. SQL Server 2022 and later are not listed as affected. No special non-default configuration is implied beyond having a reachable SQL Server instance. |
| Impact | The CVSS 8.8 score (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects a high-priority finding: network-accessible, low complexity, no privileges required, and full confidentiality/integrity/availability impact. The PR:N rating is particularly notable because the vast majority of SQL Server code-execution paths require at minimum valid credentials, so an unauthenticated heap-overflow pathway represents a more severe real-world posture than typical SQL Server vulnerabilities - even a mid-sized municipal IT team in kalisz relying on SQL Server 2017 or 2019 as core infrastructure should treat this as urgent and patch immediately. The UI:R constraint is the primary mitigating factor: fully automated, zero-interaction mass exploitation is not consistent with this CVSS vector, and the nature of the required interaction (likely a connected client action or administrator-triggered query path) is not fully specified in available data. EPSS is not provided in available intelligence, and this CVE does not appear in CISA KEV at time of analysis. No public exploit code is known to exist, which currently limits real-world exploitation to capable, targeted threat actors. |
| Exploit ScenarioDerived | An attacker with network access to an exposed SQL Server instance (or positioned as a malicious linked server) sends a crafted TDS protocol message or triggers a specific server-side code path that processes integer arithmetic in buffer-size computation. The integer overflow causes an undersized heap allocation, which is then overflowed with attacker-controlled data, achieving arbitrary code execution as the SQL Server service account. No public exploit code is known at time of analysis, but the low attack complexity (AC:L) rating suggests exploit development would be tractable for a skilled threat actor given the heap overflow primitive. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Remote code execution in Microsoft SQL Server 2017 and 2019 is enabled by an integer overflow that precipitates a heap-based buffer overflow (CWE-122), allowing an unauthenticated network attacker to execute arbitrary code on the database host. The CVSS vector (AV:N/AC:L/PR:N/UI:R) indicates low attack complexity and no required privileges, though some user interaction is required, moderating fully automated exploitation. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis; vendor-released patches are available for all affected servicing branches.
RemediationAI
Vendor-released patches are available for all affected servicing branches. For SQL Server 2017 CU branch, upgrade to build 14.0.3550.4 or later; for the SQL Server 2017 GDR branch, upgrade to 14.0.2130.4 or later. For SQL Server 2019 CU branch, upgrade to build 15.0.4490.9 or later; for the SQL Server 2019 GDR branch, upgrade to 15.0.2190.7 or later. Download links and installation guidance are provided in the Microsoft MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-77486. Where immediate patching is not feasible, restrict network access to SQL Server port 1433 (and any named-instance dynamic ports) via host-based or network firewall to only known trusted client IP ranges, eliminating the unauthenticated remote attack surface. Additionally, review and restrict linked server configurations to trusted sources, as the UI:R constraint may implicate server-to-server interaction paths. Note that firewall restriction is a compensating control only and does not eliminate risk from already-connected or trusted internal networks.
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 exposes the Tabular Data Stream (TDS) protocol over TCP port 1433 for client communication. The vulnerability originates in an integer overflow or wraparound (the description's primary characterization) during network input processing - a classic CWE-190-to-CWE-122 escalation pattern where an arithmetic error in computing buffer size produces an undersized heap allocation, which is subsequently overflowed when attacker-controlled data is written into it. The CWE-122 (Heap-based Buffer Overflow) classification and the 'Buffer Overflow' and 'Heap Overflow' tags are consistent with this chain. Affected builds span both the Cumulative Update (CU) and General Distribution Release (GDR) servicing tracks for SQL Server 2017 (branch 14.0.x) and SQL Server 2019 (branch 15.0.x), as confirmed by EUVD version ranges. SQL Server 2022 and later versions are not listed in the affected product data.
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-accessible unauthenticated heap overflow with full code-execution impact; UI:R retained as vendor-scored given unexplained interaction requirement in available data.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Integer overflow or wraparound in SQL Server allows an unauthorized attacker to execute code over a network.
Executive ViewAI
Microsoft SQL Server 2017 and 2019 environments face remote code execution risk that could enable unauthorized system compromise and data access. Organizations running these legacy SQL Server versions should prioritize patching, as the vulnerability requires only network access and standard user interaction to exploit. Delaying remediation increases exposure to data breach, service disruption, and compliance violations.
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-73788
GHSA-p7q9-j6xv-6q58
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB