Description
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
Published: 2026-10-13
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

A heap-based buffer overflow in Microsoft SQL Server enables the execution of arbitrary code when the vulnerable server processes data from an authorized user. This flaw is a classic memory corruption bug identified as CWE-122, allowing the attacker to gain control of the server after exploiting the overflow.

Affected Systems

Affected vendors and product lines include Microsoft SQL Server 2017 (both the General Distribution Release and the x64-based Revision CU31), Microsoft SQL Server 2019 (both the General Distribution Release and the x64-based Revision CU32), Microsoft SQL Server 2022 (both the General Distribution Release and the x64-based Revision CU27), and Microsoft SQL Server 2025 (both the General Distribution Release and the x64-based Revision CU9). Only the specified cumulative update packages are impacted; earlier releases are not listed as affected by the data.

Risk and Exploitability

The vulnerability is rated a CVSS score of 8.8, indicating high severity. However, the EPSS score is below 1 %, which suggests that, at present, the likelihood of widespread exploitation is low and the flaw is not listed in CISA’s Known Exploited Vulnerabilities catalog. The attack requires an attacker to be authenticated to the target system (an authorized user), so lateral movement through network privileges or compromised accounts may be necessary. Based on the description, it is inferred that the flaw does not require any special technical skill to exploit beyond what is normally required to access a networked database service, so it remains a significant risk in environments where SQL Server is exposed to untrusted networks.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the most recent cumulative update for the affected SQL Server edition (e.g., CU31 for 2017, CU32 for 2019, CU27 for 2022, or CU9 for 2025) and restart the instance as required.
  • Restrict network exposure of SQL Server instances by using firewalls, VPNs, or subnet segmentation so that only trusted systems can reach the service.
  • Enforce least privilege for accounts that connect to SQL Server, disable or remove unused authentication methods, and monitor connection logs for suspicious activity.

Generated by OpenCVE AI on October 16, 2026 at 03:12 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:*

Sat, 24 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft microsoft Sql Server 2017 (gdr)
Microsoft microsoft Sql Server 2019 (gdr)
Microsoft microsoft Sql Server 2022 (gdr)
Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)
Vendors & Products Microsoft microsoft Sql Server 2017 (gdr)
Microsoft microsoft Sql Server 2019 (gdr)
Microsoft microsoft Sql Server 2022 (gdr)
Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)

Fri, 16 Oct 2026 01: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 21:00:00 +0000

Type Values Removed Values Added
Description Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
Title 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': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}


Subscriptions

Microsoft Microsoft Sql Server 2017 (gdr) Microsoft Sql Server 2017 For X64-based Systems \(cu31\) Microsoft Sql Server 2019 (gdr) Microsoft Sql Server 2019 For X64-based Systems \(cu32\) Microsoft Sql Server 2022 (gdr) 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:10:57.317Z

Reserved: 2026-09-21T18:23:52.966Z

Link: CVE-2026-94512

cve-icon Vulnrichment

Updated: 2026-10-13T22:04:11.902Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-13T21:19:58.210

Modified: 2026-11-02T18:49:33.773

Link: CVE-2026-94512

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T12:00:14Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow