Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged SQL Server credentials
-
DeliveryConnect to SQL Server over TCP network
-
ExploitSend malformed query or protocol payload
-
ExecutionTrigger heap buffer overflow in server engine
-
PersistExecute arbitrary code as SQL Server service account
-
ImpactExfiltrate data or establish persistence on host
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 account with at least public/low-level privileges (PR:L per CVSS). The SQL Server instance must be network-reachable by the attacker (default TCP 1433 for default instances, or dynamic/named-instance ports). No specific non-default feature, mode, or configuration is stated in the advisory as required - the overflow appears reachable through standard authenticated network sessions. Limiting factors: an attacker without any SQL Server credentials cannot exploit this directly; environments that restrict SQL Server network exposure to specific application-tier IPs and enforce least-privilege login policies significantly reduce the realistic attack surface. |
| Impact | CVSS 8.8 High is well-justified here: AV:N eliminates physical or local-only exposure, AC:L means no special timing or conditions are required, and PR:L is the primary mitigating factor - an attacker must possess at least a low-privileged SQL Server account before exploitation. In enterprise environments where SQL Server logins are distributed to application accounts, developers, or reporting users, this bar is often low. Full C:H/I:H/A:H impact maps to complete database host compromise, including potential data exfiltration, tampering, and service disruption. No KEV listing and no public POC have been identified at time of analysis, placing this in a 'patch promptly but not emergency-drop-everything' tier absent active exploitation signals. SQL Server instances exposed directly to the internet or to broad internal networks with widely shared credentials face the highest realistic risk. |
| Exploit ScenarioDerived | An attacker who has obtained a low-privileged SQL Server login - via credential stuffing, a leaked application connection string, or a compromised application account - connects to the SQL Server over the network and sends a specially crafted T-SQL query or protocol message that overflows a heap buffer in the server process. Successful exploitation yields arbitrary code execution in the context of the SQL Server service account, which in many default deployments runs as NT SERVICE\MSSQLSERVER or a high-privilege domain account, enabling lateral movement or full data exfiltration. No public POC has been identified at time of analysis. |
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 (versions 2017 through 2025) enables any authenticated network attacker holding a low-privileged SQL Server account to achieve full remote code execution on the database host. The CVSS vector (AV:N/AC:L/PR:L/UI:N) confirms exploitation requires no user interaction and is low-complexity once a valid login is held, with complete confidentiality, integrity, and availability impact. No public exploit identified at time of analysis; Microsoft has released patches across all affected major release branches including both CU and GDR servicing tracks.
RemediationAI
Microsoft has released patches across all affected servicing branches. Administrators should upgrade to the fixed builds: SQL Server 2017 GDR to 14.0.2130.4 or later, SQL Server 2017 CU 31 to 14.0.3550.4 or later; SQL Server 2019 GDR to 15.0.2190.7 or later, SQL Server 2019 CU 32 to 15.0.4490.9 or later; SQL Server 2022 GDR to 16.0.1200.5 or later, SQL Server 2022 CU 26 to 16.0.4275.2 or later; SQL Server 2025 GDR to 17.0.1135.8 or later, SQL Server 2025 CU 8 to 17.0.4085.5 or later. Until patching is complete, compensating controls include restricting network access to TCP port 1433 (and any named-instance ports) to known application servers only via host-based firewall or network segmentation, and auditing SQL Server logins to revoke unnecessary low-privileged accounts - reducing the pool of principals who could attempt exploitation. Consult the official advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-77481 for servicing package download links.
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) in the Microsoft SQL Server engine, reachable via normal network database connections (AV:N). SQL Server allocates heap memory during query or protocol parsing; a malformed input from an authenticated session can overflow a heap buffer, corrupting adjacent allocations and enabling attacker-controlled code execution. The vulnerability spans four major SQL Server versions - 2017 (14.x), 2019 (15.x), 2022 (16.x), and 2025 (17.x) - across both General Distribution Release (GDR) branches (security-only) and Cumulative Update (CU) branches. Affected CPE data is defined per the EUVD EUVD-2026-73824 record. The low attack complexity indicates no special race condition or ASLR bypass technique is needed, suggesting the overflow is reliably triggerable.
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
PR:L confirmed by description ('authorized attacker'); AV:N and AC:L match standard network-reachable heap overflow; full C/I/A:H for code execution.
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
Microsoft SQL Server versions 2017 through 2025 contain a heap-based buffer overflow allowing any low-privileged database user to gain complete remote code execution on the database host. Organizations face critical risk exposure as developers, administrators, or account-compromise victims with low-privilege database access can escalate to full database server control, potentially leading to data theft, malware installation, or system destruction.
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
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-73824
GHSA-x655-787w-f787
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB