KB5132746: Security update for SQL Server 2017, CU branch, November 2026. Database and replication flaws fixed; XSLT scripting disabled
Security fixes address flaws in database processing and replication, and XSLT scripting is now disabled by default. The update can request a restart.
Does it affect you? Applies to: SQL Server 2017 installations, with an x64 update package. The listed fixes apply to Linux, Windows, or Windows only, as noted for each change.
Review notes Additional details from the official release notes (2) Read notes
- What changes The update fixes a heap buffer overflow in the Log Reader Agent.
- In detail SQL Server 2017 security updates are scheduled to end on October 12, 2027.
The official sources are linked at the end of the page.
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 18 changes
SQL Connectivity
For: Linux and Windows
-
Some client connection requests could make SQL Server read memory outside the intended area. This is fixed.1
Fixes an out-of-bounds memory read during processing of certain client connection requests.
Extended Events
For: Linux and Windows
-
A specially made event file could expose information or stop the database engine. This is fixed.2
Resolves vulnerabilities that allow information disclosure or denial of service when the SQL Database Engine reads a specially crafted Extended Events (.xel) file.
Programmability
For: Linux and Windows
-
A specially made trace file could expose information or stop the database engine. This is fixed.3
Fixes a security vulnerability that allows information disclosure or denial of service if the SQL Database Engine reads a specially crafted SQL Trace file.
-
Some XML operations could damage data in memory. This is fixed.4
Fixes a heap buffer overflow during XML operations.
Transaction Services
For: Windows
-
Processing some distributed transactions could damage memory. This is fixed.5
Fixes a memory corruption issue in XA distributed transaction processing.
Security Infrastructure
For: Windows
-
Reading some database log records could access memory outside the intended area. This is fixed.6
Fixes an out-of-bounds read in log block record parsing.
Access Methods
For: Windows
-
A query on a database with a damaged row could show unintended memory content. It now returns a database corruption error instead.7
Fixes queries that could return unintended memory content when a database contains a corrupted row-compressed record; SQL Server now returns a database corruption error message.
Replication
-
A data-checking problem during replication operations is fixed.8
Fixes an issue in replication operations that affects data validation.
-
A data-checking problem during Merge Replication Web Synchronization is addressed.9
Addresses an issue in Merge Replication Web Synchronization operations that affects data validation.
-
A problem that could expose information while queued replication commands are read is fixed.10
Fixes an information disclosure issue in queued replication command decoding.
-
Replication queue checks now reject strings that exceed the allowed limit.14
Fixes replication queue parameter validation to reject boundary strings that exceed the WCHAR conversion buffer.
-
Replication queue checks now reject strings that exceed the allowed limit.15
Fixes replication queue parameter validation to reject boundary strings that exceed the WCHAR conversion buffer.
-
A problem that could expose information when replication queue commands are read is fixed.16
Fixes an information disclosure vulnerability in replication queue command decoding.
-
The Log Reader Agent could use more memory than intended. This is fixed.17
Fixes a heap buffer overflow that can occur in the Log Reader Agent.
-
A security flaw in merge replication is fixed. Replication procedures now reject certain invalid subscriber checks.18
Fixes an elevation of privilege vulnerability in SQL Server merge replication. Replication system procedures now reject batch separators in subscriber validation expressions.
Integration Services
For: Windows
-
Processing some OLE DB output values could read too much memory. This is fixed.11
Fixes a heap over-read if the SQL task in SQL Server Integration Services processes OLE DB output parameters.
-
The HTTP Connection Manager could run into memory access problems when a number became too large. This is fixed.12
Fixes an integer overflow that can cause memory access issues in the HTTP Connection Manager in SQL Server Integration Services.
-
Using the Raw File source could cause a memory access error. This is fixed.13
Fixes a memory access violation that might occur when you use the Raw File source component of SQL Server Integration Services.
Improvements 30 changes
Methods to access stored data
For: Windows
-
Security checks for database index operations are stronger.19
Improves security for index operations in SQL Server.
-
Security checks for database transaction logs are stronger.20
Improves security for transaction logging in SQL Server.
-
Checks on the positions of changing-length data are better when database records are processed.23
Improves validation of variable-length column offsets if SQL Server processes database records.
-
Checks on information that describes the database are stronger.24
Strengthens database metadata validation in SQL Server.
Access Methods
For: Windows
-
Checks on sparse column data are stronger, helping protect data and reliability.21
Improves validation of sparse column data in SQL Server to enhance security and reliability.
Column Stores
For: Windows
-
Checks on columnstore data are stronger.22
Strengthens validation of columnstore data in SQL Server.
Replication
-
Checks on access to some replication-related database operations are stronger, helping prevent unwanted disclosure of database information.25
Strengthens authorization checks for certain replication-related database operations to prevent unintended disclosure of database information.
-
Replication security data is handled more safely when a subscription database is restored or upgraded.27
Improves the security and reliability of replication security metadata handling during subscription database restore and upgrade operations.
-
The Log Reader Agent is more secure and reliable in some replication setups.28
Improves the security and reliability of the Log Reader Agent in heterogeneous transactional replication scenarios.
-
Checks on column positions in replication data are better.30
Improves validation of column ordinals in replication rowsets.
-
Security checks for replication during database upgrades are stronger.31
Strengthens security validation for replication during database upgrades.
-
Checks on conflict table names in transactional replication are better.32
Improves the validation of conflict table names for transactional replication.
-
Merge replication tools handle column names better.33
Improves the handling of column names in merge replication stored procedures.
-
Checks on names used by transactional replication are better.34
Improves identifier validation for transactional replication.
-
Merge replication handles conflict table names better.35
Improves the handling of conflict table names in merge replication.
-
Security checks for merge replication conflict reports are stronger.36
Strengthens security validation for conflict reporting in merge replication.
-
Checks on object names used for merge replication changes are better.37
Improves the validation of object names for schema changes in merge replication.
-
Merge replication handles table names in its generated procedures better.38
Improves the handling of table names in the generated procedures for merge replication.
-
Checks on data used during merge replication changes are stronger.39
Strengthens input validation for change processing in merge replication.
-
Transactional replication handles database structure changes more securely.40
Improves security if transactional replication processes schema changes.
-
Security checks for lightweight merge replication operations are stronger.41
Strengthens security checks for lightweight merge replication operations.
-
Security checks on queued replication data are stronger.42
Improves security validation for the processing of queued replication data.
-
Replication data and operations get stronger protection.43
Improves the protection of replication data and operations.
-
Changes from an earlier queued replication hotfix are rolled back.45
Rolls back the changes that were introduced by the queued replication hotfix.
-
Changes from an earlier queued replication hotfix are rolled back.46
Rolls back the changes that were introduced by the queued replication hotfix.
-
Merge replication checks the source of errors more safely.47
Improves Merge Replication error-source parsing by adding bounded validation.
-
Security checks for access to linked servers through replication are stronger.48
Strengthens security checks for linked server access in replication.
Management Services
For: Linux and Windows
-
Internal database tools handle object names better.26
Improves the handling of object names in internal stored procedures.
SQLDiag
For: Windows
-
SQLDiag handles long database names and names with Unicode characters better.29
Improves the handling of database names in
SQLdiagfor long names and names that contain Unicode characters.
Integration Services
For: Windows
-
XSLT scripting is turned off by default. You can restore the previous behavior by setting
EnableXsltScriptto1at the specified registry path.44Disables XSLT scripting by default. To restore previous behavior, setEnableXsltScriptto1underHKLM\SOFTWARE\Microsoft\Microsoft SQL Server\{version}\SSIS\XMLTask.
Technical details
Data sheet · Security · Downloads · Components Click to collapse or expand
Data sheet
- Released
- 2026-11-10
- Classification
- Security Updates
- Type
- Cumulative update
- Servicing branch
- CU
- Restart
- Required
- Replaces
- KB5128496, KB5122774, KB5102337, KB5090354
| Version | Build | Channel |
|---|---|---|
| 2017 | 14.0.3570.2 | General availability |
Security
| Vulnerability | Severity | CVSS |
|---|
The table lists the 0 exploited, publicly disclosed or critical vulnerabilities. See all 51 vulnerabilities →
Downloads (Microsoft Update Catalog)
Updated components
125 files changed since the previous update for the same versions.
| Top changed components | Files |
|---|---|
| SQL Server Engine | 94 |
| SQL Server PolyBase | 3 |
Page history
-
Added 6 vulnerabilities (6 important)
Sources
Cited passages from Microsoft's official notes (48)
-
1.
Fixes an out-of-bounds memory read action that can occur during processing of certain client connection requests.
support.microsoft.com -
2.
Resolves several security vulnerabilities that allow information disclosure or a denial of service if the SQL Database Engine reads a specially crafted Extended Events (.xel) file.
support.microsoft.com -
3.
Fixes a security vulnerability that allows information disclosure or a denial of service if the SQL Database Engine reads a specially crafted SQL Trace file.
support.microsoft.com -
4.
Fixes a heap buffer overflow during XML operations.
support.microsoft.com -
5.
Fixes a memory corruption issue in XA distributed transaction processing.
support.microsoft.com -
6.
Fixes an out-of-bounds read action in log block record parsing.
support.microsoft.com -
7.
Fixes an issue in which querying a database that contains a corrupted row-compressed record can return unintended memory content. SQL Server now returns a database corruption error message instead.
support.microsoft.com -
8.
Fixes an issue in replication operations that affects data validation.
support.microsoft.com -
9.
Addresses an issue in Merge Replication Web Synchronization operations that affects data validation.
support.microsoft.com -
10.
Fixes an information disclosure issue in queued replication command decoding.
support.microsoft.com -
11.
Fixes a heap over-read action that occurs if the SQL task in SQL Server Integration Services processes OLE DB output parameters.
support.microsoft.com -
12.
Fixes an integer overflow that can cause memory access issues in the HTTP Connection Manager in SQL Server Integration Services.
support.microsoft.com -
13.
Fixes a memory access violation that might occur when you use the Raw File source component of SQL Server Integration Services.
support.microsoft.com -
14.
Fixes replication queue parameter validation to reject boundary strings that exceed the WCHAR conversion buffer.
support.microsoft.com -
15.
Fixes replication queue parameter validation to reject boundary strings that exceed the WCHAR conversion buffer.
support.microsoft.com -
16.
Fixes an information disclosure vulnerability in replication queue command decoding.
support.microsoft.com -
17.
Fixes a heap buffer overflow that can occur in the Log Reader Agent.
support.microsoft.com -
18.
Fixes an elevation of privilege vulnerability in SQL Server merge replication. Replication system procedures now reject batch separators in subscriber validation expressions.
support.microsoft.com -
19.
Improves security for index operations in SQL Server.
support.microsoft.com -
20.
Improves security for transaction logging in SQL Server.
support.microsoft.com -
21.
Improves validation of sparse column data in SQL Server to enhance security and reliability.
support.microsoft.com -
22.
Strengthens validation of columnstore data in SQL Server.
support.microsoft.com -
23.
Improves the validation of variable-length column offsets if SQL Server processes database records.
support.microsoft.com -
24.
Strengthens database metadata validation in SQL Server.
support.microsoft.com -
25.
Strengthens authorization checks for certain replication-related database operations to prevent unintended disclosure of database information.
support.microsoft.com -
26.
Improves the handling of object names in internal stored procedures.
support.microsoft.com -
27.
Improves the security and reliability of the handling of replication security metadata during subscription database restore and upgrade operations.
support.microsoft.com -
28.
Improves the security and reliability of the Log Reader Agent in heterogeneous transactional replication scenarios.
support.microsoft.com -
29.
Improves the handling of database names in
support.microsoft.comSQLdiagfor long names and names that contain Unicode characters. -
30.
Improves validation of column ordinals in replication rowsets.
support.microsoft.com -
31.
Strengthens security validation for replication during database upgrades.
support.microsoft.com -
32.
Improves the validation of conflict table names for transactional replication.
support.microsoft.com -
33.
Improves the handling of column names in merge replication stored procedures.
support.microsoft.com -
34.
Improves identifier validation for transactional replication.
support.microsoft.com -
35.
Improves the handling of conflict table names in merge replication.
support.microsoft.com -
36.
Strengthens security validation for conflict reporting in merge replication.
support.microsoft.com -
37.
Improves the validation of object names for schema changes in merge replication.
support.microsoft.com -
38.
Improves the handling of table names in the generated procedures for merge replication.
support.microsoft.com -
39.
Strengthens input validation for change processing in merge replication.
support.microsoft.com -
40.
Improves security if transactional replication processes schema changes.
support.microsoft.com -
41.
Strengthens security checks for lightweight merge replication operations.
support.microsoft.com -
42.
Improves security validation for the processing of queued replication data.
support.microsoft.com -
43.
Improves the protection of replication data and operations.
support.microsoft.com -
44.
Disables XSLT scripting by default. To restore previous behavior, set
support.microsoft.comEnableXsltScriptto1underHKLM\SOFTWARE\Microsoft\Microsoft SQL Server\{version}\SSIS\XMLTask. -
45.
Rolls back the changes that were introduced by the queued replication hotfix.
support.microsoft.com -
46.
Rolls back the changes that were introduced by the queued replication hotfix.
support.microsoft.com -
47.
Improves Merge Replication error-source parsing by adding bounded validation.
support.microsoft.com -
48.
Strengthens security checks for linked server access in replication.
support.microsoft.com
Checked automatically: 8 of 8 checks passed, 48 quoted passages · compared with Microsoft's page on Nov 15, 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 3/5, clarity 4/5, completeness 4/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