Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege SQL Server credential
-
DeliveryConnect to SQL Server listener over network (TCP 1433)
-
ExploitSend crafted malformed query or protocol message
-
ExecutionTrigger heap-based buffer overflow in SQL Server process
-
PersistOverwrite heap metadata or function pointer
-
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 | Exploitation requires a valid SQL Server account with at minimum low-level privileges - such as a standard read-only database user, application service account, or guest-equivalent login (PR:L per CVSS). The attack is fully network-reachable (AV:N) with no requirement for local system access; connectivity to the SQL Server listener port (default TCP 1433) is sufficient. No user interaction is required and attack complexity is low, indicating no race conditions or precise timing are needed. The binding limiting factor is the credential requirement: fully unauthenticated exploitation from the internet is not supported by the available data. No specific SQL Server feature, configuration setting, or non-default option is identified in the available sources as a prerequisite - the overflow appears to reside in core network request processing. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H captures the key risk drivers: a low-privileged SQL Server account is sufficient, the attack requires no special complexity or user interaction, and success yields full confidentiality, integrity, and availability compromise of the SQL Server instance. No EPSS probability was provided in the input data, so near-term exploitation probability cannot be precisely quantified. The vulnerability is not currently in CISA KEV, and no public POC has been identified, which moderates immediate escalation. However, the combination of low attack complexity, authenticated-but-low-privilege access requirements, and total impact means any organization with exposed SQL Server instances should treat this as urgent - patch deferral windows should be measured in days, not weeks. |
| Exploit ScenarioDerived | An attacker who has obtained a low-privileged SQL Server login - through credential stuffing, phishing a developer, or compromising an application service account - connects to the SQL Server listener over the network and sends a crafted malformed request that triggers the heap-based buffer overflow. By overwriting adjacent heap structures, the attacker redirects SQL Server's execution flow to shellcode or a ROP chain, achieving code execution under the SQL Server service account (typically NT SERVICE\MSSQLSERVER or a domain service account). This yields full read/write access to all hosted databases, extraction of all credentials, and potential lateral movement via linked servers. |
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 2022 enables an authenticated low-privileged network attacker to execute arbitrary code on the database server host. Both the GDR and CU 26 servicing branches of SQL Server 2022 are affected, with Microsoft having released fixed builds in both channels. No public exploit code has been identified and the vulnerability is not listed in the CISA KEV catalog at time of analysis, but the low attack complexity and full network reachability make this a high-priority patching target for any organization running SQL Server 2022.
RemediationAI
Apply the Microsoft-released patches immediately: update SQL Server 2022 GDR installations to build 16.0.1200.5 or later, and CU 26 installations to 16.0.4275.2 or later, via the Microsoft Update Catalog, WSUS, or the MSRC update guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-78456. If patching cannot be completed immediately, restrict TCP 1433 (and any custom SQL Server listener ports) access to only known trusted application servers and administrative hosts using host-based firewall rules or network ACLs - this reduces the attacker pool to those with both network access and a valid low-privilege account. Additionally, audit and rotate SQL Server login credentials, particularly for service accounts, to limit the number of valid PR:L credentials in attacker reach. Note that network restriction is a compensating control only and does not eliminate the underlying flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-122 (Heap-based Buffer Overflow): attacker-controlled input triggers a write past the bounds of a heap-allocated buffer within SQL Server's network-facing query or command processing code, potentially overwriting adjacent heap metadata, vtable pointers, or return addresses. SQL Server 2022 (internal version 16.x) is affected in two servicing branches: the GDR (General Distribution Release) track up to 16.0.1200.4, and the CU (Cumulative Update) 26 track up to 16.0.4275.1. The CPE data from EUVD precisely scopes exposure to those sub-ranges. The Microsoft Security Response Center (MSRC) is the authoritative reporter via secure@microsoft.com.
Know when Sql Server 2022 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
Authenticated low-privilege network access required; heap overflow yields full confidentiality, integrity, and availability compromise with no user interaction or special complexity.
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 2022 contains a vulnerability that allows low-privileged database users to execute arbitrary code on database servers, potentially exposing sensitive business data and enabling system compromise. This affects both the standard (GDR) and regular monthly (CU 26) update tracks. Organizations running SQL Server 2022 should prioritize patching to prevent insider threats from database users and reduce risk of data breach.
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 2022
View allSQL Server 2016-2025 contains an improper access control flaw that allows authenticated network attackers to escalate pr
Heap-based buffer overflow in the Microsoft SQL Server engine (SQL Server 2022 and SQL Server 2025 on x64) can let an at
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
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-73809
GHSA-h57r-w39w-33fc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB