Patch tracker / CVE reference / CVE-2024-21331
CVE-2024-21331
CVE-2024-21331 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.
Risk summary
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.
Attackers do not need a foothold in your database to use this bug; they need your client to visit theirs. This Native Client OLE DB provider flaw in the SQL Server 2016 SP3, 2017, and 2019 GDR builds executes code on the connecting host, rated High at CVSS 8.8. It carries the family's usual 2 percent EPSS and no KEV entry.
Do this: Prioritize patching hosts whose applications accept externally supplied data source definitions.
AI-generated from public data, 2026-07-07. Verify against the vendor advisory before acting.
Senserva AI Opinion and rich prompt for CVE-2024-21331
Copy this prompt into Claude, ChatGPT, or Copilot. The facts are included, sourced from this page.
Official patch(es) for CVE-2024-21331
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-21331. 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.
Scope and sources
- Affected products
- Fixed by the same updates
- Authoritative references
Want every Microsoft CVE and the patches that fix it, ranked by real-world risk? See the Microsoft Patch Tracker.