Skip to the content
The Update Bureau
SQL Server 2017 GDR SQL Server 2017 GDR Security update
Patch Tuesday

KB5058716

KB5058716: Security update for SQL Server 2017, GDR branch, July 2025. Information disclosure flaw and Setup restart issue fixed

In short

The update fixes a publicly disclosed information-disclosure vulnerability and a problem introduced by an earlier Windows update that caused restarts and stopped SQL Setup from continuing.

Does it affect you? Applies to: SQL Server 2017 systems using the GDR servicing branch; the update brings the product to build 14.0.2075.8. It is optional on computers that do not host SQL Server Reporting Services.

Build
14.0.2075.8
Servicing branch
GDR
Security
1 fixed
Restart
Required

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

Query Execution

For: SQL Server systems

  • In rare cases, SQL Server no longer reads unintended memory while processing data whose parameter length varies.1
    Fixes the reading of uninitialized memory when using variable length parameters.

Patching

For: Windows systems running SQL Server

  • A problem introduced by an earlier Windows update that caused restarts and stopped SQL Server Setup from continuing is fixed.2
    When SQL Server updates are applied, the value of the PendingFileRenameOperations registry key is deleted.

Technical details

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

Data sheet

Released
2025-07-08
Classification
Security Updates
Type
Cumulative update
Servicing branch
GDR
Restart
Required
Replaces
KB5046857, KB5046058, KB5042217, KB5040942
Replaced by
KB5063760
VersionBuildChannel
2017 14.0.2075.8 General availability

Security

1 vulnerability fixed
1 important
VulnerabilitySeverityCVSS
Microsoft SQL Server Information Disclosure Vulnerability
Important 7.5

Downloads (Microsoft Update Catalog)

Sources

Updated
Cited passages from Microsoft's official notes (2)
  1. 1. Fixes an issue in which uninitialized memory can be read in some rare cases when using variable length parameters. support.microsoft.com
  2. 2. Fixes an issue that was introduced in a previous Windows update that causes restarts and prevents Setup from continuing. support.microsoft.com
Checked automatically: 8 of 8 checks passed, 2 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 5/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