Windows Message Queuing Service (MSMQ) Remote Code Execution Vulnerability (CVE-2026-50447)
A heap-based buffer overflow exists in the Windows Message Queuing service. An unauthenticated attacker could send a crafted request with a malformed domain name to corrupt memory and potentially execute code over the network.
Originally disclosed on Microsoft
Description
Heap-based buffer overflow in Windows Message Queuing allows an unauthorized attacker to execute code over a network.
FAQ
How could an attacker exploit this vulnerability? An attacker could exploit this vulnerability by sending a specially crafted request containing a maliciously formed domain name to a vulnerable service. When the system processes this input, it may incorrectly calculate the required memory size and write beyond the allocated buffer, resulting in memory corruption that could allow further compromise of the affected system.
Windows Message Queuing
Windows Message Queuing
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 the service miscalculates the memory size needed for a domain name in a request and writes past the allocated heap buffer.
Impact
An unauthenticated attacker could potentially execute code on the affected system over the network.
What the attacker needed
Network access to the MSMQ service; no authentication required
The fix
Microsoft should correct the size calculation and bounds checking for domain names in the Message Queuing service; the text does not state that a fix has been released.
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.
Windows Message Queuing is a service that lets programs on different machines send messages to each other. A buffer overflow happens when a program writes more data into a memory area than it was sized for, which can let an attacker take control of the program. Here, a malformed domain name in a network request could trigger this and let an attacker run their own code.
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.