KB5078297: Cumulative update for SQL Server 2022, CU branch, January 2026. Database Mail restored; parallel SESSION_CONTEXT issue remains
CU23 restores Database Mail functionality broken by the initial release and includes 15 fixes. Queries using SESSION_CONTEXT in parallel plans can still return incorrect results or trigger access violation dumps.
Does it affect you? Applies to: SQL Server 2022 on Windows and Linux. The package updates only the SQL Server components already installed on the instance.
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
Backup Restore
For: SQL Server instances using the SIMPLE recovery model
-
Backup log operations no longer fail with an error saying that BACKUP LOG is not allowed when the recovery model is SIMPLE.1
Fixes the
BACKUP LOGfailure when the recovery model isSIMPLE.
High Availability and Disaster Recovery
-
An assertion issue related to new log readiness notifications is fixed.2
Fixes an AV assertion issue in
DbMgrPartnerrelated to new log readiness notifications. -
Distributed Availability Group seeding no longer fails when the local Availability Group is offline.7
Fixes Distributed Availability Group seeding when the local Availability Group is offline.
Protocols
For: All platforms
-
Non-yielding scheduler dump files are no longer generated when SSL connections close under high CPU load.3
Fixes generation of non-yielding scheduler dump files when SSL connections close under high CPU load.
Programmability
-
Upgrading from SQL Server 2019 to SQL Server 2022 no longer gets stuck during the model database upgrade phase.4
Fixes an upgrade hang during the model database upgrade phase.
-
A missing partition in a common table expression no longer causes a crash.9
Fixes a crash caused by a missing partition in a common table expression (CTE).
Linux
For: Linux
-
SQL Server no longer crashes if the Domain Controller returns an invalid ID type in LookupAccountSid.5
Fixes crashes when an invalid ID type is returned from the Domain Controller in
LookupAccountSid. -
Active Directory logins work when the keytab file is updated too long after the privileged user password is rotated.6
Fixes an issue that prevents Active Directory logins when the keytab file is updated too long after the privileged user password is rotated.
-
VDI restore operations no longer fail to allocate memory when memory is limited through cgroupsv2.10
Fixes memory allocation failure during VDI restore operations when memory is limited through
cgroupsv2.
Security Infrastructure
For: All platforms
-
Configuring multiple concurrent auditing operations to write to the Security Event log no longer fails during updates.8
Fixes a failure to configure multiple concurrent auditing to write to the Security Event log during updates.
Certificate Import
For: Windows
-
SQL Server Configuration Manager imports the affected certificates without failing.11
Fixes certificate import failures in SSCM, including password-protected self-signed certificates and certificates exported from Azure AKV that aren't password protected.
Query Execution
For: All platforms
-
AppDomains in a DOOMED state are unloaded correctly.12
Fixes AppDomains in a
DOOMEDstate not being unloaded correctly.
Database Mail
For: SQL Server 2022 instances with the initial CU23 release installed
-
Database Mail functionality is restored in the current CU23 release; the initial release could stop Database Mail from working.13
The issue affected product version
16.0.4235.2and file version2022.160.4235.2. Email queued through Database Mail while the initial release was installed isn't automatically resent after uninstalling it or installing a cumulative update with the fix.
Improvements 2 changes
High Availability and Disaster Recovery
For: All platforms
-
Creating an availability group with a name longer than 64 characters returns error 19544 instead of an assertion when cluster_type is NONE or EXTERNAL.14
Changes behavior for availability groups created with
cluster_type = NONEorEXTERNALand names longer than 64 characters.
Security Infrastructure
For: All platforms
-
Only sysadmins can invoke dbcc stackdump to create a dump file.15
Restricts privileges for
dbcc stackdumpso that only the sysadmin can invoke the dump file.
New feature 1 change
SQL OS
-
Azure SQL Managed Instance can use sys.fn_xe_file_target_read_file() to read system_health event session data.16
Enables
sys.fn_xe_file_target_read_file()to readsystem_healthevent session data in Azure SQL Managed Instance.
Known issues
-
Incorrect behavior of SESSION_CONTEXT in parallel plans
Queries using
SESSION_CONTEXTmight return incorrect results or trigger access violation dump files when run in parallel query plans, particularly if the session is reset for reuse.17Workaround 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-01-29
- Classification
- Updates
- Type
- Cumulative update
- Servicing branch
- CU
- Restart
- Required
- Replaces
- KB5068450, KB5065865, KB5059390, KB5054531
- Replaced by
- KB5077464
| Version | Build | Channel |
|---|---|---|
| 2022 | 16.0.4236.2 | General availability |
Security
No vulnerabilities are listed for this update.
Downloads (Microsoft Update Catalog)
Updated components
202 files changed since the previous update for the same versions.
| Top changed components | Files |
|---|---|
| SQL Server Engine | 30 |
| SQL Server Replication | 13 |
| SQL Server Integration Services | 10 |
| SQL Server Agent | 5 |
| SQL Server Machine Learning Services | 4 |
| SQL Server Full-Text Search | 2 |
| SQL Server PolyBase | 2 |
Sources
Cited passages from Microsoft's official notes (17)
-
1.
Fixes an issue in which backup log operations fail and return an error that indicates that
learn.microsoft.comBACKUP LOGis not allowed while the recovery model isSIMPLE. -
2.
Fixes an AV assertion issue in
learn.microsoft.comDbMgrPartnerthat's related to new log readiness notifications. -
3.
Fixes an issue in which non-yielding scheduler dump files are generated when SSL connections are closed under high CPU load.
learn.microsoft.com -
4.
Fixes an issue in which upgrading from SQL Server 2019 to SQL Server 2022 might cause the upgrade process to stop responding during the model database upgrade phase.
learn.microsoft.com -
5.
Fixes an issue that causes crashes when an invalid ID type is returned from the Domain Controller in LookupAccountSid.
learn.microsoft.com -
6.
Fixes an issue that prevents Active Directory logins from working if the keytab file is updated too long after the privileged user password is rotated.
learn.microsoft.com -
7.
Fixes an issue in which Distributed Availability Group seeding fails if the local Availability Group is offline.
learn.microsoft.com -
8.
Fixes a failure to configure multiple concurrent auditing to write to the Security Event log during updates.
learn.microsoft.com -
9.
Fixes a crash that's caused by a missing partition in a common table expression (CTE).
learn.microsoft.com -
10.
Fixes a bug that causes memory allocation failure during VDI restore operations if memory is limited through
learn.microsoft.comcgroupsv2on Linux. -
11.
Fixes an issue in which SSCM fails when it imports certain certificates, including self-signed certificates that are password protected and certificates exported from Azure AKV that are not password protected.
learn.microsoft.com -
12.
Fixes an issue in which AppDomains in a DOOMED state are not unloaded correctly.
learn.microsoft.com -
13.
This issue is resolved in the current version of this cumulative update (KB5078297).
learn.microsoft.com -
14.
Changes the behavior of the program to return error 19544 instead of returning an assert when you create an availability group that has a name that's longer than 64 characters by using
learn.microsoft.comcluster_type = NONEorEXTERNAL. -
15.
Restricts privileges for dbcc stackdump so that only the sysadmin can invoke the dump file.
learn.microsoft.com -
16.
Allows using the
learn.microsoft.comsys.fn_xe_file_target_read_file()function to readsystem_healthevent session data in Azure SQL Managed Instance. -
17.
Queries that use the built-in
learn.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, 17 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 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