KB5104822: Cumulative update for SQL Server 2025, CU branch, August 2026. Database recovery queries can trigger access violations; JSON fixes included
Includes 11 fixes for SQL Server 2025. It also has an open issue where querying requests during database recovery might cause an access violation and dump file.
Does it affect you? Applies to: Instances running SQL Server 2025. The update package covers installed SQL Server components, and the article provides installation guidance for Windows and Linux.
Review notes Additional details from the official release notes (3) Read notes
- What changes The fix is for restores using both Volume Shadow Copy Service (VSS) and WITH MOVE when the server contains hundreds of databases.
- Known issues Linked server queries using MSDASQL with a provider string fail with error 7416.
- In detail Linked server queries using MSDASQL with a provider string fail with error 7416.
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 9 changes
Backup Restore
-
Restoring a database with
WITH MOVEno longer takes a long time or times out when the server has hundreds of databases.1Fixes the issue with restores that use Volume Shadow Copy Service (VSS).
Maintenance Plan
- An index rebuild maintenance plan no longer stops responding because of a long-running query.2
Deployment Platform
-
Setup recommends the correct
max server memoryvalue for Standard and Standard Developer editions: 256 GB instead of 128 GB.3
Linux
For: Linux SQL Server administrators
-
Changing the collation during initial setup no longer unexpectedly blocks
mssql-confon systems with a high CPU count.4
Programmability
-
OPENJSONno longer returns unexpected rows when a JSON path contains certain special characters.5The affected pattern-matching characters include%,_,[and]. -
DBCC CHECKTABLEno longer triggers an assertion and dump file for the specified persisted computed column.6The issue occurs withEXTENDED_LOGICAL_CHECKSon a persisted computed column that uses the nativejsondata type. -
JSON_MODIFYno longer returns errors 13643 and 7102 when appending a value to a native JSON array with 65,535 elements.7 -
JSON_MODIFYno longer returns error 13643, state 101, when a native JSON array with 65,536 or more elements is its value argument.8 -
JSON_MODIFYno longer returns errors 13647 and 13643 when overwriting or deleting a stored native JSON array with 65,536 or more elements.9
Known issues
-
Linked server queries that use MSDASQL fail with error 7416
Linked server queries that use the
MSDASQLprovider and specify a provider string (@provstr) might fail with error 7416, stating that no login mapping exists.12Workaround status No workaround yetMicrosoft has not published a manual workaround for this issue yet. Monitor release health until a resolving update is available.
-
Access violation when you query sys.dm_exec_requests during database recovery
Queries against
sys.dm_exec_requestsmight cause an access violation and dump file while a database is recovering, including duringRESTORE, startup recovery, or before an availability group replica finishes coming online.13How to apply the workaround SQL Trace FlagEnable trace flag 4696, avoid querying
sys.dm_exec_requestsfor databases that are recovering, or uninstall this update. With the trace flag enabled, monitoring queries againstsys.dm_exec_requestsorsys.sysprocesseson secondary replicas might return errors 976 or 978.13Step-by-step workaround instructionsShow steps Hide steps2 stepsStep-by-step procedure- Enable trace flag
4696, noting that monitoring queries on secondary replicas might return errors 976 or 978. - Alternatively, avoid queries against
sys.dm_exec_requestsfor databases that are recovering, or uninstall the update.
- Enable trace flag
-
Incorrect behavior of SESSION_CONTEXT in parallel plans
Queries using
SESSION_CONTEXTmight return incorrect results or generate access violation dump files when they run in parallel query plans, particularly if the session is reset for reuse.14Workaround 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-08-13
- Classification
- Updates
- Type
- Cumulative update
- Servicing branch
- CU
- Restart
- Required
- Replaces
- KB5096981, KB5093421, KB5084896, KB5081495
- Replaced by
- KB5122769
| Version | Build | Channel |
|---|---|---|
| 2025 | 17.0.4075.5 | General availability |
Security
No vulnerabilities are listed for this update.
Downloads (Microsoft Update Catalog)
Updated components
279 files changed since the previous update for the same versions.
| Top changed components | Files |
|---|---|
| SQL Server Engine | 93 |
| SQL Server Integration Services | 24 |
| SQL Server Replication | 12 |
| SQL Server Agent | 4 |
| SQL Server Machine Learning Services | 4 |
| SQL Server PolyBase | 4 |
| SQL Server Full-Text Search | 2 |
Sources
Cited passages from Microsoft's official notes (14)
-
1.
Fixes an issue in which restoring a database by using Volume Shadow Copy Service (VSS) and
support.microsoft.comWITH MOVEtakes a long time or times out if the server contains hundreds of databases. -
2.
Fixes an issue in which an index rebuild maintenance plan stops responding because of a long-running query.
support.microsoft.com -
3.
Fixes an issue in which SQL Server Setup recommends a
support.microsoft.commax server memoryvalue of 128 GB instead of 256 GB for Standard and Standard Developer editions. -
4.
Fixes an issue in which changing the collation during initial setup can block
support.microsoft.commssql-confunexpectedly on systems that have a high CPU count. -
5.
Fixes an issue in which
support.microsoft.comOPENJSONreturns unexpected rows when a JSON path contains special pattern-matching characters, including%,_,[, or]. -
6.
Fixes an assertion and dump file that occur when
support.microsoft.comDBCC CHECKTABLEruns withEXTENDED_LOGICAL_CHECKSagainst a persisted computed column that uses the nativejsondata type. -
7.
Fixes errors 13643 and 7102 that occur when
support.microsoft.comJSON_MODIFYappends a value to a nativejsonarray that contains 65,535 elements. -
8.
Fixes error 13643, state 101, that occurs when
support.microsoft.comJSON_MODIFYreceives a nativejsonarray that contains 65,536 or more elements as its value argument. -
9.
Fixes errors 13647 and 13643 that occur when
support.microsoft.comJSON_MODIFYoverwrites or deletes a stored nativejsonarray that contains 65,536 or more elements. -
10.
Adds a new optional parameter,
support.microsoft.com@multi_subnet_failover, tosp_adddistributor. -
11.
Adds encryption support for communication between the PolyBase external service and clients that use gRPC on Linux.
support.microsoft.com -
12.
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: -
13.
Enable trace flag 4696 to opt out of the code change that causes this issue.
support.microsoft.com -
14.
Queries that use the built-in
support.microsoft.comSESSION_CONTEXTfunction might return incorrect results or trigger access violation (AV) dump files when run in parallel query plans.
Checked automatically: 8 of 8 checks passed, 14 quoted passages · compared with Microsoft's page on Oct 16, 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