Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege SQL Server credential
-
DeliveryConnect to SQL Server over TCP network
-
ExploitSend crafted protocol payload triggering CWE-122 heap overflow
-
ExecutionCorrupt heap metadata to hijack code 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 2025 login with at minimum basic connection privileges, as confirmed by the CVSS PR:L metric and the description's 'authorized attacker' framing. The CVSS AV:N/AC:L/UI:N metrics confirm the vulnerability is reachable over a standard network connection with no special race conditions, non-default configurations, or user interaction required beyond the initial authenticated session. Limiting factors: an attacker must first possess or obtain a valid SQL Server credential; the scope is unchanged (S:U), so the exploit does not inherently break out of the SQL Server process boundary to directly compromise adjacent systems, though code execution as the service account may enable subsequent lateral movement depending on environment privilege configuration. Both the GDR and CU8 branch installations within the stated version ranges are affected on x64 Windows platforms. |
| Impact | The CVSS 8.8 base score reflects a network-exploitable vulnerability with low authentication bar and full confidentiality, integrity, and availability impact (C:H/I:H/A:H). The AC:L metric signals no race conditions, non-default settings, or timing dependencies are required once an authenticated session is established. The absence of a CISA KEV listing and public proof-of-concept moderates immediate urgency slightly, but the combination of network reachability, heap-RCE impact class, and a single low-privilege credential as the only barrier means that once reliable exploit code is developed, attack automation becomes straightforward - even a mid-sized municipal IT team in zabrze should treat this as an urgent patching item rather than a next-maintenance-cycle deferral. EPSS data was not included in the provided input, leaving exploitation probability unquantified, but heap buffer overflows in widely-deployed database engines historically attract rapid weaponization. No conflicts exist between the CVSS vector and the description; the 'authorized attacker' framing in the description aligns precisely with PR:L. |
| Exploit ScenarioDerived | An attacker who has obtained a low-privilege SQL Server login - via credential stuffing, a compromised application service account, or internal access - connects to the database engine over the network and sends a specially crafted query or protocol message that triggers the heap buffer overflow. The overflow corrupts adjacent heap structures to redirect execution, allowing the attacker to run arbitrary code under the SQL Server service account context, potentially gaining full read/write access to all hosted databases and lateral movement capability within the environment. No public exploit code 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 2025 allows a network-authenticated low-privileged attacker to achieve remote code execution against affected database instances. Both the GDR servicing branch (below 17.0.1135.8) and the CU8 cumulative update branch (below 17.0.4085.5) are vulnerable. Microsoft has released patches via MSRC; no public exploit code has been identified at time of analysis.
RemediationAI
Microsoft has released patches for both affected servicing branches. Administrators on the SQL Server 2025 GDR track should upgrade to version 17.0.1135.8 or later; those on the CU8 track should upgrade to version 17.0.4085.5 or later. Complete patch guidance and download links are available through the Microsoft Security Response Center at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-67642. As a compensating control prior to patching, organizations should restrict network access to SQL Server ports (TCP 1433 and any configured dynamic or named-instance ports) via host-based or perimeter firewalls to allow only trusted application-tier subnets - note this may break remote management tooling and reporting services that connect directly. Additionally, auditing and revoking unnecessary SQL Server logins and service accounts reduces the pool of principals capable of triggering the vulnerability, though it does not eliminate risk given the PR:L authentication requirement.
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 vulnerability is a heap-based buffer overflow (CWE-122) in the Microsoft SQL Server 2025 database engine, reachable over the network via the standard SQL Server connection protocol. CWE-122 arises when a write operation deposits data beyond the allocated bounds of a heap buffer, enabling an attacker to corrupt adjacent heap metadata, overwrite function pointers, and redirect execution flow. Affected CPEs span two distinct servicing tracks: the GDR (General Distribution Release) branch at versions 17.0.1050.2 through below 17.0.1135.8, and the CU8 (Cumulative Update 8) branch at versions 17.0.0.0 through below 17.0.4085.5. The CVSS vector AV:N/AC:L/PR:L/UI:N confirms the flaw is exercisable over a standard network connection by any authenticated SQL Server principal without elevated rights or complex environmental preconditions.
Know when Sql Server 2025 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 heap overflow requiring only a low-privilege SQL Server credential; PR:L reflects mandatory authentication barrier; full C/I/A reflects RCE capability with no scope change.
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
A critical vulnerability in Microsoft SQL Server 2025 allows authenticated database users with basic access to execute arbitrary code with full system privileges, exposing all stored data and business operations to compromise. Organizations running SQL Server 2025 require immediate action to secure their critical data assets. Without patching, this vulnerability creates a direct path for insiders or compromised accounts to cause significant business harm.
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 2025
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
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 in Microsoft SQL Server 2025 is achievable by a network-authenticated attacker exploiting a heap-b
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
EUVD-2026-73389
GHSA-3x5q-47j3-8fw5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB