Skip to the content
The Update Bureau
SQL Server 2022 CU13 + GDR SQL Server 2022 CU13 + GDR Security update
Patch Tuesday

KB5040939

KB5040939: Security update for SQL Server 2022, CU branch, July 2024. Unused Stretch DB components removed from Setup

In short

The update resolves 38 Important-severity vulnerabilities and removes unused Stretch DB components from Setup. It can request a restart.

Does it affect you? Applies to: Computers running SQL Server 2022, with SQL Server 2022 or a CU release through CU13 GDR installed. The package is for x64; installing it is optional on computers that do not host SQL Server Reporting Services.

Build
16.0.4131.2
Servicing branch
CU
Security
38 fixed
Restart
Required

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

Removal 1 change

Stretch DB

  • Unused Stretch DB components are removed from SQL Server Setup.1
    Bug reference 3299178; fix area: SQL Server Engine; platform: Windows.

Technical details

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

Data sheet

Released
2024-07-09
Classification
Security Updates
Type
Cumulative update
Servicing branch
CU
Restart
Required
Replaces
KB5036432, KB5036343, KB5033663, KB5032679, KB5033592
Replaced by
KB5042578
VersionBuildChannel
2022 16.0.4131.2 General availability

Security

38 vulnerabilities fixed
38 important
VulnerabilitySeverityCVSS

The table lists the 0 exploited, publicly disclosed or critical vulnerabilities. See all 38 vulnerabilities →

Downloads (Microsoft Update Catalog)

Sources

Updated
Cited passages from Microsoft's official notes (1)
  1. 1. | 3299178 | Removes unused components from SQL Server Setup. | SQL Server Engine | Stretch DB | Windows | support.microsoft.com
Checked automatically: 8 of 8 checks passed, 1 quoted passage · 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 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