Microsoft OpenSSH for Windows Remote Code Execution Vulnerability (CVE-2026-97816)
A use-after-free flaw exists in Microsoft's OpenSSH for Windows component, which an unauthenticated attacker could trigger by sending a specially crafted packet over the network. Successful exploitation could let the attacker run code on the target system without any authentication or user interaction.
Originally disclosed on Microsoft
Description
Use after free in OpenSSH for Windows allows an unauthorized attacker to execute code over a network.
FAQ
How could an attacker exploit this vulnerability? An unauthenticated attacker could exploit this vulnerability by sending a specially crafted packet to an affected service over the network. Successful exploitation could allow the attacker to execute code on the target system. No authentication or user interaction is required.
OpenSSH for Windows
OpenSSH for Windows
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
Root cause
Likely a use-after-free in the OpenSSH for Windows code, where memory is still referenced after being released while handling network input.
Impact
An unauthenticated remote attacker could execute code on the target system, with no authentication or user interaction required.
What the attacker needed
Network access to the affected service; no authentication needed; no user interaction needed
The fix
Microsoft states that customer action is required, so affected installations should be updated as directed by the vendor.
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.
OpenSSH is the software that lets people log in to and control computers remotely over a network. A use-after-free is a memory bug where the program keeps using a piece of memory after it has been freed, so an attacker can plant their own data there and steer the program. Here, someone who can reach the service could send a malformed network message and potentially run their own code on the machine, with no login needed.
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.