Microsoft SQL Server: Stack-based buffer overflow allows remote code execution
Summary
A stack-based buffer overflow (CWE-121) in Microsoft SQL Server allows remote code execution over the network. An attacker needs valid high-privilege credentials on the database, so the risk is mainly to servers that are reachable from untrusted networks or that use weak or shared database accounts. Successful exploitation would let the attacker run code on the database server, which often runs with broad rights. CVSS 7.2 (High).
Affected
- SQL Server 2017 (GDR): 14.0.0 to before 14.0.2150.2
- SQL Server 2017 for x64-based Systems (CU31): 14.0.3006.16 to before 14.0.3570.2
- SQL Server 2019 (GDR): 15.0.0 to before 15.0.2210.4
- SQL Server 2019 for x64-based Systems (CU32): 15.0.4003.23 to before 15.0.4510.2
- SQL Server 2022 (GDR): 16.0.0 to before 16.0.1220.3
- SQL Server 2022 for x64-based Systems (CU27): 16.0.4003.1 to before 16.0.4315.2
- SQL Server 2025 CU10: 17.0.4006.0 to before 17.0.5045.3
- SQL Server 2025 for x64-based Systems (GDR): 17.0.1050.2 to before 17.0.1155.3
Fixed in
- Fixed builds per the CVE record: 14.0.2150.2 (2017 GDR), 14.0.3570.2 (2017 CU31), 15.0.2210.4 (2019 GDR), 15.0.4510.2 (2019 CU32), 16.0.1220.3 (2022 GDR), 16.0.4315.2 (2022 CU27), 17.0.5045.3 (2025 CU10), 17.0.1155.3 (2025 GDR)
- Microsoft KB5132749 (SQL Server 2017 GDR, 10 November 2026) lists this CVE.
- Microsoft KB5132748 (SQL Server 2025 GDR, 10 November 2026) lists this CVE.
- The 2019, 2022 and CU builds are not yet confirmed against Microsoft's own pages; verify them in the MSRC Security Update Guide.
Workaround
No documented workaround. Apply the security update.
Exploitation
- CISA SSVC: exploitation none, automatable no, technical impact total.
- CVSS exploit code maturity is Unproven (E:U).
- No public proof of concept found in limited searches. One aggregator reports no known exploitation; this is not a confirmed negative.
Our recommendation
- Inventory all SQL Server instances and their versions, including 2017, 2019, 2022 and 2025 builds.
- Patch internet-exposed, shared or multi-tenant SQL Servers first.
- Patch internal-only instances in the next regular maintenance window.
- Verify each build against the MSRC Security Update Guide.
- Confirm that SQL Server is not reachable from the internet (default port 1433 or other ports).
- Restrict database logins, remove unused accounts and enforce strong, unique passwords.
- Monitor for unusual database logins and unexpected processes on database servers.
Information from Microsoft (Patch Tuesday November 2026)
Public exploits
PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.
Research sources
- CVE Record CVE-2026-116936 www.cve.org
- Microsoft Security Update Guide msrc.microsoft.com
- Microsoft KB5132749 (SQL Server 2017 GDR) support.microsoft.com
- Microsoft KB5132748 (SQL Server 2025 GDR) support.microsoft.com
- Threat-intel mirror (threatint) cve.threatint.com
- Strix CVE summary www.strix.ai
Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 06:48.
Original description (NVD)
Stack-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
NVD references (1)
Sources
The tracker combines official, freely usable data sources – updated continuously:
- NVD (NIST) – CVEs, rating (CVSS), affected products
- CISA KEV – vulnerabilities confirmed by CISA as actively exploited
- CISA Vulnrichment – CISA assessment (SSVC) in the official CVE record
- FIRST EPSS – probability of exploitation
- Microsoft MSRC – Patch Tuesday: vulnerabilities, severity, updates
- PoC-in-GitHub – public proof-of-concept repositories
- Metasploit (Rapid7) – modules of the Metasploit Framework
- Exploit-DB (OffSec) – archive of public exploits (links only)
- Patch days: official vendor pages (linked per vendor) (Vendor patch days)
This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.
Affected? We can help.
We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.
