Skip to main content

Microsoft SQL Server CVE-2026-94512

| EUVDEUVD-2026-100619 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-10-13 secure@microsoft.com GHSA-qc5v-8339-5w6j
8.8
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege SQL login
  2. Delivery
    Connect to SQL Server over network
  3. Exploit
    Send crafted overflowing input
  4. Execution
    Corrupt heap memory in parser
  5. Impact
    Execute arbitrary code as 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 the attacker to already hold a valid SQL Server login with at least low privileges (PR:L) and network reachability to the SQL Server instance's listening port; no user interaction is needed. The limiting factors are therefore authentication (any valid database credential, not necessarily sysadmin) and network exposure of the SQL Server endpoint - instances firewalled to trusted app tiers and using strong, non-shared credentials substantially reduce reachable attack surface. Affected builds are specific: SQL Server 2017 (GDR <14.0.2140.2, CU31 <14.0.3560.2), 2019 (GDR <15.0.2200.2, CU32 <15.0.4500.2), 2022 (GDR <16.0.1210.3, CU27 <16.0.4305.5), and 2025 (GDR <17.0.1145.4, CU9 <17.0.5015.4); instances already patched to these build numbers or above are not exposed.

Impact

This is a credible, actionable priority rather than an inflated high-CVSS issue, though not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) indicates a network-reachable, low-complexity flaw requiring only low privileges and no user interaction, with full high impact to confidentiality, integrity, and availability (C:H/I:H/A:H, scope unchanged) - consistent with an authenticated user achieving code execution within the SQL Server process context. The description's phrase 'authorized attacker' aligns cleanly with PR:L, so the signals are internally consistent and there is no attack-vector/privilege conflict to flag. However, key exploitation-likelihood signals are MISSING from the input: no EPSS probability was provided, the flaw is NOT listed in CISA KEV, and no public POC is referenced - so there is no evidence of active exploitation or weaponization at this time. The realistic risk driver is that SQL Server instances frequently grant low-privilege application or service logins, meaning the PR:L barrier is low in many environments; an attacker who already holds any valid database login (e.g., via a compromised app credential) could escalate to code execution on the database host. Because exploitation-probability data is absent, prioritize based on exposure and privilege hygiene rather than on confirmed in-the-wild activity.

Exploit ScenarioDerived

An attacker possessing a low-privileged but valid SQL Server login (for example, a reused or leaked application service credential) connects over the network and submits crafted input that triggers the heap-based buffer overflow (CWE-122) in the server's parsing logic. Successful corruption of heap memory lets the attacker execute arbitrary code in the context of the SQL Server service, potentially compromising the database and underlying host. No user interaction is required, and no public exploit code is currently identified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 13, 2026

Heap-based buffer overflow in Microsoft SQL Server lets an authenticated attacker who holds any valid, low-privileged database login - and can reach the instance's listening port over the network - execute code in the context of the SQL Server service process, with high confidentiality, integrity and availability impact (CVSS 8.8, PR:L, no user interaction). The vendor has released patched builds for SQL Server 2017, 2019, 2022 and 2025, and no public exploit code or confirmed active exploitation was identified at time of analysis, so this is a credible priority rather than an emergency. Because exploitation needs only ordinary credentials rather than sysadmin rights, the practical exposure is concentrated on instances reachable from untrusted networks and on estates where database logins are shared or weakly managed.

RemediationAI

Vendor-released patches are available; apply the update that brings each instance to or above its fixed build: SQL Server 2017 to 14.0.2140.2 (GDR) or 14.0.3560.2 (CU31), SQL Server 2019 to 15.0.2200.2 (GDR) or 15.0.4500.2 (CU32), SQL Server 2022 to 16.0.1210.3 (GDR) or 16.0.4305.5 (CU27), and SQL Server 2025 to 17.0.1145.4 (GDR) or 17.0.5015.4 (CU9), following the guidance at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-94512; verify the resulting @@VERSION/build number afterwards, since cumulative updates and GDR branches diverge. Where patching must be staged, compensating controls reduce - but do not remove - exposure: firewall the SQL Server listening port (default TCP 1433, plus any dynamic ports and SQL Browser UDP 1434) so only trusted application tiers can reach it, accepting that this breaks legitimate remote clients and any tooling relying on direct database connectivity; audit and rotate database logins, eliminating shared, hard-coded or dormant accounts, understanding that since exploitation requires only PR:L the relevant question is who holds any credential, not who is sysadmin, and that tightening this may disrupt legacy integrations; and prefer Windows or Azure AD authentication over SQL logins where feasible. Restricting the SQL Server service account's OS privileges limits post-exploitation reach but does not prevent the in-process code execution itself, and monitoring SQL Server error logs for repeated access-violation crashes or unexpected service restarts can provide early warning of exploitation attempts.

Affected VersionsENISA

Microsoft SQL Server 2022 for x64-based Systems (CU27) 16.0.4003.1 <16.0.4305.5
Microsoft SQL Server 2019 (GDR) 15.0.0 <15.0.2200.2
Microsoft SQL Server 2017 (GDR) 14.0.0 <14.0.2140.2
Microsoft SQL Server 2025 for x64-based Systems (GDR) 17.0.1050.2 <17.0.1145.4
Microsoft SQL Server 2025 for x64-based Systems (CU9) 17.0.4006.2 <17.0.5015.4
Microsoft SQL Server 2022 (GDR) 16.0.0 <16.0.1210.3
Microsoft SQL Server 2019 for x64-based Systems (CU32) 15.0.4003.23 <15.0.4500.2
Microsoft SQL Server 2017 for x64-based Systems (CU31) 14.0.3006.16 <14.0.3560.2

Affected Packages

euvd microsoft_sql_server_2017_for_x64_based_systems_cu31 fix: 14.0.3560.2
euvd microsoft_sql_server_2017_gdr fix: 14.0.2140.2
euvd microsoft_sql_server_2019_for_x64_based_systems_cu32 fix: 15.0.4500.2
euvd microsoft_sql_server_2019_gdr fix: 15.0.2200.2
euvd microsoft_sql_server_2022_for_x64_based_systems_cu27 fix: 16.0.4305.5
euvd microsoft_sql_server_2022_gdr fix: 16.0.1210.3
euvd microsoft_sql_server_2025_for_x64_based_systems_cu9 fix: 17.0.5015.4
euvd microsoft_sql_server_2025_for_x64_based_systems_gdr fix: 17.0.1145.4

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 root cause is a heap-based buffer overflow (CWE-122): the SQL Server engine writes beyond the bounds of a heap-allocated buffer while processing network input, corrupting adjacent heap metadata and objects. SQL Server communicates with clients over the TDS protocol on TCP 1433 (or administrator-configured/dynamic ports registered with the SQL Browser service on UDP 1434), so the vulnerable parsing path is reachable by any client able to open a TDS session, which is why the assessed vector is AV:N/AC:L/PR:L/UI:N. The PR:L component is significant: the attacker must already authenticate with a valid SQL Server login, but that credential need not be privileged - an ordinary application or reporting account is sufficient, meaning credential compromise or a tenant-level login in a shared database environment is enough to reach the bug. Successful corruption yields code execution inside the sqlservr.exe service context, which grants access to every database hosted on that instance and provides a foothold for lateral movement and privilege escalation, though it does not by itself equal operating-system administrator rights. Affected builds are narrowly defined across the 2017 (GDR <14.0.2140.2, CU31 <14.0.3560.2), 2019 (GDR <15.0.2200.2, CU32 <15.0.4500.2), 2022 (GDR <16.0.1210.3, CU27 <16.0.4305.5) and 2025 (GDR <17.0.1145.4, CU9 <17.0.5015.4) servicing lines, so build-number inventory is the most reliable way to determine exposure.

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

Vendor (microsoft) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

The 'authorized attacker' over a network maps to AV:N and PR:L with no user interaction; heap-overflow code execution in the service context yields full C:H/I:H/A:H, scope unchanged.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 13, 2026 - 22:05 EUVD
CVE Published
Oct 13, 2026 - 21:19 nvd
HIGH 8.8

DescriptionCVE.org

Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.

Executive ViewAI

Why It Matters

Microsoft SQL Server is affected by a high-severity vulnerability (CVE-2026-94512) that permits an authenticated attacker with low-privileged database credentials to execute arbitrary code as the SQL Server service. This could lead to unauthorized data access, tampering, or service disruption, with heightened risk for database instances exposed to untrusted networks or using shared or weak credentials. Leadership should prioritize remediation because the low barrier to exploitation-requiring only ordinary login credentials-increases the likelihood of insider or external attacks targeting these critical systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
High
Microsoft SQL Server is a widely deployed enterprise database platform
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Unlikely
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2020-0618 HIGH POC
8.8 Feb 11

A remote code execution vulnerability exists in Microsoft SQL Server Reporting Services when it incorrectly handles page

CVE-2019-1068 HIGH POC
8.8 Jul 15

A remote code execution vulnerability exists in Microsoft SQL Server when it incorrectly handles processing of internal

CVE-2014-4061 MEDIUM
6.8 Aug 12

Microsoft SQL Server 2008 SP3, 2008 R2 SP2, and 2012 SP1 does not properly control use of stack memory for processing of

CVE-2012-2552 MEDIUM
4.3 Oct 09

Cross-site scripting (XSS) vulnerability in the SQL Server Report Manager in Microsoft SQL Server 2000 Reporting Service

CVE-2016-7253 HIGH
8.8 Nov 10

The agent in Microsoft SQL Server 2012 SP2, 2012 SP3, 2014 SP1, 2014 SP2, and 2016 does not properly check the atxcore.d

CVE-2016-7254 HIGH
8.8 Nov 10

Microsoft SQL Server 2012 SP2 and 2012 SP3 does not properly perform a cast of an unspecified pointer, which allows remo

CVE-2016-7250 HIGH
8.8 Nov 10

Microsoft SQL Server 2014 SP1, 2014 SP2, and 2016 does not properly perform a cast of an unspecified pointer, which allo

CVE-2016-7249 HIGH
8.8 Nov 10

Microsoft SQL Server 2016 does not properly perform a cast of an unspecified pointer, which allows remote authenticated

CVE-2015-1763 HIGH
8.5 Jul 14

Microsoft SQL Server 2008 SP3 and SP4, 2008 R2 SP2 and SP3, 2012 SP1 and SP2, and 2014 does not prevent use of uninitial

CVE-2016-7252 MEDIUM
6.5 Nov 10

Microsoft SQL Server 2016 mishandles the FILESTREAM path, which allows remote authenticated users to gain privileges via

CVE-2018-8273 CRITICAL
9.8 Aug 15

A buffer overflow vulnerability exists in the Microsoft SQL Server that could allow remote code execution on an affected

CVE-2023-21713 HIGH
8.8 Feb 14

Microsoft SQL Server Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy