Skip to the content
The Update Bureau
SQL Server 2025 GDR SQL Server 2025 GDR Security update
Patch Tuesday

KB5132748

KB5132748: Security update for SQL Server 2025, GDR branch, November 2026. Replication and database data-handling flaws fixed

In short

Fixes SQL Server security flaws and memory-safety problems across database, JSON, and replication tasks. Some fixes prevent crashes or unintended data exposure.

Does it affect you? Applies to: SQL Server 2025 on Windows or Linux, all editions. The update package is for x64 systems.

Build
17.0.1155.3
Servicing branch
GDR
Security
58 fixed
Restart
Required

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 36 changes

Integration Services

For: Windows

  • XSLT scripting is off by default. You can restore the previous behavior with a setting.1
    Disables XSLT scripting by default. To restore previous behavior, set EnableXsltScript to 1 under HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\{version}\SSIS\XMLTask.

Replication

25 items
  • Merge replication checks names more carefully.2
    Improves identifier validation for merge replication.
  • Transactional replication checks names more carefully.3
    Improves identifier validation for transactional replication.
  • Replication data is handled more safely when a subscriber database is restored or upgraded.10
    Improves security and reliability of replication security metadata handling during subscriber database restore and upgrade operations.
  • The Log Reader Agent handles data more safely in replication between different database systems.11
    Improves the security and reliability of the Log Reader Agent in heterogeneous transactional replication scenarios.
  • Change feed settings are handled more safely and reliably.12
    Improves the security and reliability of the change feed configuration.
  • Access checks are stronger for certain replication tasks, helping prevent unintended disclosure of database information.13
    Strengthens authorization checks for certain replication-related database operations to prevent unintended disclosure of database information.
  • Security checks are stronger for stored procedures used by merge replication.14
    Strengthens security validation for stored procedures used by merge replication.
  • Replication checks transaction details more carefully.15
    Improves input validation for transaction identifiers processed by replication.
  • Replication handles transaction details with improved memory safety.16
    Improves memory safety when replication processes transaction identifiers.
  • Security checks are stronger when replication data is upgraded.19
    Strengthens security validation for replication during database upgrades.
  • Transactional replication checks conflict table names more carefully.20
    Improves validation of conflict table names for transactional replication.
  • The Queue Reader Agent checks its settings more carefully.21
    Improves parameter validation for the Queue Reader Agent.
  • Merge replication handles conflict table names more reliably.22
    Improves the handling of conflict table names in merge replication.
  • Security checks are stronger when merge replication reports conflicts.23
    Strengthens security validation for conflict reporting in merge replication.
  • Merge replication checks object names more carefully when database structures change.24
    Improves validation of object names for schema changes in merge replication.
  • Merge replication handles names in its generated procedures more reliably.25
    Improves the handling of table names in generated procedures for merge replication.
  • Merge replication checks incoming changes more carefully.26
    Strengthens input validation for change processing in merge replication.
  • Security checks are stronger when transactional replication processes database changes.27
    Improves security when transactional replication processes schema changes.
  • Security checks are stronger for lightweight merge replication tasks.28
    Strengthens security checks for lightweight merge replication operations.
  • Security checks are stronger when replication handles stored data waiting to be processed.29
    Improves security validation for processing of queued replication data.
  • Replication checks user roles more carefully when validating subscriptions.31
    Strengthens role validation for replication subscription checks.
  • Replication data and tasks receive better protection.32
    Improves the protection of replication data and operations.
  • Security checks are stronger when replication connects to another server.34
    Strengthens security checks for linked server access in replication.
  • Input checks are stronger when SQL Server links data to Azure Synapse.35
    Improves input validation for Azure Synapse Link for SQL.
  • Merge replication checks error details more carefully.36
    Improves Merge Replication error-source parsing by adding bounded validation.

Methods to access stored data

3 items

For: Windows

  • Security checks for database index operations are stronger.4
    Improves security for index operations in SQL Server.
  • Security checks for transaction logging are stronger.5
    Improves security for transaction logging in SQL Server.
  • SQL Server checks database records more carefully when handling columns with varying data lengths.8
    Improves validation of variable-length column offsets when processing database records.

Access Methods

For: Windows

  • SQL Server checks certain database data more carefully to improve safety and reliability.6
    Improves validation of sparse column data in SQL Server to enhance security and reliability.

Column Stores

For: Windows

  • Security checks for transaction logging are stronger.7
    Improves security for transaction logging in SQL Server.

Backup Restore

For: Windows

  • SQL Server checks database details more carefully during backup and restore tasks.9
    Improves database metadata validation in SQL Server.

Management Services

2 items
  • Internal database tools handle object names more reliably.17
    Improves the handling of object names in internal stored procedures.
  • SQL Server checks access rights more carefully for Agent job steps.30
    Improves authorization validation for SQL Server Agent job steps.

SQLDiag

For: Windows

  • The diagnostics tool handles long database names and names with characters from different writing systems more reliably.18
    Improves handling of database names in SQLdiag for long names and names containing Unicode characters.

PolyBase

For: Linux and Windows

  • PolyBase checks incoming instructions more carefully.33
    Improves input validation for PolyBase stored procedures.

Fixes 23 changes

SQL Connectivity

For: Windows

  • Connection requests are handled more safely, reducing a flaw that could affect memory access.37
    Fixes an out-of-bounds memory read during processing of certain client connection requests.

Extensibility

For: Linux and Windows

  • Permissions are cleaned up when external model objects are removed.38
    Fixes incorrect cleanup of permissions when EXTERNAL MODEL objects are dropped.

Integration Services

3 items

For: Windows

  • Processing certain database task outputs no longer risks memory access problems.39
    Fixes a memory access issue when the SQL task processes truncated OLE DB output parameters.
  • The HTTP connection tool no longer risks memory problems caused by number overflow.40
    Fixes an integer overflow that can cause memory access issues in the HTTP connection manager.
  • Using the Raw File source no longer risks a memory access crash.41
    Fixes a memory access violation that might occur when using the Raw File source component.

Programmability

7 items
  • XML operations no longer risk damaging nearby memory.42
    Fixes a heap buffer overflow during XML operation.
  • Creating a JSON index with an extremely long path returns an error instead of risking data damage.44
    Fixes a problem where creating a JSON index with an excessively long path can cause memory corruption.
  • JSON functions return an error instead of crashing when a path has more than 128 levels.45
    Fixes an access violation when JSON functions process a path with more than 128 nesting levels.
  • Combining JSON arrays no longer risks damaging data or creating an unexpected server dump.46
    Fixes data corruption or an unexpected SQL Server dump file when merging JSON array data.
  • A conversion error no longer risks showing unintended memory content.47
    Fixes unintended memory content in a JSON_VALUE conversion error when used with RETURNING and multibyte UTF-8 input.
  • Reading a specially crafted trace file no longer risks exposing information or stopping the service.54
    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.
  • Checking certain tables no longer risks a crash when they contain a saved calculation based on JSON data.55
    Fixes an access violation when DBCC CHECKTABLE or DBCC CHECKDB checks a table with a PERSISTED computed column based on a native json column.

Transaction Services

For: Windows

  • Processing distributed transactions no longer risks damaging memory.43
    Fixes a memory corruption issue in XA distributed transaction processing.

Security Infrastructure

For: Windows

  • SQL Server handles certain log data more safely, reducing the risk of reading memory it should not access.48
    Fixes an out-of-bounds read in log block record parsing.

Access Methods

For: Windows

  • A query on a damaged database record returns a corruption error instead of unintended memory content.49
    Fixes unintended memory content being returned when querying a database with a corrupted row-compressed record.

Replication

8 items
  • Merge replication no longer risks a buffer overflow when processing more than 250 WebSync XML entries.50
    Fixes a buffer overflow when merge replication processes more than 250 WebSync XML nickname entries.
  • A problem affecting data checks during replication is addressed.51
    Addresses an issue in replication operations that affects data validation.
  • A problem affecting data checks during merge replication over the web is addressed.52
    Addresses an issue in Merge Replication Web Synchronization operations that affects data validation.
  • A problem processing incoming change events is addressed.53
    Addresses an issue in Change Event Streaming input data processing.
  • Malformed replication details no longer risk making the Log Reader Agent use invalid data.56
    Fixes malformed replication article metadata with missing or sparse column ordinals that can cause the Log Reader Agent to access invalid rowset bindings.
  • A flaw that could expose information while processing replication commands is fixed.57
    Fixes an information disclosure vulnerability in replication queue command decoding in xp_decodequeuecmd.
  • The Log Reader Agent no longer risks a buffer overflow.58
    Fixes a heap buffer overflow that can occur in the Log Reader Agent.
  • A security flaw in merge replication is fixed by rejecting unsafe subscriber checks.59
    Fixes an elevation of privilege vulnerability in SQL Server merge replication. Replication system procedures now reject batch separators in subscriber validation expressions.

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
GDR
Restart
Required
Replaces
KB5128492, KB5122770, KB5102333, KB5091223
+3 earlier KB5084814, KB5077468, KB5073177
VersionBuildChannel
2025 17.0.1155.3 General availability

Security

58 vulnerabilities fixed
56 important 2 not rated
VulnerabilitySeverityCVSS

The table lists the 0 exploited, publicly disclosed or critical vulnerabilities. See all 58 vulnerabilities →

Downloads (Microsoft Update Catalog)

Updated components

141 files changed since the previous update for the same versions.

Top changed componentsFiles
SQL Server Engine112
SQL Server PolyBase2

Page history

  1. Added CVE-2026-83945 (Important)

    Added CVE-2026-88089 (Important)

    Added CVE-2026-94512 (Important)

    Added CVE-2026-94520 (Important)

    Added CVE-2026-96956 (Important)

Sources

Updated
Cited passages from Microsoft's official notes (59)
  1. 1. Disables XSLT scripting by default. To restore previous behavior, set EnableXsltScript to 1 under HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\{version}\SSIS\XMLTask. support.microsoft.com
  2. 2. Improves identifier validation for merge replication. support.microsoft.com
  3. 3. Improves identifier validation for transactional replication. support.microsoft.com
  4. 4. Improves security for index operations in SQL Server. support.microsoft.com
  5. 5. Improves security for transaction logging in SQL Server. support.microsoft.com
  6. 6. Improves validation of sparse column data in SQL Server to enhance security and reliability. support.microsoft.com
  7. 7. Improves security for transaction logging in SQL Server. support.microsoft.com
  8. 8. Improves the validation of variable-length column offsets if SQL Server processes database records. support.microsoft.com
  9. 9. Improves database metadata validation in SQL Server. support.microsoft.com
  10. 10. Improves the security and reliability of replication security metadata handling during subscriber database restore and upgrade operations. support.microsoft.com
  11. 11. Improves the security and reliability of the Log Reader Agent in heterogeneous transactional replication scenarios. support.microsoft.com
  12. 12. Improves the security and reliability of the change feed configuration. support.microsoft.com
  13. 13. Strengthens authorization checks for certain replication-related database operations to prevent unintended disclosure of database information. support.microsoft.com
  14. 14. Strengthens security validation for stored procedures that are used by merge replication. support.microsoft.com
  15. 15. Improves input validation for transaction identifiers that replication processes. support.microsoft.com
  16. 16. Improves memory safety if replication processes transaction identifiers. support.microsoft.com
  17. 17. Improves the handling of object names in internal stored procedures. support.microsoft.com
  18. 18. Improves the handling of database names in SQLdiag for long names and names that contain Unicode characters. support.microsoft.com
  19. 19. Strengthens security validation for replication during database upgrades. support.microsoft.com
  20. 20. Improves the validation of conflict table names for transactional replication. support.microsoft.com
  21. 21. Improves parameter validation for the Queue Reader Agent. support.microsoft.com
  22. 22. Improves the handling of conflict table names in merge replication. support.microsoft.com
  23. 23. Strengthens security validation for conflict reporting in merge replication. support.microsoft.com
  24. 24. Improves the validation of object names for schema changes in merge replication. support.microsoft.com
  25. 25. Improves the handling of table names in the generated procedures for merge replication. support.microsoft.com
  26. 26. Strengthens input validation for change processing in merge replication. support.microsoft.com
  27. 27. Improves security if transactional replication processes schema changes. support.microsoft.com
  28. 28. Strengthens security checks for lightweight merge replication operations. support.microsoft.com
  29. 29. Improves security validation for the processing of queued replication data. support.microsoft.com
  30. 30. Improves authorization validation for SQL Server Agent job steps. support.microsoft.com
  31. 31. Strengthens role validation for replication subscription checks. support.microsoft.com
  32. 32. Improves the protection of replication data and operations. support.microsoft.com
  33. 33. Improves input validation for PolyBase stored procedures. support.microsoft.com
  34. 34. Strengthens security checks for linked server access in replication. support.microsoft.com
  35. 35. Improves input validation for Azure Synapse Link for SQL. support.microsoft.com
  36. 36. Improves Merge Replication error-source parsing by adding bounded validation. support.microsoft.com
  37. 37. Fixes an out-of-bounds memory read action that can occur during processing of certain client connection requests. support.microsoft.com
  38. 38. Fixes an issue in which permissions aren't cleaned up correctly if EXTERNAL MODEL objects are dropped. support.microsoft.com
  39. 39. Fixes a memory access issue that occurs if the SQL task in SQL Server Integration Services processes truncated OLE DB output parameters. support.microsoft.com
  40. 40. Fixes an integer overflow that can cause memory access issues in the HTTP connection manager of SQL Server Integration Services. support.microsoft.com
  41. 41. Fixes a memory access violation that might occur when you use the Raw File source component of SQL Server Integration Services. support.microsoft.com
  42. 42. Fixes a heap buffer overflow during XML operation. support.microsoft.com
  43. 43. Fixes a memory corruption issue in XA distributed transaction processing. support.microsoft.com
  44. 44. Fixes an issue in which creating a JSON index that has an excessively long path can cause memory corruption. SQL Server now returns an error message instead. support.microsoft.com
  45. 45. Fixes an access violation that can occur if JSON functions process a path that has more than 128 nesting levels. SQL Server now returns an error instead of crashing. support.microsoft.com
  46. 46. Fixes an issue in which merging JSON array data can cause data corruption or an unexpected SQL Server dump file. support.microsoft.com
  47. 47. Fixes an issue in which JSON_VALUE can include unintended memory content in a conversion error message if it's used together with RETURNING and multibyte UTF-8 input. support.microsoft.com
  48. 48. Fixes an out-of-bounds read action in log block record parsing. support.microsoft.com
  49. 49. 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
  50. 50. Fixes a buffer overflow that occurs if merge replication processes more than 250 WebSync XML nickname entries. support.microsoft.com
  51. 51. Addresses an issue in replication operations that affects data validation. support.microsoft.com
  52. 52. Addresses an issue in Merge Replication Web Synchronization operations that affects data validation. support.microsoft.com
  53. 53. Addresses an issue in Change Event Streaming input data processing. support.microsoft.com
  54. 54. 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
  55. 55. Fixes an access violation that occurs if DBCC CHECKTABLE or DBCC CHECKDB checks a table that has a PERSISTED computed column that is based on a native json column. support.microsoft.com
  56. 56. Fixes an issue in which malformed replication article metadata with missing or sparse column ordinals can cause the Log Reader Agent to access invalid rowset bindings. support.microsoft.com
  57. 57. Fixes an information disclosure vulnerability in replication queue command decoding in xp_decodequeuecmd. support.microsoft.com
  58. 58. Fixes a heap buffer overflow that can occur in the Log Reader Agent. support.microsoft.com
  59. 59. 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
Checked automatically: 7 of 8 checks passed, 59 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: not passed

A second AI read the text against the sources: correctness 4/5, clarity 3/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