Microsoft SQL Server Elevation of Privilege Vulnerability (CVE-2026-68883)
A heap-based buffer overflow exists in SQL Server that lets an authorised attacker elevate privileges over a network. An attacker able to run code in a low-privilege AppContainer could exploit it locally to escape the sandbox and gain SYSTEM privileges.
Description
Heap-based buffer overflow in SQL Server allows an authorized attacker to elevate privileges over a network.
FAQ
I am running SQL Server on my system. What action do I need to take? Update your relevant version of SQL Server using the applicable October 2026 security update listed below. There are GDR and/or CU (Cumulative Update) updates offered for my version of SQL Server. How do I know which update to use? First, determine your SQL Server version number. For more information, see Microsoft Knowledge Base Article 321185 - How to determine the version, edition, and update level of SQL Server and its components. Second, locate the range containing your current version number in the following table. The corresponding update is the one you need to install. Note: If your version is not represented in the table, review the applicable update's prerequisites and the support status of your SQL Server release before choosing an update. Absence from this table alone does not establish that a version is unsupported. Update Number Title Version Apply if current product version is… This security update also includes servicing releases up through… 5126967 SQL Server 2025 CU9+GDR (October GDR 2026) 17.0.5015.4 17.0.4006.2 - 17.0.5005.3 KB5122048 - SQL2025 RTM CU9 5128492 SQL Server 2025 RTM+GDR (October GDR 2026) 17.0.1145.4 17.0.1000.7 - 17.0.1135.8 KB5122770 - Previous SQL2025 RTM GDR 5126934 SQL Server 2022 CU27+GDR1 (October GDR 2026) 16.0.4305.5 16.0.4003.1 - 16.0.4295.3 KB5104824 - SQL2022 RTM CU27 5128493 SQL Server 2022 RTM+GDR (October GDR 2026) 16.0.1210.3 16.0.1000.6 - 16.0.1200.5 KB5122771 - Previous SQL2022 RTM GDR 5128494 SQL Server 2019 CU32+GDR (October GDR 2026) 15.0.4500.2 15.0.4003.23 - 15.0.4490.9 KB5122772 - Previous SQL2019 RTM CU32 GDR 5128495 SQL Server 2019 RTM+GDR (October GDR 2026) 15.0.2200.2 15.0.2000.5 - 15.0.2190.7 KB5122773 - Previous SQL2019 RTM GDR 5128496 SQL Server 2017 CU31+GDR (October GDR 2026) 14.0.3560.2 14.0.3006.16 - 14.0.3550.4 KB5122774 - Previous SQL2017 RTM CU31 GDR 5128497 SQL Server 2017 RTM+GDR (October GDR 2026) 14.0.2140.2 14.0.1000.169 - 14.0.2130.4 KB5122775 - Previous SQL2017 RTM GDR What are the GDR and CU update designations and how do they differ? General Distribution Release (GDR) updates provide security and other broadly applicable critical fixes. Cumulative Updates (CUs) include accumulated fixes for the applicable SQL Server release. Use the version ranges above to select the security update for your installed servicing branch; CU+GDR updates apply to the listed CU branch, while RTM+GDR updates apply to the listed RTM/GDR branch.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does this mean for this vulnerability? An attacker would need specific conditions to be in place (i.e. particular protocol settings, or configurations, etc.) before an attack could succeed, which reduces the likelihood of widespread or opportunistic exploitation.
FAQ
How could an attacker exploit this vulnerability? An attacker who can execute code in a low-privilege AppContainer could exploit this vulnerability locally to escape the sandbox and elevate privileges on the affected system. No additional user interaction is required.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
SQL Server
SQL Server
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a heap-based buffer overflow in SQL Server where a memory buffer is written past its allocated size, though the text does not describe the specific faulty code.
Impact
An attacker who can already run code in a low-privilege AppContainer could escape the sandbox and gain SYSTEM privileges, though the text notes the attack complexity is high because specific conditions must be in place.
What the attacker needed
Ability to run code in a low-privilege AppContainer; specific protocol or configuration conditions; no user interaction required
The fix
It was fixed by installing the applicable October 2026 security update for the relevant SQL Server version.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A buffer overflow is when a program writes more data into a memory area than it was sized to hold, so nearby memory gets overwritten. Here that flaw in SQL Server lets someone who already has limited access on the machine break out of the restricted 'sandbox' they are confined to and take full control of the system. The attacker needs to already be running some code on the machine, so this is not something reachable from the internet by a stranger.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.