Skip to content
Memory corruption Advisory Advanced CVE-2026-77482

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.

yhw Follow

Originally disclosed on Microsoft

High 8.8 View original

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

The original report as published on the Microsoft Security Response Center, by yhw & txz. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

  1. The attacker hosts a malicious server.
  2. The attacker convinces a user to connect to that server from an affected client.
  3. 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.

More by yhw

View all

156 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.