Heap-based buffer overflow in Microsoft SQL Server - CVE-2025-49717

 

Heap-based buffer overflow in Microsoft SQL Server - CVE-2025-49717

Published: July 9, 2025


Vulnerability identifier: #VU112564
CSH Severity: Medium
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-49717
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Microsoft SQL Server. A remote user can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Microsoft SQL Server

How to mitigate CVE-2025-49717

Install updates from vendor's website.

Microsoft SQL Server - addressed in versions 15.0.2135.5 15.0.2135.5, 15.0.4435.7, 16.0.1140.6, 16.0.4200.1 16.0.4200.1

External References

Related Security Bulletins