KB5065221: Fixes improper input validation
KB5065221 - Description of the security update for SQL Server 2022 GDR: September 9, 2025
Summary
This security update contains fixes and resolves vulnerabilities. To learn more about the vulnerabilities, see the following security advisories:
- CVE-2025-47997 - Microsoft SQL Server Information Disclosure Vulnerability
- CVE-2025-55227 - Microsoft SQL Server Elevation of Privilege Vulnerability
The Microsoft SQL Server components are updated to the following builds in this security update:
- SQL Server - product version: 16.0.1150.1, file version: 2022.160.1150.1
Improvements and fixes included in this update
A downloadable Microsoft 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
- Bug reference: 4519079
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. - Bug reference:4537394
Fixes improper input validation that occurs during internal temporal history table cleanup and that enables attackers to run SQL code by having elevated privileges