Microsoft SQL Server Remote Code Execution Vulnerability (CVE-2026-77482)
A heap-based buffer overflow exists in SQL Server that an unauthorised attacker could exploit over a network. An attacker could host a malicious server and convince a user to connect from an affected client, then execute code on the client system when the response is processed.
Description
Heap-based buffer overflow in SQL Server allows an unauthorized attacker to execute code over a network.
FAQ
How could an attacker exploit this vulnerability? An attacker could host a malicious server and convince a user to connect to it from an affected client. When the client processes the server's response, the attacker could execute code on the client system. User interaction is required.
SQL Server
SQL Server
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could execute code on the client system, but user interaction is required.
What the attacker needed
Victim connects to attacker's server; affected SQL Server client
How it was found
- The attacker hosts a malicious server.
- The attacker convinces a user to connect to that server from an affected client.
- The client processes the server's response and the attacker executes code on the client system.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A buffer overflow is when a program writes more data into a fixed-size memory area than it can hold, so nearby memory gets overwritten. Here the flaw is in the part of SQL Server that acts as a client connecting to other servers, so a malicious server can send a crafted reply that overwrites memory and lets the attacker run their own code on the victim's machine. The victim has to be persuaded to connect to that malicious server.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.