KB5128493: Security update for SQL Server 2022, GDR branch, October 2026. PolyBase security flaws addressed; linked server queries can fail
Fixes 22 Important SQL Server vulnerabilities. Linked server queries using MSDASQL and a provider string might fail with error 7416.
Does it affect you? Applies to: This update applies to SQL Server 2022 GDR installations. The package is for x64 systems, and the listed fixes cover Linux and Windows, with some limited to Windows.
For servers on the GDR branch: they get security fixes only. Servers that install cumulative updates (CU branch) get a separate update. Which branch am I on?
What changes
Improvements 12 changes
Extensibility
For: Linux and Windows
-
Package extraction uses an updated archive-extraction component when external language or external library packages are installed.1
Updates the third-party archive-extraction component that SQL Server uses if external language and external library packages are installed.
High Availability and Disaster Recovery
For: Linux and Windows
-
Oversized FILESTREAM fragments are rejected on Availability Group secondary replicas.2
Adds validation of FILESTREAM fragment size on Availability Group secondary replicas to reject oversized fragments.
Query Store
For: Windows
-
Showplan input handling is improved for security and reliability.3
Improves Showplan input handling to enhance security and reliability.
Replication
-
Queued Updating Subscriptions get security and reliability improvements.4
Improves security and reliability for Queued Updating Subscriptions in Transactional Replication.
-
Queued Updating Subscriptions get security and reliability improvements.5
Improves security and reliability for Queued Updating Subscriptions in Transactional Replication.
-
Replication security metadata handling is improved during Subscriber database restore and upgrade operations.8
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 for heterogeneous transactional replication.9
Improves security and reliability for the Log Reader Agent in a heterogeneous transactional replication scenario.
-
Change feed configuration gets security and reliability improvements.10
Improves security and reliability for the change feed configuration.
-
Authorization checks are strengthened for certain replication-related database operations to help prevent unintended disclosure of database information.11
Strengthens authorization checks for certain replication-related database operations to prevent unintended disclosure of database information.
PolyBase
For: Linux and Windows
Programmability
For: Linux and Windows
-
LoginSid processing is limited to the internal buffer size to help prevent malformed trace data from causing an out-of-bounds read.12
Limits LoginSid processing within the SQL Trace reader to the internal buffer size to prevent malformed trace data from causing an out-of-bounds read.
Fixes 12 changes
PolyBase
For: Linux and Windows
-
PolyBase data processing gets improved validation to address a security vulnerability.13
Improves validation during data processing.
-
An issue that could make the SQL Server process terminate while working with external data sources is addressed.14
Addresses an issue that causes the SQL Server process to terminate unexpectedly while working with external data sources.
-
Malformed PolyBase rollback queue data is rejected instead of being unsafely deserialized.19
Fixes unsafe deserialization of PolyBase rollback queue data so that malformed payloads are rejected.
Backup Restore
For: Windows
-
Invalid size values in certain backup paths are rejected before they can cause unsafe memory access.15
Addresses an input-validation issue in SQL Server Virtual Device Interface (VDI) and SQL Writer backup paths in which malformed size values potentially cause out-of-bounds memory access.
-
Malformed or oversized backup and restore metadata inputs are rejected before memory operations. This addresses a problem that could let a local authenticated user gain elevated privileges or make a service stop responding.16
Addresses an integer handling issue in SQL Server backup and restore metadata processing that potentially allows a local authenticated user to gain elevated privileges and cause a service to stop responding.
-
A security vulnerability that could cause an out-of-bounds write while opening a virtual device set is fixed.17
Fixes a security vulnerability in the SQL Server Virtual Device Interface (VDI) in which an out-of-bounds write action potentially occurs while opening a virtual device set.
-
A security vulnerability that could cause an out-of-bounds read or write during backup or restore data transfer is fixed.18
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.
Extensibility
For: Linux and Windows
-
Memory-corruption and memory-disclosure vulnerabilities in SQL Satellite message processing are fixed.20
Fixes multiple memory-corruption and memory-disclosure vulnerabilities in SQL Server's SQL Satellite protocol message parsing logic that's used by Machine Learning Services and Language Extensions.
Distributed Query
For: Linux and Windows
-
An MSDASQL-linked server connection issue is fixed when its provider string does not include a user ID.21
Fixes an issue in which MSDASQL-linked server connections fail if the provider string does not include a user ID (UID).
Replication
For: Linux and Windows
-
A buffer overflow that could occur when merge replication processes more than 250 WebSync XML nickname entries is fixed.22
Fixes a buffer overflow that occurs if merge replication processes more than 250 WebSync XML nickname entries.
-
An issue affecting data validation in replication operations is fixed.23
Fixes an issue in replication operations that affects data validation.
-
An issue affecting data validation in merge replication Web Synchronization operations is fixed.24
Fixes an issue in merge replication Web Synchronization operations that affects data validation.
Known issues
-
Linked server queries that use MSDASQL fail with error 7416
Linked server queries using the MSDASQL provider and specifying a provider string (
@provstr) might fail with error 7416, stating that no login-mapping exists. Stricter connection validation can reject certain configurations that worked in earlier builds.25Workaround 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
- GDR
- Restart
- Required
- Replaces
- KB5122771, KB5102334, KB5091158, KB5084815
- Replaced by
- KB5132747
| Version | Build | Channel |
|---|---|---|
| 2022 | 16.0.1210.3 | General availability |
Security
| Vulnerability | Severity | CVSS |
|---|---|---|
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | 8.8 |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | 8.5 |
|
Microsoft SQL Server Elevation of Privilege Vulnerability
|
Important | 8.5 |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | 8.5 |
|
Microsoft SQL Server Information Disclosure Vulnerability
|
Important | 7.7 |
|
Microsoft SQL Server Information Disclosure Vulnerability
|
Important | 7.7 |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | 7.5 |
|
Microsoft SQL Server Elevation of Privilege Vulnerability
|
Important | 7.0 |
|
Microsoft SQL Server Elevation of Privilege Vulnerability
|
Important | 7.0 |
|
Microsoft SQL Server Elevation of Privilege Vulnerability
|
Important | 7.0 |
|
Microsoft SQL Server Elevation of Privilege Vulnerability
|
Important | 7.0 |
|
SQL Server Elevation of Privilege Vulnerability
|
Important | 6.7 |
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | 6.7 |
|
Microsoft SQL Server Denial of Service Vulnerability
|
Important | 6.5 |
|
Microsoft SQL Server Elevation of Privilege Vulnerability
|
Important | 6.4 |
|
Microsoft SQL Server Information Disclosure Vulnerability
|
Important | 5.3 |
|
Microsoft SQL Server Information Disclosure Vulnerability
|
Important | 4.9 |
|
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
147 files changed since the previous update for the same versions.
| Top changed components | Files |
|---|---|
| SQL Server Engine | 115 |
| SQL Server PolyBase | 3 |
Page history
-
Superseded by KB5132747
Removed CVE-2026-83945
Removed CVE-2026-88089
Removed CVE-2026-94512
Removed CVE-2026-94520
Removed CVE-2026-96956
Sources
Cited passages from Microsoft's official notes (25)
-
1.
Updates the third-party archive-extraction component that SQL Server uses if external language and external library packages are installed.
support.microsoft.com -
2.
Adds validation of FILESTREAM fragment size on Availability Group secondary replicas to reject oversized fragments.
support.microsoft.com -
3.
Improves Showplan input handling to enhance security and reliability.
support.microsoft.com -
4.
Improves security and reliability for Queued Updating Subscriptions in Transactional Replication.
support.microsoft.com -
5.
Improves security and reliability for Queued Updating Subscriptions in Transactional Replication.
support.microsoft.com -
6.
Updates shared memory handling.
support.microsoft.com -
7.
Adds validation for delta table schema.
support.microsoft.com -
8.
Improves security and reliability in replication security metadata handling during Subscriber database restore and upgrade operations.
support.microsoft.com -
9.
Improves security and reliability for the Log Reader Agent in a heterogeneous transactional replication scenario.
support.microsoft.com -
10.
Improves security and reliability for the change feed configuration.
support.microsoft.com -
11.
Strengthens authorization checks for certain replication-related database operations to prevent unintended disclosure of database information.
support.microsoft.com -
12.
Limits LoginSid processing within the SQL Trace reader to the internal buffer size to prevent malformed trace data from causing an out-of-bounds read.
support.microsoft.com -
13.
Resolves a security vulnerability in PolyBase by improving validation during data processing.
support.microsoft.com -
14.
Addresses an issue that causes the SQL Server process to terminate unexpectedly while working with external data sources.
support.microsoft.com -
15.
Addresses an input-validation issue in SQL Server Virtual Device Interface (VDI) and SQL Writer backup paths in which malformed size values potentially cause out-of-bounds memory access.
support.microsoft.com -
16.
Addresses an integer handling issue in SQL Server backup and restore metadata processing that potentially allows a local authenticated user to gain elevated privileges and cause a service to stop responding.
support.microsoft.com -
17.
Fixes a security vulnerability in the SQL Server Virtual Device Interface (VDI) in which an out-of-bounds write action potentially occurs while opening a virtual device set.
support.microsoft.com -
18.
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 -
19.
Fixes unsafe deserialization of PolyBase rollback queue data so that malformed payloads are rejected.
support.microsoft.com -
20.
Fixes multiple memory-corruption and memory-disclosure vulnerabilities in SQL Server's SQL Satellite protocol message parsing logic that's used by Machine Learning Services and Language Extensions.
support.microsoft.com -
21.
Fixes an issue in which MSDASQL-linked server connections fail if the provider string does not include a user ID (UID).
support.microsoft.com -
22.
Fixes a buffer overflow that occurs if merge replication processes more than 250 WebSync XML nickname entries.
support.microsoft.com -
23.
Fixes an issue in replication operations that affects data validation.
support.microsoft.com -
24.
Fixes an issue in merge replication Web Synchronization operations that affects data validation.
support.microsoft.com -
25.
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: 8 of 8 checks passed, 25 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: passed
A second AI read the text against the sources: correctness 5/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