KB5128496: Security update for SQL Server 2017, CU branch, October 2026. Database Engine vulnerability fixes; MSDASQL queries can fail
Fixes security vulnerabilities in SQL Server 2017, but linked server queries using MSDASQL and a provider string might fail with error 7416.
Does it affect you? Applies to: Devices running SQL Server 2017. The update applies to SQL Server 2017 or a SQL Server 2017 CU release through CU31 GDR; the package is for x64.
For servers on the CU branch: they install cumulative updates, which also bring fixes beyond security. Servers on the GDR branch (security fixes only) get a separate update. Which branch am I on?
What changes
Fixes 8 changes
Extensibility
For: Linux and Windows instances using Machine Learning Services or Language Extensions
-
Closes vulnerabilities that could corrupt or disclose memory when SQL Server processes certain protocol messages.1
Fixes memory-corruption and memory-disclosure vulnerabilities in SQL Server SQL Satellite protocol message parsing used by Machine Learning Services and Language Extensions.
Backup Restore
For: Linux and Windows instances using VDI
-
Closes a vulnerability that could cause an out-of-bounds write when opening a virtual device set.2
Fixes a security vulnerability in the SQL Server Virtual Device Interface (VDI).
-
Closes a vulnerability that could cause an out-of-bounds read or write during backup or restore data processing.3
Fixes a security vulnerability in the SQL Server Virtual Device Interface (VDI).
Distributed Query
For: Linux and Windows instances using MSDASQL linked servers
-
MSDASQL linked server connections work when the provider string does not include a user ID.4
Fixes MSDASQL linked server connections that fail if the provider string does not include a user ID (UID).
Replication
-
A data validation problem in replication operations is fixed.5
Fixes an issue in replication operations that affects data validation.
-
A data validation problem in merge replication Web Synchronization operations is fixed.6
Fixes an issue in merge replication Web Synchronization operations that affects data validation.
Programmability
For: Linux and Windows instances
-
Closes a vulnerability that could disclose information or cause a denial of service when a specially crafted SQL Trace file is read.7
Fixes a security vulnerability triggered when the Database Engine reads a specially crafted SQL Trace file.
Extended Events
For: Linux and Windows instances
-
Closes vulnerabilities that could disclose information or cause a denial of service when a specially crafted Extended Events file is read.8
Fixes security vulnerabilities triggered when the Database Engine reads a specially crafted Extended Events (.xel) file.
Improvements 7 changes
High Availability and Disaster Recovery
For: Linux and Windows Availability Group secondary replicas
-
Availability Group secondary replicas reject oversized FILESTREAM fragments.9
Adds validation of FILESTREAM fragment size on Availability Group secondary replicas.
Replication
-
Queued Updating Subscriptions get security and reliability improvements.10
Improves security and reliability for Queued Updating Subscriptions in Transactional Replication.
-
Queued Updating Subscriptions get security and reliability improvements.11
Improves security and reliability for Queued Updating Subscriptions in Transactional Replication.
-
Authorization checks help prevent unintended disclosure of database information during certain replication-related operations.13
Strengthens authorization checks for certain replication-related database operations.
-
Replication security metadata handling is more secure and reliable during Subscriber database restore and upgrade operations.14
Improves security and reliability in replication security metadata handling during Subscriber database restore and upgrade operations.
-
The Log Reader Agent gets security and reliability improvements in heterogeneous transactional replication.15
Improves security and reliability for the Log Reader Agent in a heterogeneous transactional replication scenario.
Query Store
For: Windows instances using Query Store
-
Showplan input handling gets security and reliability improvements.12
Improves Showplan input handling to enhance security and reliability.
Known issues
-
Linked server queries that use MSDASQL fail with error 7416
Linked server queries using the MSDASQL provider and a provider string (@provstr) might fail with error 7416, even if earlier builds allowed the connection.16
Workaround status No workaround yetMicrosoft has not published a manual workaround for this issue yet. Monitor release health until a resolving update is available.
Technical details
Data sheet · Security · Downloads · Components Click to collapse or expand
Data sheet
- Released
- 2026-10-13
- Classification
- Security Updates
- Type
- Cumulative update
- Servicing branch
- CU
- Restart
- Required
- Replaces
- KB5122774, KB5102337, KB5090354, KB5084818
- Replaced by
- KB5132746
| Version | Build | Channel |
|---|---|---|
| 2017 | 14.0.3560.2 | General availability |
Security
| Vulnerability | Severity | CVSS |
|---|---|---|
|
SQL Server Elevation of Privilege Vulnerability
|
Important | 6.7 |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | — |
|
Microsoft SQL Server Information Disclosure Vulnerability
|
Important | — |
|
Microsoft SQL Server Elevation of Privilege Vulnerability
|
Important | — |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | — |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | — |
|
Microsoft SQL Server Information Disclosure Vulnerability
|
Important | — |
|
Microsoft SQL Server Information Disclosure Vulnerability
|
Important | — |
|
Microsoft SQL Server Elevation of Privilege Vulnerability
|
Important | — |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Not rated | — |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Not rated | — |
|
SQL Server Remote Code Execution Vulnerability
|
Not rated | — |
|
Microsoft SQL Server Denial of Service Vulnerability
|
Not rated | — |
|
SQL Server Elevation of Privilege Vulnerability
|
Not rated | — |
Downloads (Microsoft Update Catalog)
Updated components
124 files changed since the previous update for the same versions.
| Top changed components | Files |
|---|---|
| SQL Server Engine | 94 |
| SQL Server PolyBase | 3 |
Page history
-
Superseded by KB5132746
Removed CVE-2026-88089
Removed CVE-2026-94512
Removed CVE-2026-94520
Removed CVE-2026-96956
Sources
Cited passages from Microsoft's official notes (16)
-
1.
Fixes multiple memory-corruption and memory-disclosure vulnerabilities in the SQL Server SQL Satellite protocol message parsing logic that's used by Machine Learning Services and Language Extensions.
support.microsoft.com -
2.
Fixes a security vulnerability in the SQL Server Virtual Device Interface (VDI) in which an out-of-bounds write potentially occurs while opening a virtual device set.
support.microsoft.com -
3.
Fixes a security vulnerability in the SQL Server Virtual Device Interface (VDI) in which an out-of-bounds read or write action potentially occurs while processing transferred data during backup or restore operations.
support.microsoft.com -
4.
Fixes an issue in which MSDASQL linked server connections fail if the provider string does not include a user ID (UID).
support.microsoft.com -
5.
Fixes an issue in replication operations that affects data validation.
support.microsoft.com -
6.
Fixes an issue in merge replication Web Synchronization operations that affects data validation.
support.microsoft.com -
7.
Fixes a security vulnerability that allows information disclosure or a denial of service when the Database Engine reads a specially crafted SQL Trace file.
support.microsoft.com -
8.
Fixes several security vulnerabilities that allow information disclosure or a denial of service when the Database Engine reads a specially crafted Extended Events (.xel) file.
support.microsoft.com -
9.
Adds validation of FILESTREAM fragment size on Availability Group secondary replicas to reject oversized fragments.
support.microsoft.com -
10.
Improves security and reliability for Queued Updating Subscriptions in Transactional Replication.
support.microsoft.com -
11.
Improves security and reliability for Queued Updating Subscriptions in Transactional Replication.
support.microsoft.com -
12.
Improves Showplan input handling to enhance security and reliability.
support.microsoft.com -
13.
Strengthens authorization checks for certain replication-related database operations to help prevent unintended disclosure of database information.
support.microsoft.com -
14.
Improves security and reliability in replication security metadata handling during Subscriber database restore and upgrade operations.
support.microsoft.com -
15.
Improves security and reliability for the Log Reader Agent in a heterogeneous transactional replication scenario.
support.microsoft.com -
16.
Linked server queries that use the
support.microsoft.comMSDASQL(OLE DB Provider for ODBC Drivers) provider and specify a provider string (@provstr) fail and return the following error message:
Checked automatically: 7 of 8 checks passed, 16 quoted passages · compared with Microsoft's page on Nov 14, 2026
- Quotes found in the official pages: passed
- Numbers found in the sources: passed
- Vulnerabilities from the dossier only: passed
- Links to allowed domains only: passed
- Every official change covered: passed
- Readable plain text: passed
- Changes confirmed by the file list: passed
- Sources agree: not passed
A second AI read the text against the sources: correctness 4/5, clarity 4/5, completeness 5/5. How we work
Published by The Update Bureau. Written with AI from Microsoft's own documents, checked by rules and a second AI. How we work · Report a mistake