CVE-2026-68785: CWE-122: Heap-based Buffer Overflow in Microsoft Microsoft SQL Server 2017 (CU 31)
Description
CVE-2026-68785 is a heap-based buffer overflow vulnerability in Microsoft SQL Server 2017 (CU 31) that allows an authorized attacker to execute code remotely over a network. It affects multiple versions of SQL Server 2017, 2019, 2022, and 2024 builds prior to specific fixed versions. The vulnerability has a medium severity score of 4.9 and requires high privileges to exploit. An official fix is available from Microsoft.
CVSS v3.1
Score 4.9medium
Affected software
Microsoft
Microsoft SQL Server 2017 (CU 31)
Microsoft
Microsoft SQL Server 2017 (GDR)
Microsoft
Microsoft SQL Server 2019 (CU 32)
Microsoft
Microsoft SQL Server 2019 (GDR)
Microsoft
Microsoft SQL Server 2022 (CU 26)
Microsoft
Microsoft SQL Server 2022 (GDR)
Microsoft
Microsoft SQL Server 2025 (CU8)
Microsoft
Microsoft SQL Server 2025 for x64-based Systems (GDR)
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability, identified as CVE-2026-68785 and classified under CWE-122 (heap-based buffer overflow), exists in Microsoft SQL Server 2017 (CU 31) and related versions. It allows an attacker with authorized access to execute code remotely by exploiting a heap overflow condition. The CVSS 3.1 score is 4.9 (medium), with network attack vector, low attack complexity, and requiring high privileges but no user interaction. Microsoft has published an official fix addressing this issue.
Potential Impact
Successful exploitation can lead to remote code execution by an authorized attacker, potentially causing denial of service or unauthorized code execution on the affected SQL Server instance. The vulnerability does not impact confidentiality or integrity directly but affects availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the security updates provided in the Microsoft advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68785 to remediate this vulnerability. No additional mitigation actions are indicated by the vendor.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- microsoft
- Date Reserved
- 2026-07-31T16:33:08.215Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- official-fix
- Vendor Advisory Urls
- [{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68785","vendor":"Microsoft"}]
Threat ID: 6aa044d1acd9273b49fa7c0c
Added to database: 09/08/2026, 17:24:33 UTC
Last enriched: 10/16/2026, 20:53:13 UTC
Last updated: 10/23/2026, 15:10:14 UTC
Views: 34
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.