Summary
Impact: Remote Code Execution. Microsoft rating: Important. Not known to be exploited — Exploitation Unlikely. Customer action: Required.
Details
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.
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.
5126967: 5126967, SQL Server 2025 CU9+GDR (October GDR 2026): SQL Server 2025 CU9+GDR (October GDR 2026), 17.0.5015.4: 17.0.5015.4, 17.0.4006.2 - 17.0.5005.3: 17.0.4006.2 - 17.0.5005.3, KB5122048 - SQL2025 RTM CU9: KB5122048 - SQL2025 RTM CU9, 5128492: 5128492, SQL Server 2025 RTM+GDR (October GDR 2026): SQL Server 2025 RTM+GDR (October GDR 2026), 17.0.1145.4: 17.0.1145.4, 17.0.1000.7 - 17.0.1135.8: 17.0.1000.7 - 17.0.1135.8, KB5122770 - Previous SQL2025 RTM GDR: KB5122770 - Previous SQL2025 RTM GDR, 5126934: 5126934, SQL Server 2022 CU27+GDR1 (October GDR 2026): SQL Server 2022 CU27+GDR1 (October GDR 2026), 16.0.4305.5: 16.0.4305.5, 16.0.4003.1 - 16.0.4295.3: 16.0.4003.1 - 16.0.4295.3, KB5104824 - SQL2022 RTM CU27: KB5104824 - SQL2022 RTM CU27, 5128493: 5128493, SQL Server 2022 RTM+GDR (October GDR 2026): SQL Server 2022 RTM+GDR (October GDR 2026), 16.0.1210.3: 16.0.1210.3, 16.0.1000.6 - 16.0.1200.5: 16.0.1000.6 - 16.0.1200.5, KB5122771 - Previous SQL2022 RTM GDR: KB5122771 - Previous SQL2022 RTM GDR, 5128494: 5128494, SQL Server 2019 CU32+GDR (October GDR 2026): SQL Server 2019 CU32+GDR (October GDR 2026), 15.0.4500.2: 15.0.4500.2, 15.0.4003.23 - 15.0.4490.9: 15.0.4003.23 - 15.0.4490.9, KB5122772 - Previous SQL2019 RTM CU32 GDR: KB5122772 - Previous SQL2019 RTM CU32 GDR, 5128495: 5128495, SQL Server 2019 RTM+GDR (October GDR 2026): SQL Server 2019 RTM+GDR (October GDR 2026), 15.0.2200.2: 15.0.2200.2, 15.0.2000.5 - 15.0.2190.7: 15.0.2000.5 - 15.0.2190.7, KB5122773 - Previous SQL2019 RTM GDR: KB5122773 - Previous SQL2019 RTM GDR, 5128496: 5128496, SQL Server 2017 CU31+GDR (October GDR 2026): SQL Server 2017 CU31+GDR (October GDR 2026), 14.0.3560.2: 14.0.3560.2, 14.0.3006.16 - 14.0.3550.4: 14.0.3006.16 - 14.0.3550.4, KB5122774 - Previous SQL2017 RTM CU31 GDR: KB5122774 - Previous SQL2017 RTM CU31 GDR, 5128497: 5128497, SQL Server 2017 RTM+GDR (October GDR 2026): SQL Server 2017 RTM+GDR (October GDR 2026), 14.0.2140.2: 14.0.2140.2, 14.0.1000.169 - 14.0.2130.4: 14.0.1000.169 - 14.0.2130.4, KB5122775 - Previous SQL2017 RTM GDR: KB5122775 - Previous SQL2017 RTM GDR
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.
How could an attacker exploit this vulnerability?
An authenticated attacker with low-level access to an affected server could send a specially crafted request to execute code on the server. User interaction is not required.
Security updates
16.0.4315.2 — https://support.microsoft.com/help/5129300
17.0.5015.4 — https://support.microsoft.com/help/5126967
14.0.2150.2 — https://support.microsoft.com/help/5132749
15.0.2210.4 — https://support.microsoft.com/help/5132751
16.0.1220.3 — https://support.microsoft.com/help/5132747
17.0.1155.3 — https://support.microsoft.com/help/5132748
14.0.3570.2 — https://support.microsoft.com/help/5132746
17.0.5045.3 — https://support.microsoft.com/help/5129299
15.0.4510.2 — https://support.microsoft.com/help/5132745
Vulnerabilities 1
-
High 8.8
SQL Server Remote Code Execution Vulnerability
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
Revision history
-
#1
Information published.
References
-
CVE-2026-94512 SQL Server Remote Code Execution Vulnerability - HTML
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-94512
-
Microsoft Exploitability Index
https://www.microsoft.com/en-us/msrc/exploitability-index?rtc=1
-
Microsoft Support Lifecycle
https://support.microsoft.com/lifecycle
-
Common Vulnerability Scoring System
https://www.first.org/cvss