Skip to main content

Microsoft SQL Server CVE-2026-67643

| EUVDEUVD-2026-73317 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-09-08 secure@microsoft.com GHSA-r6qg-cj8h-f89v
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain authorized SQL Server access
  2. Delivery
    Send crafted network request/query
  3. Exploit
    Trigger heap-based buffer overflow
  4. Execution
    Corrupt heap to hijack control flow
  5. Impact
    Execute code in SQL Server process context

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 an authorized attacker per Microsoft's description - i.e. a valid SQL Server login or compromised database credentials with network reachability to the engine - despite the published vector's PR:N. The attacker must be able to send crafted requests that reach the vulnerable heap-handling code path in the SQL Server engine. Limiting factors: authentication/authorization to the instance is needed; reliable heap-overflow exploitation for code execution is non-trivial (CISA SSVC marks it non-automatable); and only SQL Server 2022 (builds <16.0.1200.5 GDR / <16.0.4275.2 CU26) and SQL Server 2025 (builds <17.0.1135.8 GDR / <17.0.4085.5 CU8) on x64 are affected. Instances not exposed to untrusted authenticated principals (e.g. tightly network-segmented, single-trusted-app databases) face substantially lower realistic risk.

Impact

Vendor CVSS 3.1 rates this 9.8 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H), which reads as a fully unauthenticated network RCE - but the description explicitly states an 'authorized attacker,' directly contradicting PR:N. This discrepancy is significant: Microsoft's own text implies authentication/session access is required (PR:L), which would materially lower the true score. The other signals argue AGAINST treating this as a drop-everything emergency: EPSS is only 0.83% (55th percentile), there is no CISA KEV listing, no public POC identified, and CISA SSVC scores Exploitation=none and Automatable=no (only Technical Impact=total). So while the technical impact is severe (heap corruption → code execution with total impact), current real-world exploitation pressure is low and non-automatable. Net: a genuinely serious flaw worth prompt patching on internet-adjacent or multi-tenant SQL Server instances, but the headline 9.8 overstates immediate risk given the authorization requirement in the description and the benign exploitation signals. Verify the true privilege requirement with Microsoft - CVSS PR:N conflicts with the 'authorized attacker' wording.

Exploit ScenarioDerived

An attacker who already holds a valid SQL Server login (or has compromised an application's database credentials) sends a specially crafted network request/query that triggers a heap-based buffer overflow in the database engine, corrupting heap memory to achieve arbitrary code execution in the SQL Server process context. No public exploit code is identified at time of analysis, and heap-overflow-to-RCE typically requires non-trivial crafting, so weaponization is not turnkey.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.8% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Sep 17, 2026

Heap-based buffer overflow in the Microsoft SQL Server engine (SQL Server 2022 and SQL Server 2025 on x64) can let an attacker corrupt heap memory and potentially achieve code execution under the database service account over a network connection. Microsoft's own description frames the attacker as 'authorized,' meaning a valid SQL Server login or compromised database credentials plus network reachability to the engine are required, and our independent assessment scores the issue as CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H rather than the vendor-published 9.8 (AV:N/AC:L/PR:N/UI:N), which would imply fully unauthenticated remote code execution and contradicts the stated authorization prerequisite. CISA's SSVC evaluation records no exploitation and marks the flaw non-automatable, and no public exploit code has been identified at time of analysis; EPSS is low at 0.83% (55th percentile), though the aggregate C:H/I:H/A:H impact makes prompt patching of exposed instances worthwhile.

Earlier versions of this analysis (1)
v1 Sep 08, 2026 - 21:42 CVSS 8.8

Heap-based buffer overflow in Microsoft SQL Server 2022 and 2025 allows a low-privileged, network-authenticated attacker to achieve remote code execution against the database engine. The vulnerability is reachable over the network with low complexity, requiring only a valid SQL Server login - no elevated privileges or user interaction. Patch has been released by Microsoft across both GDR and Cumulative Update servicing branches; no public exploit or CISA KEV listing has been identified at time of analysis.

RemediationAI

Vendor-released patch: apply the corresponding SQL Server update that brings the instance to at least build 16.0.1200.5 (SQL Server 2022 GDR) or 16.0.4275.2 (SQL Server 2022 CU 26), and at least 17.0.1135.8 (SQL Server 2025 GDR) or 17.0.4085.5 (SQL Server 2025 CU 8) - those are the minimum fixed builds implied by the EUVD affected ranges, so confirm the exact KB and build for your branch in Microsoft's advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-67643 before deploying, and note that GDR and CU branches are mutually exclusive (moving between them is a servicing-branch decision, not a simple patch swap, and both must be kept current going forward). Because exploitation is assessed to require an authorized attacker with a valid login, the highest-value compensating controls are credential- and exposure-focused rather than network-perimeter tricks: audit and prune every SQL Server login, remove or disable unused accounts and shared application credentials with excessive privileges, and drop sysadmin/db_owner rights from service and reporting accounts so a single compromised credential cannot reach the vulnerable code path with useful privileges - the trade-off is operational effort in re-permissioning applications, which can break jobs that relied on over-broad rights. Where the instance does not need to be reachable by arbitrary clients, restrict network access to the engine's TCP port (default 1433, plus any configured static or dynamic ports and named-instance endpoints) via host firewall or database firewall rules that allow only known application subnets - this materially shrinks the pool of principals who can send crafted requests, at the cost of added change-management friction for legitimate clients. Disabling unused SQL Server features and protocols (for example SQL Server Browser, unused linked servers, and legacy connectivity) reduces the reachable surface but may break integrations, so test in a staging instance first; finally, since no public exploit code has been identified and the issue is assessed non-automatable, there is no urgent need for emergency network isolation, but instances exposed to untrusted authenticated users should be patched within the normal critical-update window and monitored for unusual memory-related crashes or engine restarts. Avoid generic hardening-only responses as a substitute for the vendor update, because none of the above controls addresses the underlying heap-bounds defect.

Affected VersionsENISA

Microsoft SQL Server 2022 (GDR) 16.0.0 <16.0.1200.5
Microsoft SQL Server 2025 for x64-based Systems (GDR) 17.0.1050.2 <17.0.1135.8
Microsoft SQL Server 2022 (CU 26) 16.0.0.0 <16.0.4275.2
Microsoft SQL Server 2025 (CU8) 17.0.0.0 <17.0.4085.5

Affected Packages

euvd microsoft_sql_server_2022_cu_26 fix: 16.0.4275.2
euvd microsoft_sql_server_2022_gdr fix: 16.0.1200.5
euvd microsoft_sql_server_2025_cu8 fix: 17.0.4085.5
euvd microsoft_sql_server_2025_for_x64_based_systems_gdr fix: 17.0.1135.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 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 flaw is a heap-based buffer overflow (CWE-122) inside the Microsoft SQL Server relational engine, reachable through network-facing query/protocol handling rather than through a client-side component. Per the supplied CPE data, only x64 builds of Microsoft SQL Server 2022 (cpe:2.3:a:microsoft:sql_server_2022) and Microsoft SQL Server 2025 (cpe:2.3:a:microsoft:sql_server_2025) are in scope, split across the two servicing branches Microsoft maintains - GDR (security-only) and CU (cumulative update). The root-cause class, CWE-122, means a size or bounds check on a heap-allocated buffer is missing or miscalculated, so attacker-influenced input can write past the end of the allocation, producing memory corruption that may be steerable toward control-flow or data-structure manipulation. Reliable exploitation of a heap overflow for code execution is inherently non-trivial - heap layout, allocator behavior and the ability to place controlled data must all be managed - which is consistent with CISA's SSVC marking of Automatable: none and with our assessment raising attack complexity to High while lowering the privilege requirement from the vendor's PR:N to PR:L. The discrepancies between the vendor vector (AC:L/PR:N) and both Microsoft's own prose ('authorized attacker') and the independent assessment are material: defenders should plan around an authenticated, non-automatable vulnerability rather than an unauthenticated wormable one, while still treating any instance reachable by untrusted or low-privilege logins as high risk.

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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 7.5 HIGH

Description says 'authorized attacker' so PR:L not PR:N; reliable heap-overflow-to-RCE and non-automatable SSVC justify AC:H; successful exploitation yields full C/I/A in the engine process.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Sep 17, 2026 - 20:35 vuln.today
v2 - CVSS changed
Severity Changed
Sep 17, 2026 - 20:22 NVD
HIGH CRITICAL
CVSS changed
Sep 17, 2026 - 20:22 NVD
8.8 (HIGH) 9.8 (CRITICAL)
Patch available
Sep 08, 2026 - 18:35 EUVD
CVE Published
Sep 08, 2026 - 18:18 nvd
HIGH 8.8

DescriptionNVD

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 2022 and 2025 on x64 are affected by a critical heap-based buffer overflow that could let an authenticated attacker with valid database credentials execute code under the database service account, potentially leading to data theft, integrity loss, or lateral movement. Although no public exploit has been identified at time of analysis and exploitation requires network access plus a valid login, the affected systems often hold sensitive business data, so leadership should prioritize remediation for any internet-facing or high-value instances.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 45% exploitable
Prevalence
High
Microsoft SQL Server is widely deployed enterprise database software
Threat Intel
2
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Unlikely
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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

55
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

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-2026-21262 HIGH POC
8.8 Mar 10

SQL Server 2016-2025 contains an improper access control flaw that allows authenticated network attackers to escalate pr

CVE-2026-67631 CRITICAL
9.8 Sep 08

Heap-based buffer overflow in Microsoft SQL Server 2017, 2019, 2022, and 2025 (x64) can be triggered over the network an

CVE-2026-67636 CRITICAL
9.0 Sep 08

Out-of-bounds read in Microsoft SQL Server 2019, 2022, and 2025 on x64 can, under specific memory conditions, be steered

CVE-2026-67378 CRITICAL
9.0 Sep 08

Code execution is possible in Microsoft SQL Server 2019, 2022, and 2025 (x64) through an untrusted pointer dereference i

CVE-2024-37341 CRITICAL
9.8 Sep 10

Microsoft SQL Server Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is rem

CVE-2024-37980 CRITICAL
9.8 Sep 10

Microsoft SQL Server Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is rem

CVE-2026-77484 HIGH
8.8 Sep 08

Remote code execution in Microsoft SQL Server 2019, 2022, and 2025 is achievable by an authenticated low-privilege attac

CVE-2026-78456 HIGH
8.8 Sep 08

Heap-based buffer overflow in Microsoft SQL Server 2022 enables an authenticated low-privileged network attacker to exec

CVE-2026-66819 HIGH
8.8 Sep 08

SQL injection in Microsoft SQL Server enables a low-privileged authenticated attacker to escalate database privileges ov

CVE-2026-67368 HIGH
8.8 Sep 08

Privilege escalation in Microsoft SQL Server 2017 through 2025 allows any low-privileged authenticated database user to

CVE-2026-67639 HIGH
8.8 Sep 08

Heap-based buffer overflow in Microsoft SQL Server 2017 through 2025 enables an authenticated low-privilege network atta

CVE-2026-67380 HIGH
8.8 Sep 08

Remote code execution is possible in Microsoft SQL Server 2017 through 2025 via a heap-based buffer overflow (CWE-122) t

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