SQL Server heap-based buffer overflow remote code execution
CVE-2026-94512High
A heap-based buffer overflow vulnerability exists in SQL Server that allows an authorised attacker to execute arbitrary code over a network. An attacker with valid database credentials can trigger the overflow condition to gain code execution on the affected system. The attacker must have network access to the SQL Server instance and valid authentication credentials to exploit this flaw.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Weakness: CWE-122 (opens in a new tab)
Affected versions
- microsoft sql server 2017: from 14.0.1000.169, before 14.0.2140.2
- microsoft sql server 2017: from 14.0.3006.16, before 14.0.3560.2
- microsoft sql server 2019: from 15.0.2000.5, before 15.0.2200.2
- microsoft sql server 2019: from 15.0.4003.23, before 15.0.4500.2
- microsoft sql server 2022: from 16.0.1000.6, before 16.0.1210.3
- microsoft sql server 2022: from 16.0.4003.1, before 16.0.4305.5
- microsoft sql server 2025: from 17.0.1000.7, before 17.0.1145.4
- microsoft sql server 2025: from 17.0.4006.2, before 17.0.5015.4
Reports naming this CVE1 in total
· MSRC Security Update Guide
CVE-2026-94512 SQL Server Remote Code Execution Vulnerability (opens in a new tab)