Description
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code locally.
Published: 2026-10-13
Score: 6.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Local Code Execution
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Mon, 02 Nov 2026 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:microsoft:sql_server_2017:*:*:*:*:*:*:x64:*

Sun, 18 Oct 2026 08:15:00 +0000

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)

Wed, 14 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 20:45:00 +0000

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'}


Subscriptions

Microsoft Microsoft Sql Server 2017 For X64-based Systems \(cu31\) Microsoft Sql Server 2019 For X64-based Systems \(cu32\) Microsoft Sql Server 2022 For X64-based Systems \(cu27\) Microsoft Sql Server 2025 For X64-based Systems (gdr) Microsoft Sql Server 2025 For X64-based Systems \(cu9\) Sql Server 2017 Sql Server 2019 Sql Server 2022 Sql Server 2025
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-10-31T18:05:51.666Z

Reserved: 2026-08-03T23:48:30.860Z

Link: CVE-2026-70189

cve-icon Vulnrichment

Updated: 2026-10-13T20:53:03.850Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-13T21:18:05.540

Modified: 2026-11-02T18:48:36.880

Link: CVE-2026-70189

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T08:00:06Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow