SQL Server heap-based buffer overflow allows code execution
CVE-2026-70189Medium
A heap-based buffer overflow vulnerability exists in SQL Server that allows an authorised attacker to execute arbitrary code with local access to the system. An attacker with local access to the affected SQL Server instance could trigger the overflow condition to execute code in the context of the SQL Server process.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:H/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-70189 Microsoft SQL Server Remote Code Execution Vulnerability (opens in a new tab)