Patch tracker / CVE reference / CVE-2024-21335
CVE-2024-21335
CVE-2024-21335 is a high severity Microsoft vulnerability with a CVSS score of 8.8. Microsoft has shipped the fix: deploy one of the 8 updates below from the Microsoft Update Catalog, and see where this CVE sits against the rest on the patch tracker.
High severity Microsoft vulnerability, CVSS 8.8. Fixed by 8 Microsoft security updates.
Risk summary
Updated July 25, 2026. Data refreshed on every build from MSRC, CISA KEV, and FIRST EPSS.
Senserva AI Opinion for CVE-2024-21335
This is a Remote Code Execution flaw in the SQL Server Native Client OLE DB Provider, affecting SQL Server 2016 SP3, 2017, and 2019 on x64 systems. The client-side attack vector and CVSS 8.8 rating mean an attacker who lures a system to connect to a malicious SQL server can run code in the connecting process, so any machine that uses this provider to reach a database is exposed, not just the database servers themselves. It is not in CISA KEV and EPSS sits at 2 percent, so there is no confirmed exploitation yet, but the low bar of tricking an outbound connection makes patching worthwhile.
Do this: Apply the GDR security updates to your SQL Server 2016 SP3, 2017, and 2019 x64 instances and any clients using the Native Client OLE DB Provider.
AI-generated from public data, 2026-07-21. Verify against the vendor advisory before acting.
Senserva AI Opinion and rich prompt for CVE-2024-21335
Copy this prompt into Claude, ChatGPT, or Copilot. The facts are included, sourced from this page.
Full tracking and change history for CVE-2024-21335
Published and last-revised dates are authoritative, from Microsoft MSRC (or the CISA KEV date-added). Senserva additionally records day-to-day changes from 2026-07-07, refreshed several times a day; the change count reflects that forward-only tracking.
Exploitation and severity
Not in the CISA KEV catalog. EPSS exploit probability 1.8%. CVSS 8.8 (High).
This CVE is among the lower half of tracked Microsoft CVEs by EPSS exploit probability.
Official patch(es) for CVE-2024-21335
Moderate priority: schedule it in your normal patch cycle. In Intune or Defender, confirm whether the fixing updates KB5040936, KB5040939, KB5040940, KB5040942, KB5040944, KB5040946, KB5040948, KB5040986 are installed across the affected products. Senserva does this automatically across your tenant and flags every missing patch.
Apply the Microsoft security updates below to fix CVE-2024-21335. Each KB page carries the Microsoft Update Catalog download, Microsoft's known issues for the update, a copy-paste PowerShell check for whether it is installed, and the Senserva AI read.
Affected products
Common questions about CVE-2024-21335
Is CVE-2024-21335 actively exploited?
It is not currently listed in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score puts the probability of exploitation in the next 30 days at 1.8%.
What patch fixes CVE-2024-21335?
Microsoft fixed CVE-2024-21335 in KB5040936, KB5040939, KB5040940, KB5040942, KB5040944, KB5040946, KB5040948, KB5040986. Download from the Microsoft Update Catalog, or let Intune, Windows Update, or WSUS deliver it.
Which products are affected by CVE-2024-21335?
Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR), Microsoft SQL Server 2017 for x64-based Systems (GDR), Microsoft SQL Server 2019 for x64-based Systems (GDR).
Can I ask my own AI about CVE-2024-21335?
Yes. This page includes a free, ready-to-paste AI prompt containing CVE-2024-21335's key facts: severity, CVSS, EPSS exploit probability, CISA KEV status, and the fixing KB. Copy it into Claude, ChatGPT, or Copilot for a triage plan; the data is refreshed twice a day (5 AM and 3 PM US Central).
Fixed by the same updates
If you are patching CVE-2024-21335, the same updates also fix these:
Authoritative references
Want every Microsoft CVE and the patches that fix it, ranked by real-world risk? See the Microsoft Patch Tracker.