Tracked with a CVSS 3.1 base score of 8.0 (High), the flaw stems from a stack-based buffer overflow that could allow an already authorized attacker to elevate their privileges over a network connection. According to Microsoft's customer guidance in the MSRC Security Update Guide, an attacker who successfully exploits this vulnerability could gain SYSTEM privileges.
While any path to SYSTEM on a database host deserves serious attention from Windows and Linux systems administrators alike, the technical details in the CVE record and Microsoft's servicing documentation paint a nuanced picture. Here is a breakdown of what CVE-2026-96956 actually entails, which SQL Server branches are affected, what caveats exist in the October 2026 security updates, and how to get your servers patched safely.
Deconstructing the Threat: What CVE-2026-96956 Is (and Isn't)
According to the official CVE record assigned by Microsoft (reserved on September 23, 2026, and made public on October 13, 2026) and indexed by vulnerability trackers such as OpenCVE and Strix AI, CVE-2026-96956 is classified under CWE-121: Stack-based Buffer Overflow.
In software engineering, a stack-based buffer overflow occurs when a program writes more data to a fixed-length block of memory on the call stack than that buffer was allocated to hold, corrupting adjacent memory structures. In the context of SQL Server, Microsoft's advisory states that this weakness allows an authorized attacker to elevate privileges over a network. However, Microsoft has not publicly disclosed the exact internal SQL Server subcomponent, stored procedure, or protocol message path where this overflow resides.
To properly prioritize this patch during your maintenance window, it helps to look closely at the full CVSS 3.1 vector string published by Microsoft:
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Let's translate those metrics into practical operational risk for your database estate:
- Attack Vector — Network (
AV:N): The vulnerable code path is reachable over a network connection rather than requiring local console or physical access. Note that "network" in CVSS terminology simply means the vulnerability is bound to the network stack; it does not mean a SQL Server instance must be exposed to the public internet, nor does it mean internet exposure alone is enough to pull off an attack. - Privileges Required — High (
PR:H): This is not an unauthenticated drive-by exploit. An attacker must already possess high privileges—such as significant administrative or elevated database credentials—before they can attempt to trigger the buffer overflow. - Attack Complexity — High (
AC:H): Exploitation is not trivial. As Microsoft's Security Update Guide notes in its metric definitions, high complexity indicates that successful exploitation depends on conditions beyond the attacker's direct control, which may require gathering specific target information or overcoming computational exceptions. - User Interaction — None (
UI:N): The attacker does not need to trick a human administrator or user into clicking a link or opening a file. - Scope — Changed (
S:C) & Impact — High (C:H/I:H/A:H): This is why the base score still hits 8.0 despite the high complexity and privilege hurdles. A "Changed" scope means the vulnerable component (the SQL Server engine context) and the impacted component are different—specifically, an attacker breaking out of their authorized SQL context to claim OS-level SYSTEM privileges, resulting in total impact to confidentiality, integrity, and availability.
Current Exploitation Status
There is no evidence in Microsoft's advisory of active in-the-wild exploitation or public proof-of-concept code at the time of release. As of October 13, 2026, data mirrored by OpenCVE shows that CVE-2026-96956 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Furthermore, the CISA Authorized Data Publisher (ADP) Stakeholder-Specific Vulnerability Categorization (SSVC) enrichment dated October 13, 2026, records Exploitation: none, Automatable: no, and Technical Impact: total, alongside a low initial EPSS score of 0.00423.
In short: don't panic as if a wormable zero-day is tearing through port 1433, but don't ignore a bug that lets a compromised high-privilege database account jump to SYSTEM.
Affected SQL Server Versions and October 2026 Patched Builds
Microsoft's CVE applicability data identifies affected x64-based installations across four supported generations of the platform: SQL Server 2017, SQL Server 2019, SQL Server 2022, and SQL Server 2025.
Because SQL Server uses two distinct servicing tracks—the General Distribution Release (GDR) track (which only includes security updates and critical fixes) and the Cumulative Update (CU) track (which includes all previous CUs plus functional enhancements and security updates)—administrators must match their specific servicing branch to the corresponding October 13, 2026 patch.
Based on Microsoft's CVE record and Microsoft Support build history documentation (including KB5122767, KB5128497, and KB5126967), here is the complete matrix of vulnerable version ranges and the exact fixed builds released on October 13, 2026:
| SQL Server Servicing Branch | Vulnerable Version Range (x64) | Fixed Build (Oct 13, 2026) | Applicable Microsoft KB |
|---|---|---|---|
| SQL Server 2017 GDR | 14.0.0 to below 14.0.2140.2 | 14.0.2140.2 | KB5128497 |
| SQL Server 2017 CU31 | 14.0.3006.16 to below 14.0.3560.2 | 14.0.3560.2 (CU31 + GDR) | KB5128496 |
| SQL Server 2019 GDR | 15.0.0 to below 15.0.2200.2 | 15.0.2200.2 | KB5128495 |
| SQL Server 2019 CU32 | 15.0.4003.23 to below 15.0.4500.2 | 15.0.4500.2 (CU32 + GDR) | KB5128494 |
| SQL Server 2022 GDR | 16.0.0 to below 16.0.1210.3 | 16.0.1210.3 | KB5128493 |
| SQL Server 2022 CU27 | 16.0.4003.1 to below 16.0.4305.5 | 16.0.4305.5 (CU27 + GDR) | KB5126934 |
| SQL Server 2025 GDR | 17.0.1050.2 to below 17.0.1145.4 | 17.0.1145.4 | KB5128492 |
| SQL Server 2025 CU9 | 17.0.4006.2 to below 17.0.5015.4 | 17.0.5015.4 (CU9 + GDR) | KB5126967 |
Note on platform scope: While the CVE's structured CPE applicability records specifically designate x64-based Systems, Microsoft Support's individual security update bulletins (such as KB5128497 for SQL Server 2017 GDR and KB5126967 for SQL Server 2025 CU9) apply to both SQL Server on Windows and SQL Server on Linux, and the builds appear in Microsoft's Linux version history table (KB5122767).
What Else Is in These Packages? Known Issues to Watch Before Deploying
One of the golden rules of enterprise patch management is that you never deploy a single CVE fix in a vacuum—you deploy the entire cumulative update or GDR package that carries it. Microsoft's October 13, 2026 SQL Server security updates bundle fixes for roughly one to two dozen CVEs at once (for instance, KB5128497 resolves 13 CVEs in SQL Server 2017 GDR, while KB5126967 resolves 22 CVEs in SQL Server 2025 CU9 GDR).
More importantly for database administrators, Microsoft Support's documentation for these October 2026 packages flags known issues that could disrupt specific production workloads if you don't test for them beforehand:
1. MSDASQL Linked Server Queries Failing with Error 7416 (2017 GDR & 2025 CU9 GDR)
In both the SQL Server 2017 GDR (KB5128497) and SQL Server 2025 CU9 GDR (KB5126967) bulletins, Microsoft warns that linked server queries using the MSDASQL provider (OLE DB Provider for ODBC Drivers) that specify a provider string (@provstr) can fail with the following error:
Msg 7416, Level 16: Access to the remote server is denied because no login-mapping exists.
This happens because Microsoft introduced a stricter connection validation check in the Database Engine that can reject certain MSDASQL linked server configurations, even if earlier builds permitted them. Furthermore, the fix lists in both updates note an item (bug references 5582165 and 5582300) addressing an issue where MSDASQL linked server connections fail if the provider string omits a user ID (UID). If your environment relies heavily on ODBC linked servers, validate your login mappings and provider strings in a staging environment before pushing the patch to production.
2. Access Violations When Querying sys.dm_exec_requests During Recovery (SQL Server 2025 CU9 GDR)
For organizations running SQL Server 2025, KB5126967 documents an issue where running queries against the sys.dm_exec_requests dynamic management view (DMV) while a database is still in a recovering state can trigger an access violation and generate a stack dump file (SQLDump...txt). This can happen during a RESTORE operation, during startup recovery, or before an Availability Group replica finishes coming online, because an internal code change causes in-memory structures to be referenced before they are fully initialized.
Microsoft states it is investigating a permanent fix, but provides three options in the meantime for affected SQL Server 2025 systems:
- Enable trace flag 4696 to opt out of the code change causing the crash (note that monitoring queries against
sys.dm_exec_requestsorsys.sysprocesseson secondary replicas might return error 976 or 978, matching pre-update behavior). - Avoid querying
sys.dm_exec_requestsagainst databases that are actively recovering (watch out for aggressive third-party monitoring tools that poll DMVs continuously during restarts or restores). - Uninstall the update if neither operational workaround is viable.
Step-by-Step Remediation and Hardening Guide for DBAs
Ready to close the gap on CVE-2026-96956? Follow this structured workflow to audit and remediate your SQL Server instances:
Step 1: Inventory Your Installed Build and Servicing Branch
Before downloading an installer, confirm whether each instance is on the GDR track or the Cumulative Update (CU) track. A server on the GDR branch (for example, 16.0.1xxx.x on SQL Server 2022) takes the GDR update, whereas a server that has ever had a CU installed (for example, 16.0.4xxx.x on SQL Server 2022) must take the CU + GDR update.
Compare the four-part product version of each instance against the Fixed Build column in the table above.
Step 2: Obtain and Apply the Matching October 13, 2026 Update
As Microsoft's MSRC guidance states, the primary remediation is to update your relevant version of SQL Server using the applicable October 2026 security update. According to Microsoft's KB articles, you can obtain the packages through:
- Windows Update: Available automatically if automatic updating for Microsoft products is enabled.
- Microsoft Update Catalog: Standalone packages are available for download (note that Microsoft updated its detection logic for SQL Server servicing on the Update Catalog, making the update available to all servers running SQL Server even if optional components like Reporting Services or Power BI Report Server are not installed).
- Microsoft Download Center: Direct executable downloads (such as
SQLServer2017-KB5128497-x64.exe). - Linux Package Repositories: For SQL Server on Linux, ensure the appropriate repository is configured and run your platform-specific package update command to pull the October 2026 build.
Step 3: Audit High-Privilege Accounts and Enable Extended Protection
Because CVE-2026-96956 requires high privileges (PR:H) over a network vector (AV:N), strong identity and connection hygiene directly reduces your exposure surface:
- Review Elevated Logins: Audit who holds
sysadmin,serveradmin, or equivalent high-privilege roles across your SQL Server instances, and strip unnecessary elevated permissions from service accounts and application logins. - Enable Encryption with Extended Protection: In the October 2026 security update bulletins (including KB5128497 and KB5126967), Microsoft explicitly highlights a general security recommendation for Windows deployments: "To help secure SQL Server on Windows, enable encryption with Extended Protection." While this is a general defensive posture recommendation rather than a standalone workaround for CVE-2026-96956, enabling TLS encryption alongside Extended Protection for Authentication helps defend Windows-hosted SQL Server connections against credential relay and man-in-the-middle attacks.
Section Summary
- The Flaw: CVE-2026-96956 (CVSS 8.0) is a stack-based buffer overflow (
CWE-121) in SQL Server that lets an authorized, high-privilege attacker elevate privileges toSYSTEMover a network. - The Scope: Affects x64 installations of SQL Server 2017, 2019, 2022, and 2025 across both GDR and CU servicing branches.
- The Fix: Apply the October 13, 2026 GDR or CU+GDR security update matching your exact SQL Server version and branch, while watching out for documented regressions involving
MSDASQLlinked servers andsys.dm_exec_requestsqueries during database recovery.