Patch tracker / KB5040711

KB5040711: Microsoft OLE DB Driver 19 for SQL Ser Security Update (July 2024)

KB5040711 is a High security update for Microsoft OLE DB Driver 19 for SQL Ser, released 2024-07-09. It closes 1 CVE with a maximum CVSS of 8.8. It is the 15th largest of the 32 updates Microsoft shipped that month, by CVEs closed.

Update summary

High
2024-07-09
Released
1
CVEs fixed
8.8
Max CVSS
High
Severity
Deploy this cycle
Fixes 1 CVE for Microsoft OLE DB Driver 19 for SQL Ser. No confirmed in-the-wild exploitation in this set today.

Fixes 1 CVE. Most severe CVSS 8.8 (High). EPSS exploit probability up to 1.6%. Among the lower half of tracked Microsoft updates by EPSS exploit probability.

Senserva found thiswe track every release for this product line, so we can tell you this package is behind

A newer security update for Microsoft SQL Server 2019 for x64-based Systems (GDR) has shipped since this one: KB5077464 (2026-03-10). For cumulative update families the newer package includes these fixes, so installing that one is usually the shorter path. Verify against your own update rings before you skip this package.

Senserva AI Opinion for KB5040711

CVE-2024-37334, Severity High at CVSS 8.8, is the fix in this package spanning SQL Server 2019 GDR, SQL Server 2022 GDR, and the OLE DB Driver 19 client component. This is one of two near-identical packages for this July fix, likely split by architecture or edition. Remember that client machines using OLE DB Driver 19 to connect to SQL Server need this too, not just the database servers.

Do this: Patch both SQL Server 2019 and 2022 GDR servers and any client machines running OLE DB Driver 19.

AI-generated from public data, 2026-07-07. Verify against the vendor advisory before acting.

Senserva AI Opinion and rich prompt for KB5040711

Copy this prompt into Claude, ChatGPT, or Copilot. The facts are included, sourced from this page.

Full tracking and change history for KB5040711

Released
2024-07-09
Last changed
2024-07-09
Changes tracked
1

Senserva began recording day-to-day change history on 2026-07-07, and refreshes it several times a day. Release dates are historical where Microsoft publishes them; revision history is tracked from that date forward, so it does not include changes made before then.

Check if KB5040711 is installed

Elevated PowerShell. No output means it is not installed.

CVEs fixed by this update

Sorted exploited-first, then by CVSS. Every CVE links to its Senserva page with the full risk facts, references, and a ready-to-paste AI prompt.

CVESeverityCVSSEPSSExploited
CVE-2024-37334High8.81.8%No

See this and every Microsoft update ranked by real-world risk on the Microsoft Patch Tracker.

New to a term on this page? CVE, KB, KEV, CVSS, and EPSS are each explained once, on the Senserva security lexicon. Reference: Microsoft CVE and vulnerability management and the Microsoft patching guide.
Provided as is, without warranty; verify against the vendor advisory before acting. Data notice and terms.