Skip to content

Commit 61b1823

Browse files
debapsahaprzlplx
andauthored
CU-update-21-for-SQL-Server-2022 (#10410)
* CU-update-21-for-SQL-Server-2022 Added the bug details 4254920 * CU-update-21-for-SQL-Server-2022 small fix * CU-update-21-for-SQL-Server-2022 small fix * Update cumulativeupdate21.md * Update cumulativeupdate21.md * CU-update-21-for-SQL-Server-2022 Amended The bug description * CU-update-21-for-SQL-Server-2022 updated link * CU-update-21-for-SQL-Server-2022 updated the link in the description * CU-update-21-for-SQL-Server-2022 updated casing of link * Update cumulativeupdate21.md --------- Co-authored-by: Jerry Sitser <[email protected]>
1 parent 8dc8e17 commit 61b1823

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

support/sql/releases/sqlserver-2022/cumulativeupdate21.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Cumulative update 21 for SQL Server 2022 (KB5065865)
3-
description: This article contains the summary, known issues, improvements, fixes, and other information for SQL Server 2022 cumulative update 21 (KB5065865).
2+
title: Cumulative Update 21 for SQL Server 2022 (KB5065865)
3+
description: This article contains the summary, known issues, improvements, fixes, and other information for SQL Server 2022 Cumulative Update 21 (KB5065865).
44
ms.date: 09/11/2025
55
ms.update-cycle: 1095-days
66
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen, KB5065865
@@ -17,7 +17,7 @@ _Version:_ &nbsp; 16.0.4215.2
1717

1818
## Summary
1919

20-
This article describes Cumulative Update package 21 (CU21) for Microsoft SQL Server 2022. This update contains 16 [fixes](#improvements-and-fixes-included-in-this-update) that were issued after the release of SQL Server 2022 Cumulative Update 20 and it updates components in the following builds:
20+
This article describes Cumulative Update package 21 (CU21) for Microsoft SQL Server 2022. This update contains 17 [fixes](#improvements-and-fixes-included-in-this-update) that were issued after the release of SQL Server 2022 Cumulative Update 20. It updates components in the following builds:
2121

2222
- SQL Server - Product version: **16.0.4215.2**, file version: **2022.160.4215.2**
2323
- Analysis Services - Product version: **16.0.43.247**, file version: **2022.160.43.247**
@@ -30,33 +30,34 @@ This article describes Cumulative Update package 21 (CU21) for Microsoft SQL Ser
3030

3131
## Improvements and fixes included in this update
3232

33-
A downloadable Excel workbook that contains a summary list of builds, together with their current support lifecycle, is available. The Excel file also contains detailed fix lists for SQL Server 2022, SQL Server 2019, and SQL Server 2017. [Select to download this Excel file now](https://aka.ms/sqlserverbuilds).
33+
A downloadable Excel workbook that contains a summary list of builds, together with their current support lifecycle, is available. The Excel file also contains detailed fix lists for SQL Server 2022, SQL Server 2019, and SQL Server 2017. [Download this Excel file now](https://aka.ms/sqlserverbuilds).
3434

3535
> [!NOTE]
3636
> Individual entries in the following table can be referenced directly through a bookmark. If you select any bug reference ID in the table, a bookmark tag is added to the URL by using the "#NNNNNNN" format. You can then share this URL with others so that they can jump directly to the desired fix in the table.
3737
38-
For more information about the bugs that are fixed and enhancements that are included in this cumulative update, see the following table:
38+
For more information about the bugs that are fixed and enhancements that are included in this cumulative update, see the following table.
3939

4040
| Bug reference | Description| Fix area| Component | Platform |
4141
|-------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|-------------------------------------------|----------|
42-
|<a id=4433544>[4433544](#4433544) </a> | Fixes an issue in which running the `TRUNCATE TABLE WITH PARTITIONS` statement on a table with non-aligned partitions succeeds unexpectedly and causes corruption. | SQL Server Engine | DB Management | All|
43-
|<a id=4145424>[4145424](#4145424) </a> | Fixes an assertion dump issue on the primary replica of an availability group related to the expression "!(uaeUnused != prev && trace->Elements[prev].ThreadId == trace->Elements[curr].ThreadId) \|\| (trace->Elements[prev].Value <= value)."| SQL Server Engine | High Availability and Disaster Recovery | All|
42+
|<a id=4433544>[4433544](#4433544) </a> | Fixes an issue in which running the `TRUNCATE TABLE WITH PARTITIONS` statement on a table that has nonaligned partitions succeeds unexpectedly and causes corruption. | SQL Server Engine | DB Management | All|
43+
|<a id=4145424>[4145424](#4145424) </a> | Fixes an assertion dump issue on the primary replica of an availability group that's related to the expression, "!(uaeUnused != prev && trace->Elements[prev].ThreadId == trace->Elements[curr].ThreadId) \|\| (trace->Elements[prev].Value <= value)."| SQL Server Engine | High Availability and Disaster Recovery | All|
4444
|<a id=4419880>[4419880](#4419880) </a> | Fixes a SQL injection vulnerability in a system stored procedure.| SQL Server Engine | High Availability and Disaster Recovery | All|
45-
|<a id=4311157>[4311157](#4311157) </a> | Fixes a SQL Server on Linux termination issue that you might encounter when trying to send encrypted TLS/SSL data to a peer after receiving an alert such as `bad_record_mac` from the peer. | SQL Server Engine | Linux | Linux|
45+
|<a id=4311157>[4311157](#4311157) </a> | Fixes a SQL Server on Linux termination issue that you might encounter when you try to send encrypted TLS/SSL data to a peer after receiving an alert such as `bad_record_mac` from the peer. | SQL Server Engine | Linux | Linux|
4646
|<a id=4419716>[4419716](#4419716) </a> | Fixes a SQL injection vulnerability in a system stored procedure.| SQL Server Engine | Metadata| All|
4747
|<a id=4229256>[4229256](#4229256) </a> | Fixes an issue in which DMVs are used in specific scenarios to inspect the text of statements that are running in other sessions and might contain sensitive data. | SQL Server Engine | Programmability | All|
48-
|<a id=4268984>[4268984](#4268984) </a> | Fixes an access violation dump issue that you encounter in `ACCESS_VIOLATION_c0000005_sqllang.dll!CScaOp_Intrinsic::FConvertToText_Intrinsic` when executing queries that use the TRIM intrinsic.| SQL Server Engine | Programmability | All|
48+
|<a id=4268984>[4268984](#4268984) </a> | Fixes an access violation dump issue that you encounter in `ACCESS_VIOLATION_c0000005_sqllang.dll!CScaOp_Intrinsic::FConvertToText_Intrinsic` when you run queries that use the TRIM intrinsic.| SQL Server Engine | Programmability | All|
4949
|<a id=4410919>[4410919](#4410919) </a> | Fixes an issue in which the `TRY_CONVERT` function might cause invalid results when the plan uses the **Clustered Index Seek** operator. | SQL Server Engine | Query Optimizer | All|
5050
|<a id=4441901>[4441901](#4441901) </a> | Fixes an issue in which the change tracking auto cleanup process blocks the user triggered `ALTER TABLE` column-level DDL (`ADD/DROP/ALTER COLUMN`) operations.| SQL Server Engine | Replication | All|
51-
|<a id=4524294>[4524294](#4524294) </a> | Fixes an issue in which adding a merge agent fails and throws out the following error when the subscription uses a non-default port: </br></br>Msg 2560, Level 16, State 9, Procedure distribution.sys.sp_MSadd_merge_agent, Line \<LineNumber> [Batch Start Line 3]</br>Parameter 2 is incorrect for this DBCC statement. | SQL Server Engine | Replication | Windows|
52-
|<a id=4424573>[4424573](#4424573) </a> | Prevents logins with the `ALTER ANY LOGIN` permission from resetting the passwords of logins that have `ALTER ANY LOGIN` or `IMPERSONATE ANY LOGIN` permissions to avoid elevation of privilege. | SQL Server Engine | Security Infrastructure | All|
53-
|<a id=4520174>[4520174](#4520174) </a> | Fixes an access violation that you encounter when running `sp_describe_first_result_set` on `sys.database_ledger_digest_locations`.| SQL Server Engine | Security Infrastructure | All|
54-
|<a id=4437734>[4437734](#4437734) </a> | Prevents elevation of privilege by running SQL Agent job steps for built-in jobs with reduced permissions. | SQL Server Engine | SQL Agent | All|
51+
|<a id=4524294>[4524294](#4524294) </a> | Fixes an issue in which adding a merge agent fails and generates the following error message if the subscription uses a nondefault port: </br></br>Msg 2560, Level 16, State 9, Procedure distribution.sys.sp_MSadd_merge_agent, Line \<LineNumber> [Batch Start Line 3]</br>Parameter 2 is incorrect for this DBCC statement. | SQL Server Engine | Replication | Windows|
52+
|<a id=4424573>[4424573](#4424573) </a> | Prevents logons that have the `ALTER ANY LOGIN` permission from resetting the passwords of logons that have `ALTER ANY LOGIN` or `IMPERSONATE ANY LOGIN` permissions to avoid elevation of privilege. | SQL Server Engine | Security Infrastructure | All|
53+
|<a id=4520174>[4520174](#4520174) </a> | Fixes an access violation that you encounter when you run `sp_describe_first_result_set` on `sys.database_ledger_digest_locations`.| SQL Server Engine | Security Infrastructure | All|
54+
|<a id=4437734>[4437734](#4437734) </a> | Prevents elevation of privilege by running SQL Agent job steps for built-in jobs that have reduced permissions. | SQL Server Engine | SQL Agent | All|
5555
|<a id=4285469>[4285469](#4285469) </a> | Fixes a vulnerability that lets users who have access to certain stored procedures perform SQL injection and run arbitrary code by using elevated privileges.| SQL Server Engine | SQL Server Engine | All|
5656
|<a id=4448818>[4448818](#4448818) </a> | Fixes URLs in certain error messages (for example, error 14130 and error 14131). | SQL Server Engine | SQL Server Engine | All|
5757
|<a id=2693201>[2693201](#2693201) </a> | Fixes an issue in which the log files shrink beyond the specified target size under certain operations when you run the `DBCC SHRINKFILE` command. | SQL Server Engine | Storage Management| All|
58+
|<a id=4254920>[4254920](#4254920) </a> |Fixes a [known issue](/sql/sql-server/sql-server-2022-release-notes#dbcc-checkdb-command-reports-inconsistency-after-dropping-index) that causes the DBCC CHECKDB command to report an inconsistency after you drop an index or a table that includes an index from a database that originated from Azure SQL Managed Instance. | SQL Server Engine | DB Management | All|
5859

59-
## How to obtain or download this or the latest cumulative update package
60+
## How to obtain or download this (or the latest) cumulative update package
6061

6162
<details>
6263
<summary><b>How to obtain or download the latest cumulative update package for Windows (recommended)</b></summary>
@@ -67,7 +68,7 @@ The following update is available from the Microsoft Download Center:
6768

6869
> [!NOTE]
6970
>
70-
> - Microsoft Download Center will always offer the latest SQL Server 2022 CU release.
71+
> - Microsoft Download Center always offers the latest SQL Server 2022 CU release.
7172
> - If the download page doesn't appear, contact [Microsoft Customer Service and Support](https://support.microsoft.com/contactus/?ws=support) to obtain the cumulative update package.
7273
7374
</details>
@@ -83,7 +84,7 @@ The following update is available from the Microsoft Update Catalog:
8384
>
8485
> - [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Search.aspx?q=sql%20server%202022) contains this SQL Server 2022 CU and previously released SQL Server 2022 CU releases.
8586
> - This CU is also available through Windows Server Update Services (WSUS).
86-
> - We recommend that you always install the latest cumulative update that is available.
87+
> - We recommend that you always install the latest cumulative update that's available.
8788
8889
</details>
8990

0 commit comments

Comments
 (0)