Skip to the content
The Update Bureau
SQL Server 2016 SP3 + GDR SQL Server 2016 SP3 + GDR Security update
Patch Tuesday

KB5065226

KB5065226: Security update for SQL Server 2016, GDR branch, September 2025. Three vulnerabilities addressed, including a sensitive-data exposure fix

In short

Addresses three vulnerabilities and fixes issues involving sensitive statement text and temporal history table cleanup in SQL Server.

Does it affect you? Applies to: SQL Server 2016 SP3 GDR systems. The Integration Services and Master Data Services fixes are listed for Windows; the two SQL Server Engine fixes are listed for Linux and Windows.

Build
13.0.6470.1
Servicing branch
GDR
Security
3 fixed
Restart
Required
Review notes Additional details from the official release notes (1) Read note
  • In detail SQL Server 2016 security updates are scheduled to end on July 14, 2026.

The official sources are linked at the end of the page.

For servers on the GDR branch: they get security fixes only. Servers that install cumulative updates (CU branch) get a separate update. Which branch am I on?

What changes

Fixes 4 changes

Integration Services

For: Windows systems with Integration Services

  • Integration Services updates Newtonsoft.Json to address a vulnerability.1
    Updates Newtonsoft.json.dll to version 13.0.1 to address CVE-2024-21907.

Master Data Services

For: Windows systems with Master Data Services

  • Master Data Services updates Newtonsoft.Json to address a vulnerability.2
    Updates Newtonsoft.json.dll to version 13.0.1 to address CVE-2024-21907.

Programmability

For: SQL Server Engine on Linux or Windows

  • An issue that could expose sensitive statement text through DMVs in specific scenarios is fixed.3
    Addresses scenarios where DMVs are used to inspect text of statements running in other sessions that might contain sensitive data.

Temporal

For: SQL Server Engine on Linux or Windows

  • Improper input validation during temporal history table cleanup is fixed, closing a way for attackers with elevated privileges to run SQL code.4
    Fixes improper input validation during internal temporal history table cleanup.

Technical details

Data sheet · Security · Downloads · Components Click to collapse or expand

Data sheet

Released
2025-09-09
Classification
Security Updates
Type
Cumulative update
Servicing branch
GDR
Restart
Required
Replaces
KB5063762, KB5058718, KB5046855, KB5046063
+2 earlier KB5042207, KB5040946
Replaced by
KB5068401
VersionBuildChannel
2016 13.0.6470.1 General availability

Security

3 vulnerabilities fixed
2 important 1 not rated
VulnerabilitySeverityCVSS
Microsoft SQL Server Elevation of Privilege Vulnerability
Important 8.8
Microsoft SQL Server Information Disclosure Vulnerability
Important 6.5
VulnCheck: CVE-2024-21907 Improper Handling of Exceptional Conditions in Newtonsoft.Json
Not rated —

Downloads (Microsoft Update Catalog)

Updated components

517 files changed since the previous update for the same versions.

Top changed componentsFiles
SQL Server Engine77
SQL Server Analysis Services3

Sources

Updated
Cited passages from Microsoft's official notes (4)
  1. 1. Upgrade Newtonsoft.json.dll version to 13.0.1 on SSIS to fix vulnerability (CVE-2024-21907). support.microsoft.com
  2. 2. Upgrade Newtonsoft.json.dll version to 13.0.1 on MDS to fix vulnerability (CVE-2024-21907). support.microsoft.com
  3. 3. 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. support.microsoft.com
  4. 4. Fixes improper input validation that occurs during internal temporal history table cleanup and that enables attackers to run SQL code by having elevated privileges. support.microsoft.com
Checked automatically: 8 of 8 checks passed, 4 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 5/5, clarity 4/5, completeness 3/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