Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege SQL Server login
-
DeliverySend crafted network request to engine
-
ExploitTrigger heap buffer overflow (CWE-122)
-
ExecutionGroom heap and execute arbitrary code
-
ImpactCompromise host beyond DB scope
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 the attacker to already possess valid low-privilege authenticated access to the SQL Server instance (PR:L / 'authorized attacker'), and network reachability to the database engine's listener (AV:N). The high attack complexity (AC:H) indicates additional non-default conditions must hold - typically reliable heap layout/grooming or winning a timing-sensitive memory-corruption window - so exploitation is not guaranteed on a single attempt. No end-user interaction is needed (UI:N). Limiting factors defenders can rely on: instances that do not expose network logins to semi-trusted principals, strong segmentation of the database network, and least-privilege login hygiene substantially reduce the realistic attack surface. Affected builds span SQL Server 2017, 2019, 2022, and 2025 (GDR and CU branches) below the fixed builds listed in EUVD-2026-100604; instances already updated to the fixed build for their branch are not exploitable. |
| Impact | This is a credible mid-to-high priority issue but not a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H, base 8.5 HIGH) describes a network-reachable, scope-changing remote code execution with full confidentiality, integrity, and availability impact - but two metrics meaningfully temper the raw severity: AC:H means exploitation requires non-trivial conditions or a difficult-to-win race/memory-grooming step, and PR:L means the attacker must already hold at least low-level authenticated database access. The description's phrase 'authorized attacker' corroborates PR:L - this is NOT an unauthenticated internet-facing bug. No EPSS score, CISA KEV listing, or public POC was provided in the input, so there is no signal of active exploitation or weaponization; exploitation status is best characterized as no public exploit identified at time of analysis. The signals are internally consistent (network vector + authorized attacker + high complexity), with no contradictions to flag. Net: a vendor-confirmed, patch-available RCE in a ubiquitous enterprise database that warrants prompt patching, but the authentication requirement and high attack complexity argue against imminent mass exploitation. Priority should be driven by exposure of SQL Server instances to semi-trusted or compromisable low-privilege accounts. |
| Exploit ScenarioDerived | An attacker who has obtained low-privileged credentials to a SQL Server instance (for example a compromised application service account or a limited database login) sends specially crafted input over the network that triggers a heap-based buffer overflow in the server process. By carefully grooming the heap and winning the conditions implied by the high attack complexity, the attacker corrupts memory to execute arbitrary code in the SQL Server service context, with the changed scope allowing impact beyond the database engine's own security boundary. No public proof-of-concept exploit was identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Heap-based buffer overflow in Microsoft SQL Server lets an attacker who already holds a valid low-privilege database login execute arbitrary code on the database engine over the network, with impact crossing a security scope boundary (CVSS 8.5; AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H). Affected builds span SQL Server 2017, 2019, 2022, and 2025 across both the GDR (security-only) and cumulative-update branches, so most unpatched enterprise estates that still run older builds are in scope. Exploitation is not trivial - the high attack complexity implies reliable heap layout/grooming or a timing-sensitive corruption window must be achieved - and there is no public exploit identified at time of analysis, but a vendor patch is available and the flaw should be prioritized on internet-exposed or broadly accessible database listeners.
RemediationAI
Patch available per vendor advisory - Microsoft published a fix for this issue and the authoritative guidance, including the exact patched build number for each servicing branch, is at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-85886; the EUVD-2026-100604 ranges terminate at builds 14.0.2140.2 (2017 GDR), 14.0.3560.2 (2017 CU31), 15.0.2200.2 (2019 GDR), 15.0.4500.2 (2019 CU32), 16.0.1210.3 (2022 GDR), 16.0.4305.5 (2022 CU27), 17.0.1145.4 (2025 GDR), and 17.0.5015.4 (2025 CU9), but confirm the precise build in the vendor advisory before treating an instance as fixed since GDR and CU branches are serviced separately and an instance current on one branch may still be vulnerable on the other. Because the attack requires only a valid low-privilege login, the highest-value compensating control is shrinking the authenticated attack surface: audit and remove or disable SQL logins and Windows-authenticated principals that are not strictly required, since PR:L means any semi-trusted account can mount the attack, and note the trade-off that this may break application service accounts or reporting jobs if done without inventorying dependencies. Second, restrict network reachability to the database listener with firewall rules and network segmentation so that only application tiers and administrative jump hosts can reach the port (default 1433, plus any configured static/instance ports) - this does not eliminate risk from an already-compromised application tier but materially raises the effort, and it requires accurate port inventories to avoid outage. Third, where the SQL Server is internet-exposed through a listener (including through cloud PaaS gateways, linked servers, or poorly scoped firewall rules), remove that exposure entirely or front it with a broker, which is disruptive to clients that connect directly. Fourth, apply least privilege so that the SQL Server service account is not a local administrator and cannot write to arbitrary filesystem paths, limiting post-exploitation impact; this can break features such as xp_cmdshell-dependent jobs or backup routines that rely on elevated rights. Monitor for crashes or access violations in the database engine, unexpected process creation under the service account, and anomalous heap-corruption-style failure patterns as indicators that exploitation has been attempted, since AC:H attacks often fail before they succeed.
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
The defect is a heap-based buffer overflow (CWE-122) inside the SQL Server database engine, reachable through the network listener via a normal authenticated session that causes the engine to write past the bounds of a heap-allocated buffer. The CVSS vector is informative: AV:N confirms the attack path is the network/TDS listener rather than a local-only interface; PR:L matches the vendor's 'authorized attacker' wording and means the adversary must already possess valid low-privilege credentials, so this is a privilege-escalation and lateral-movement primitive rather than a pre-auth remote compromise; AC:H signals that additional non-default conditions must hold, typically deterministic heap grooming or winning a narrow timing window, so a single attempt is unlikely to succeed; UI:N means no victim interaction is required; and S:C indicates the resulting impact escapes the vulnerable component's security scope, consistent with code execution in the sqlservr.exe context with the service account's privileges. The affected matrix from EUVD-2026-100604 covers multiple servicing branches simultaneously - SQL Server 2017 (GDR 14.0.0 to <14.0.2140.2 and CU31 14.0.3006.16 to <14.0.3560.2), SQL Server 2019 (GDR 15.0.0 to <15.0.2200.2 and CU32 15.0.4003.23 to <15.0.4500.2), SQL Server 2022 (GDR 16.0.0 to <16.0.1210.3 and CU27 16.0.4003.1 to <16.0.4305.5), and SQL Server 2025 (GDR 17.0.1050.2 to <17.0.1145.4 and CU9 17.0.4006.2 to <17.0.5015.4) - which means remediation must be tracked per servicing branch, since GDR and CU builds are patched independently and a machine can be current on one branch while stale on the other. No CPE strings were supplied with this record, so the EUVD version ranges and the MSRC update guide are the authoritative product identification; the CWE-122 classification places this in the classic memory-corruption family where heap metadata adjacent to the overflown buffer can be leveraged to redirect control flow.
Know when Sql Server 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:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable RCE requiring an authorized low-privilege login (PR:L) and difficult memory-corruption conditions (AC:H); code execution in the service breaks the DB boundary (S:C) with full C/I/A impact.
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 high-severity memory corruption flaw in Microsoft SQL Server (CVE-2026-85886) affects the 2017, 2019, 2022, and 2025 releases across both the security-only and cumulative-update branches, meaning a large share of our database estate is likely in scope. An attacker who already holds a low-privilege database login could use it to run code on the database engine over the network, crossing a trust boundary and putting the confidentiality, integrity, and availability of hosted business data at risk. Leadership should care because the blast radius extends beyond the database itself to any downstream application or customer data it serves, and remediation requires coordinated patching across many builds rather than a single fix.
Patch available per vendor advisory; until patched, restrict network access to database listeners, remove or disable unneeded low-privilege logins, and monitor for anomalous query and connection activity.
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
View allA remote code execution vulnerability exists in Microsoft SQL Server Reporting Services when it incorrectly handles page
A remote code execution vulnerability exists in Microsoft SQL Server when it incorrectly handles processing of internal
Microsoft SQL Server 2008 SP3, 2008 R2 SP2, and 2012 SP1 does not properly control use of stack memory for processing of
Cross-site scripting (XSS) vulnerability in the SQL Server Report Manager in Microsoft SQL Server 2000 Reporting Service
The agent in Microsoft SQL Server 2012 SP2, 2012 SP3, 2014 SP1, 2014 SP2, and 2016 does not properly check the atxcore.d
Microsoft SQL Server 2012 SP2 and 2012 SP3 does not properly perform a cast of an unspecified pointer, which allows remo
Microsoft SQL Server 2014 SP1, 2014 SP2, and 2016 does not properly perform a cast of an unspecified pointer, which allo
Microsoft SQL Server 2016 does not properly perform a cast of an unspecified pointer, which allows remote authenticated
Microsoft SQL Server 2008 SP3 and SP4, 2008 R2 SP2 and SP3, 2012 SP1 and SP2, and 2014 does not prevent use of uninitial
Microsoft SQL Server 2016 mishandles the FILESTREAM path, which allows remote authenticated users to gain privileges via
A buffer overflow vulnerability exists in the Microsoft SQL Server that could allow remote code execution on an affected
Microsoft SQL Server Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely
EUVD-2026-100604
GHSA-xqcr-mvpq-grr9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB