CVE-2026-68787: CWE-122: Heap-based Buffer Overflow in Microsoft Microsoft SQL Server 2017 (CU 31)
Description
CVE-2026-68787 is a heap-based buffer overflow vulnerability in Microsoft SQL Server 2017 (CU 31) that allows an authorized attacker to execute code locally. The vulnerability affects multiple versions of Microsoft SQL Server 2017, 2019, 2022, and 2022 CU, with a high severity CVSS score of 7.8. An official fix is available from Microsoft.
CVSS v3.1
Score 7.8high
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 is a heap-based buffer overflow in Microsoft SQL Server 2017 and later cumulative updates that enables an attacker with authorized local access to execute arbitrary code. The flaw is identified as CWE-122 and affects specific builds of Microsoft SQL Server versions 14.x, 15.x, 16.x, and 17.x before certain fixed builds. The CVSS 3.1 score is 7.8, indicating high severity with impacts on confidentiality, integrity, and availability. Microsoft has released an official fix to address this issue.
Potential Impact
An authorized attacker with local access to the affected Microsoft SQL Server versions can exploit this heap-based buffer overflow to execute arbitrary code with elevated privileges. This can lead to full compromise of the SQL Server instance, affecting confidentiality, integrity, and availability of the database and potentially the host system.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the security updates provided by Microsoft as detailed in the vendor advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68787 to remediate this vulnerability.
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-68787","vendor":"Microsoft"}]
Threat ID: 6aa044d1acd9273b49fa7c10
Added to database: 09/08/2026, 17:24:33 UTC
Last enriched: 10/16/2026, 20:53:22 UTC
Last updated: 10/21/2026, 13:40:30 UTC
Views: 26
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.