CVE-2026-70189

Microsoft SQL Server Remote Code Execution Vulnerability

Published Oct 13, 2026 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
Description
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code locally.

Analysis

AI-generated

Technical impact

A heap-based buffer overflow was identified in Microsoft SQL Server that permits an authenticated attacker with sufficient privileges to execute arbitrary code on the host. The flaw arises when internal memory management fails to prevent an out‑of‑bounds write, effectively hijacking the process execution flow. Because the attacker must already be authorized to run the SQL Server service, the vulnerability is limited to local code execution rather than remote exploitation.

Affected Systems

Microsoft SQL Server 2017 GDR and the 64‑bit CU31 release, SQL Server 2019 GDR and the 64‑bit CU32 release, SQL Server 2022 GDR and the 64‑bit CU27 release, SQL Server 2025 CU8 and the 64‑bit CU9 release, as well as the corresponding GDR editions. All 64‑bit builds of these releases are impacted.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.7, indicating moderate risk. An EPSS score of less than 1% and absence from CISA’s KEV catalog suggest a very low likelihood of public exploitation. Nevertheless, because the flaw requires authorized credentials, an internal attacker or one who has compromised a privileged account can gain full control of the affected host. The risk is highest when SQL Server runs under high‑privilege accounts or when internal trust boundaries are weak—any single compromised credential could result in system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest cumulative update (CU) for your SQL Server release, ensuring that CU31 (2017), CU32 (2019), CU27 (2022), or CU9 (2025) is installed.
  • Restrict the SQL Server service to the minimal privilege set necessary and block the service from accepting connections over untrusted networks.
  • Enforce firewall rules that limit inbound traffic to SQL Server only to trusted hosts.
  • Enable comprehensive audit logging and monitor for anomalous memory access or suspicious execution patterns to detect potential exploitation attempts.

Generated by OpenCVE AI on October 16, 2026 at 03:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:microsoft:sql_server_2017:*:*:*:*:*:*:x64:*
Type Values Removed Values Added
First Time appeared Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)
Vendors & Products Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code locally.
Title Microsoft SQL Server Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft microsoft Sql Server 2017 For X64-based Systems \(cu31\)
Microsoft microsoft Sql Server 2019 For X64-based Systems \(cu32\)
Microsoft microsoft Sql Server 2022 For X64-based Systems \(cu27\)
Microsoft microsoft Sql Server 2025 For X64-based Systems \(cu9\)
Microsoft sql Server 2017
Microsoft sql Server 2019
Microsoft sql Server 2022
Microsoft sql Server 2025
Weaknesses CWE-122
CPEs cpe:2.3:a:microsoft:microsoft_sql_server_2017_for_x64-based_systems_\(cu31\):*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:microsoft_sql_server_2019_for_x64-based_systems_\(cu32\):*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:microsoft_sql_server_2022_for_x64-based_systems_\(cu27\):*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:microsoft_sql_server_2025_for_x64-based_systems_\(cu9\):*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:sql_server_2017:*:-:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*
Vendors & Products Microsoft
Microsoft microsoft Sql Server 2017 For X64-based Systems \(cu31\)
Microsoft microsoft Sql Server 2019 For X64-based Systems \(cu32\)
Microsoft microsoft Sql Server 2022 For X64-based Systems \(cu27\)
Microsoft microsoft Sql Server 2025 For X64-based Systems \(cu9\)
Microsoft sql Server 2017
Microsoft sql Server 2019
Microsoft sql Server 2022
Microsoft sql Server 2025
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}