SQL Server heap-based buffer overflow remote code execution
CVE-2026-85886High
A heap-based buffer overflow vulnerability exists in SQL Server that allows an authorised attacker to execute arbitrary code remotely. An attacker with valid database credentials can trigger the overflow condition over the network to achieve code execution on the affected system.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/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-85886 Microsoft SQL Server Remote Code Execution Vulnerability (opens in a new tab)