Skip to main content
EPSS 0.3%top 75%

CVE-2026-68787: CWE-122: Heap-based Buffer Overflow in Microsoft Microsoft SQL Server 2017 (CU 31)

0
High
VulnerabilityCVE-2026-68787cvecve-2026-68787cwe-122
Published: 09/08/2026 (09/08/2026, 17:10:46 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

Affected software

Microsoft

Microsoft SQL Server 2017 (CU 31)

Affected versions
>=14.0.0 <14.0.3550.4

Microsoft

Microsoft SQL Server 2017 (GDR)

Affected versions
>=14.0.0 <14.0.2130.4

Microsoft

Microsoft SQL Server 2019 (CU 32)

Affected versions
>=15.0.0.0 <15.0.4490.9

Microsoft

Microsoft SQL Server 2019 (GDR)

Affected versions
>=15.0.0 <15.0.2190.7

Microsoft

Microsoft SQL Server 2022 (CU 26)

Affected versions
>=16.0.0.0 <16.0.4275.2

Microsoft

Microsoft SQL Server 2022 (GDR)

Affected versions
>=16.0.0 <16.0.1200.5

Microsoft

Microsoft SQL Server 2025 (CU8)

Affected versions
>=17.0.0.0 <17.0.4085.5

Microsoft

Microsoft SQL Server 2025 for x64-based Systems (GDR)

Affected versions
>=17.0.1050.2 <17.0.1135.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/16/2026, 20:53:22 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses