Skip to the content
The Update Bureau
SQL Server 2022 CU19 SQL Server 2022 CU19 Cumulative update

KB5054531

KB5054531: Cumulative update for SQL Server 2022, CU branch, May 2025. Repairs S3 backups, Entra sign-in, and SQL query problems

In short

CU19 adds 13 fixes after CU18, including repairs for S3-compatible backups, Microsoft Entra authentication on Linux, and incorrect query results. Queries using SESSION_CONTEXT in parallel plans can still return incorrect results or trigger access violations.

Does it affect you? Applies to: SQL Server 2022 instances. The fixes cover SQL Server components on Windows and Linux, and Analysis Services.

Build
16.0.4195.2
Servicing branch
CU
Restart
Required
Review notes Additional details from the official release notes (1) Read note
  • What changes This fix concerns Microsoft Entra authentication on SQL Server for Linux when IPv6 is enabled. The update adds a DNS-record limit option; after enabling it, at least one IPv4 address is tried when connecting to Entra servers.

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

Analysis Services

For: Administrators of Analysis Services databases

  • Analysis Services no longer stops responding or damages the model when a database role has too many members, such as more than 1,820.1
    Fixes the issue triggered by adding too many members to an Analysis Services database role.

Backup Restore

For: Administrators using S3-compatible storage

  • Backups to S3-compatible storage no longer fail because the multipart upload response exceeds its buffer.2
    Fixes BACKUP TO URL failures caused by XML namespace clutter in the multipart upload response.

Linux

2 items
  • Microsoft Entra authentication works with IPv6 enabled on SQL Server for Linux.3
    Adds the network.ipv6dnsrecordslimit mssql-conf option to limit DNS AAAA records to 0–5; after enabling it, at least one IPv4 address is tried when connecting to Entra servers.
  • Encrypted connections work again on Red Hat Enterprise Linux 9.4
    Fixes encrypted connection failures following an OpenSSL version upgrade.

Query Execution

For: SQL Server users running queries with linked servers

  • Queries that use a linked server no longer encounter this assertion failure.5
    Fixes the assertion failure Location: op_decod.cpp:9532; Expression: false when running a query with a linked server.

Query Optimizer

For: Users of queries combining WINDOW and CASE

  • Queries using WINDOW clauses together with CASE statements no longer return incorrect results.6
    Fixes incorrect results when using WINDOW clauses in conjunction with CASE statements.

Search

For: SQL Server users of full-text search

  • SQL Server handles large numbers of full-text fragments marked for deletion by dropping them in batches.7
    Fixes an issue encountered when a large number of full-text fragments are marked for deletion.

Security Infrastructure

For: Administrators using contained availability groups

  • Server audits created in a contained availability group work after the SQL Server instance restarts.8
    Fixes server audits in contained availability groups that stop working after an instance restart.

Service Broker

For: Users of Service Broker

  • SQL Server avoids non-yielding exceptions when a Service Broker queue becomes very long while sending messages.9
    Addresses exceptions that might occur when a Service Broker queue becomes very long, for example if an application doesn't properly close conversations.

SQL OS

For: Administrators capturing minidump files

  • Capturing minidump files on SQL Server instances with large amounts of memory avoids dump issues.10
    Restores the 2-GB limit for minidump file size.

Improvements 3 changes

Query Optimizer

For: SQL Server administrators and developers

  • The EXPAND VIEWS behavior can be used without adding a per-query hint.11
    Enables trace flag 9135 (TRCFLG_QP_DONT_USE_INDEXED_VIEWS) in retail builds.

Security Infrastructure

For: SQL Server administrators managing audits

  • Auditing can now track actions associated with this action group.12
    Enables the SERVER_OBJECT_PERMISSION_CHANGE_GROUP action group to audit associated actions.

SQL OS

  • The log tail file name matches the dump file name after a stack dump is generated.13
    Updates the log tail file name construction after running DBCC STACKDUMP.

Known issues

  1. Open Affects: Everyone

    Incorrect behavior of SESSION_CONTEXT in parallel plans

    Queries using SESSION_CONTEXT in parallel query plans might return incorrect results or trigger access violation dump files, particularly if the session is reset for reuse.14

    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
2025-05-15
Classification
Updates
Type
Cumulative update
Servicing branch
CU
Restart
Required
Replaces
KB5050771, KB5048038, KB5048033, KB5041321
+4 earlier KB5038325, KB5036432, KB5033663, KB5032679
Replaced by
KB5058721
VersionBuildChannel
2022 16.0.4195.2 General availability

Security

No vulnerabilities are listed for this update.

Downloads (Microsoft Update Catalog)

Sources

Updated
Cited passages from Microsoft's official notes (14)
  1. 1. Fixes an issue in which the SQL Server Analysis Services (SSAS) service stops responding and the model is damaged when you add too many members (for example, more than 1,820 members) to a database role. support.microsoft.com
  2. 2. Fixes an issue in which using BACKUP TO URL for S3-compatible storage fails because the buffer for the multipart upload response is insufficient due to XML namespace clutter. support.microsoft.com
  3. 3. Fixes a Microsoft Entra authentication issue for SQL Server on Linux with IPv6 enabled. The network.ipv6dnsrecordslimit mssql-conf option is added to limit the number of AAAA records returned by Domain Name System (DNS) to values between 0 and 5 (inclusive). support.microsoft.com
  4. 4. Fixes an issue that affects Red Hat Enterprise Linux (RHEL) 9 in which the encrypted connection fails due to an OpenSSL version upgrade. support.microsoft.com
  5. 5. Fixes an assertion failure (Location: op_decod.cpp:9532; Expression: false) that you encounter when running a query with a linked server. support.microsoft.com
  6. 6. Fixes an issue in which incorrect results might be returned if using WINDOW clauses in conjunction with CASE statements. support.microsoft.com
  7. 7. Fixes an issue that you encounter when a large number of full-text fragments are marked for deletion by dropping fragments in batches. support.microsoft.com
  8. 8. Fixes an issue in which the server audit created in a contained availability group doesn't work after the SQL Server instance restarts. support.microsoft.com
  9. 9. Fixes non-yielding exceptions that you might encounter when the Service Broker queue becomes very long while sending messages (for example, due to an application not properly closing conversations). support.microsoft.com
  10. 10. Reverts to the 2-GB limit for the minidump file size to avoid dump issues when capturing minidump files on SQL Server instances with a large amount of memory. support.microsoft.com
  11. 11. Enables trace flag 9135 (TRCFLG_QP_DONT_USE_INDEXED_VIEWS) in retail builds to allow the EXPAND VIEWS behavior without the per-query hint. support.microsoft.com
  12. 12. Enables the SERVER_OBJECT_PERMISSION_CHANGE_GROUP action group to audit associated actions. support.microsoft.com
  13. 13. Updates the log tail file name to be constructed according to the dump file name after running the DBCC STACKDUMP command. support.microsoft.com
  14. 14. 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. This issue occurs because of the manner in which SESSION_CONTEXT interacts with parallel execution threads, particularly if the session is reset for reuse. support.microsoft.com
Checked automatically: 8 of 8 checks passed, 14 quoted passages · compared with Microsoft's page on Oct 20, 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