Skip to the content
The Update Bureau
SQL Server 2025 CU6 SQL Server 2025 CU6 Cumulative update

KB5093421

KB5093421: Cumulative update for SQL Server 2025, CU branch, June 2026. Linked-server error 7416 and incorrect parallel SESSION_CONTEXT results

In short

Linked-server queries using MSDASQL can fail with error 7416, and parallel queries using SESSION_CONTEXT can return incorrect results or create access-violation dumps. The update also includes 19 fixes and improvements.

Does it affect you? Applies to: SQL Server 2025 on Windows and Linux. The update package applies to all supported languages and updates only the SQL Server components installed on the instance.

Build
17.0.4055.5
Servicing branch
CU
Restart
Required

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

Query Processing

For: SQL Server instances running parallel vector index builds

  • Parallel vector index builds no longer trigger the issue that can exhaust resources and reduce performance.1
    Addresses an issue during parallel vector index builds that can cause resource exhaustion and performance degradation.

Linux

6 items
  • Changing collation setup no longer unexpectedly blocks mssql-conf on systems with many CPUs.2
    Fixes unexpected blocking of mssql-conf during collation setup on systems with a high CPU count.
  • File creation works on file systems that do not support hard links.4
    Fixes unexpected file creation failures on file systems that don't support hard links.
  • Running sp_executesql in a Linux container with the Korean_Wansung_CI_AS collation no longer triggers Error 17750 (DLL load failure).5
    Fixes Error 17750 when running sp_executesql in a Linux container configured with the Korean_Wansung_CI_AS collation.
  • Striped backups with 16 or more stripes no longer fail when Transparent Huge Pages is enabled.6
    Fixes a possible failure when running striped backups with 16 or more stripes while Transparent Huge Pages (THP) is enabled.
  • An index rebuild no longer hits a scheduling issue that can stop the program from responding.7
    Fixes a scheduling issue that can prevent a thread from suspending during an index rebuild.
  • DDL operations on Change Data Capture tables no longer trigger date conversion errors.8
    Fixes date conversion errors triggered by DDL operations on Change Data Capture (CDC) tables.

Programmability

2 items
  • Altering a disabled DDL trigger no longer causes a memory access violation.3
    Fixes a memory access violation when altering a disabled DDL trigger.
  • A DML operation that inserts a NULL JSON document into a JSON index column no longer encounters the possible failure described in the update.13
    Fixes a possible failure during a DML operation that inserts a NULL JSON document into a JSON index column.

SQL OS

For: SQL Server instances

  • tempdb space usage accounting is more accurate in the uncommon cases covered by this fix.9
    Fixes several issues that can cause tempdb space usage accounting to be inaccurate in uncommon cases.

High Availability and Disaster Recovery

For: Availability group deployments

  • A failed assertion related to thread trace elements no longer occurs on the primary replica of an availability group.10
    Fixes a failed assertion related to thread trace elements on the primary replica of an availability group.

Integration Services

For: Windows users of SSIS with Encrypt=Strict connections

  • SSIS packages can be deployed and run successfully when they connect to SQL Server instances configured with Encrypt=Strict.11
    Fixes SSIS package deployment and execution failures when connecting to instances configured with Encrypt=Strict.

Unified Communication Stack

For: SQL Server instances

  • The SNI SSL provider handles zero-length TLS records correctly.12
    Fixes handling of zero-length TLS records in the SNI SSL provider.

Improvements 5 changes

High Availability and Disaster Recovery

2 items
  • The Pacemaker resource agent treats a forwarder replica as the local primary for the local availability group orchestrator.14
    Updates the Pacemaker resource agent's handling of forwarder replicas for the local availability group orchestrator.
  • The Windows Failover Cluster log includes more detail when an availability group resource cannot retrieve diagnostic column information.15
    Adds error information to the Windows Failover Cluster log for this availability group resource DLL condition.

Search

  • On Azure SQL Managed Instance, the default FULLTEXT_INDEX_VERSION database setting changes to 2.16
    Changes the default value of the FULLTEXT_INDEX_VERSION database-scoped configuration to 2 on Azure SQL Managed Instance.

SQL Connectivity

For: Windows users of bcp

  • The bcp utility adds bulk import and export support for vector(16) and vector(32), plus options for strict TLS certificate validation. Support for vector(16) becomes functional only after the next ODBC driver release.17
    Adds -H (HostNameInCertificate) and -J (ServerCertificate) options. vector(16) support in bcp requires the next ODBC driver release to become functional.

Integration Services

For: Windows users saving password-encrypted packages targeting SQL Server 2025

  • Password-encrypted SSIS packages targeting SQL Server 2025 use stronger encryption. Packages saved after this update require compatible SSDT and SSMS versions to open; SQL Server 2022 and earlier packages are unaffected.18
    Upgrades EncryptAllWithPassword and EncryptSensitiveWithPassword to PBKDF2 with SHA-256 and 100,000 iterations. Until compatible SSDT and SSMS versions are released, packages saved after the update, including those created by the Import and Export Wizard, cannot be opened in those tools.

Known issues

  1. Open Affects: Everyone

    Linked server queries that use MSDASQL fail with error 7416

    Linked-server queries using the MSDASQL provider and a provider string (@provstr) fail with error 7416, stating that access to the remote server is denied because no login-mapping exists.19

    Workaround status No workaround yet

    Microsoft has not published a manual workaround for this issue yet. Monitor release health until a resolving update is available.

  2. Open Affects: Everyone

    Incorrect behavior of SESSION_CONTEXT in parallel plans

    Queries using SESSION_CONTEXT might return incorrect results or create access-violation dump files when they run in parallel query plans, particularly if the session is reset for reuse.20

    Workaround status No workaround yet

    Microsoft 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-06-17
Classification
Updates
Type
Cumulative update
Servicing branch
CU
Restart
Required
Replaces
KB5084896, KB5081495, KB5077896, KB5075211, KB5078298
Replaced by
KB5101346
VersionBuildChannel
2025 17.0.4055.5 General availability

Security

No vulnerabilities are listed for this update.

Downloads (Microsoft Update Catalog)

Updated components

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

Top changed componentsFiles
SQL Server Engine30
SQL Server Integration Services24
SQL Server Replication12
SQL Server Agent4
SQL Server Machine Learning Services4
SQL Server Full-Text Search2
SQL Server PolyBase2

Sources

Cited passages from Microsoft's official notes (20)
  1. 1. Fixes an issue that can occur during parallel vector index builds and that can cause resource exhaustion and performance degradation. learn.microsoft.com
  2. 2. Fixes an issue in which changing the collation setup can block mssql-conf unexpectedly on systems that have a high CPU count. learn.microsoft.com
  3. 3. Fixes an issue in which altering a disabled DDL trigger causes a memory access violation. learn.microsoft.com
  4. 4. Fixes an issue in which file creation fails unexpectedly on file systems that don't support hard links. learn.microsoft.com
  5. 5. Fixes Error 17750 (DLL load failure) that can occur when you run sp_executesql in a Linux container that's configured by using the Korean_Wansung_CI_AS collation. learn.microsoft.com
  6. 6. Fixes a failure that can occur on Linux when you run striped backups that have 16 or more stripes if Transparent Huge Pages (THP) is enabled. learn.microsoft.com
  7. 7. Fixes a scheduling issue that can prevent a thread from suspending during an index rebuild. This issue causes the program to stop responding. learn.microsoft.com
  8. 8. Fixes an issue in which DDL operations on Change Data Capture (CDC) tables can trigger date conversion errors. learn.microsoft.com
  9. 9. Fixes several issues that can cause tempdb space usage accounting to be inaccurate in uncommon cases. learn.microsoft.com
  10. 10. Fixes a failed assertion that's related to thread trace elements that can occur on the primary replica of an availability group. learn.microsoft.com
  11. 11. Fixes an issue in which SSIS packages can't be deployed or run successfully if they connect to SQL Server instances that are configured by using Encrypt=Strict. learn.microsoft.com
  12. 12. Fixes handling of zero-length TLS records in the SNI SSL provider. learn.microsoft.com
  13. 13. Fixes a possible failure that can occur on a DML operation that inserts a NULL JSON document into a JSON index column. learn.microsoft.com
  14. 14. Updates the Pacemaker resource agent to treat a forwarder replica as the local primary for the local availability group orchestrator. learn.microsoft.com
  15. 15. Adds more detailed error information to the Windows Failover Cluster log when the availability group resource DLL can't retrieve diagnostic column information. learn.microsoft.com
  16. 16. Changes the default value of the FULLTEXT_INDEX_VERSION database scoped configuration to 2 on Azure SQL Managed Instance. learn.microsoft.com
  17. 17. Updates the bcp utility to support bulk import and bulk export of the vector(16) and vector(32) data types. learn.microsoft.com
  18. 18. Upgrades SQL Server Integration Services (SSIS) password-based encryption (EncryptAllWithPassword and EncryptSensitiveWithPassword) to use PBKDF2 with SHA-256 and 100,000 iterations for packages that target SQL Server 2025. learn.microsoft.com
  19. 19. Linked server queries that use the MSDASQL (OLE DB Provider for ODBC Drivers) provider and specify a provider string (@provstr) fail and return the following error message: learn.microsoft.com
  20. 20. Queries that use the built-in SESSION_CONTEXT function might return incorrect results or trigger access violation (AV) dump files when run in parallel query plans. learn.microsoft.com
Checked automatically: 8 of 8 checks passed, 20 quoted passages · compared with Microsoft's page on Sep 26, 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 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