Patch tracker / CVE reference / CVE-2024-21317
CVE-2024-21317
CVE-2024-21317 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-21317
Persistence of the deprecated Native Client is why this CVE matters: many hosts kept the provider after applications migrated to newer drivers, and every leftover install from the SQL Server 2016 SP3, 2017, and 2019 GDR era is a CVSS 8.8 code execution risk when it connects to hostile endpoints. Exploitation signals are quiet at a 2 percent EPSS.
Do this: Uninstall SQL Server Native Client from hosts that no longer need it instead of only patching it.
AI-generated from public data, 2026-07-07. Verify against the vendor advisory before acting.
Senserva AI Opinion and rich prompt for CVE-2024-21317
Copy this prompt into Claude, ChatGPT, or Copilot. The facts are included, sourced from this page.
Full tracking and change history for CVE-2024-21317
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-21317
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-21317. 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-21317
Is CVE-2024-21317 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-21317?
Microsoft fixed CVE-2024-21317 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-21317?
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-21317?
Yes. This page includes a free, ready-to-paste AI prompt containing CVE-2024-21317'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-21317, 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.