CVE-2026-50439
High · 8.1CVSS
8.1
EPSS
0.8%
Published
Jul 14, 2026
CISA due date
—
Cloudanix analysis
A flaw in Windows message queuing could let an outside attacker take control of systems that have that feature exposed on the network.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Remote Code Execution
- Component
- Network Service
- Class
- Use After Free
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
CVE-2026-50439 is a network-reachable use-after-free vulnerability in Microsoft Message Queuing Queue Manager, the Windows component that manages MSMQ queues and message delivery. An unauthenticated remote attacker can send specially crafted MSMQ traffic that causes the Queue Manager service to reference freed memory. If exploitation succeeds, the attacker can corrupt process memory and execute arbitrary code in the context of the MSMQ service. The CVSS vector indicates remote exploitation with no credentials or user interaction required, but high attack complexity, meaning exploitation likely depends on precise memory layout, timing, service configuration, or environmental conditions. Successful exploitation can compromise confidentiality, integrity, and availability of the affected Windows host.
Why it matters to the business
Organizations that run Microsoft Message Queuing on Windows workstations or servers may be exposed to remote code execution over the network. A successful attack could allow an intruder to take control of systems that process queued messages, disrupt business applications that depend on MSMQ, steal data accessible from the host, modify message flows, or use the compromised server as a foothold for lateral movement. The vulnerability affects many supported Windows client and server versions, including Windows Server 2012 through Windows Server 2025 and recent Windows 10 and Windows 11 releases. Although it is not currently listed in CISA KEV and no public exploit maturity is reported, the unauthenticated network attack surface and broad platform coverage make patching and exposure reduction important.
How an attack unfolds
An attacker first identifies Windows systems with Microsoft Message Queuing enabled and reachable, commonly by scanning for MSMQ-related network exposure such as TCP port 1801 and associated RPC access. The attacker then sends a sequence of malformed or specially timed MSMQ protocol messages to the Queue Manager service. The crafted traffic is designed to trigger a use-after-free condition, causing the service to operate on memory that has already been released. With sufficient control over heap layout and timing, the attacker may turn the memory corruption into code execution inside the MSMQ service process. If code execution is achieved, the attacker can run commands with the privileges of the service, establish persistence, dump credentials or access tokens available on the host, tamper with queued messages, pivot to other internal systems, or deploy additional tooling. Because the attack complexity is high and no public exploit is reported, failed attempts may appear as MSMQ service crashes, Windows Error Reporting events, or repeated abnormal connections to MSMQ services before reliable exploitation is achieved.
How to fix it
Apply the Microsoft security update that addresses CVE-2026-50439 for all affected Windows versions as soon as it is available through Windows Update, Microsoft Update Catalog, WSUS, Intune, or the organization’s patch management platform. Because no per-product fixed build numbers were provided, use Microsoft’s official advisory and update channels to identify the applicable cumulative update for each supported Windows 10, Windows 11, and Windows Server release. Prioritize internet-facing systems, servers that process business-critical message queues, systems reachable from untrusted network segments, and domain-joined servers where compromise would enable lateral movement. If MSMQ is not required, remove or disable the Microsoft Message Queuing feature. If MSMQ is required, restrict access to trusted application hosts only, block inbound TCP 1801 from untrusted networks, limit RPC exposure where feasible, and segment MSMQ servers from general user networks. Ensure endpoint detection, crash monitoring, and Windows event logging are enabled on systems where MSMQ remains active.
How to confirm the fix worked
Confirm remediation by verifying that the applicable Microsoft cumulative security update released for this vulnerability is installed on every affected Windows system. Validate exposure reduction by checking whether the Microsoft Message Queuing feature is enabled only where required and confirming that inbound MSMQ access is blocked from untrusted networks. On Windows systems, review installed optional features, service status for Message Queuing, and listening ports. Useful validation checks include confirming that the Message Queuing service is not running on systems that do not need MSMQ, verifying that TCP port 1801 is not reachable except from approved sources, and performing authenticated patch inventory through vulnerability scanners or endpoint management tools. After patching or disabling MSMQ, restart the system or service as required and re-scan to ensure the vulnerability no longer appears and the service exposure matches policy.
Typical attack path
- Discover hosts running Microsoft Message Queuing by scanning for MSMQ service exposure, especially TCP port 1801 and RPC-related access.
- Fingerprint affected Windows versions and determine whether MSMQ is enabled and reachable from the attacker-controlled network path.
- Send crafted MSMQ Queue Manager traffic intended to trigger the use-after-free condition.
- Use heap grooming, repeated requests, timing control, or service restarts to improve reliability due to high attack complexity.
- Achieve arbitrary code execution in the MSMQ service process if memory corruption is successfully controlled.
- Execute follow-on commands, stage malware, or create a remote access mechanism on the compromised host.
- Use the compromised system to access queued business messages, disrupt message processing, steal credentials, or move laterally.
How to detect it
To determine whether exploitation may have already occurred, review Windows hosts running Microsoft Message Queuing for signs of abnormal MSMQ service behavior and follow-on compromise. Key log sources include Windows System logs for Service Control Manager events, Application logs for application crashes involving mqsvc.exe, Windows Error Reporting artifacts, Microsoft-Windows-MSMQ operational or diagnostic event logs if enabled, firewall logs, EDR telemetry, and network flow records for connections to TCP port 1801. Look for repeated inbound MSMQ connections from unusual sources, especially followed by mqsvc.exe crashes or service restarts. Investigate any instance where mqsvc.exe spawns unexpected child processes such as cmd.exe, powershell.exe, wscript.exe, cscript.exe, rundll32.exe, regsvr32.exe, certutil.exe, mshta.exe, or remote administration tools. Also review for new services, scheduled tasks, registry Run keys, suspicious binaries written shortly after MSMQ crashes, credential dumping behavior, and unexpected outbound connections from MSMQ servers. Because public exploit maturity is reported as none and attack complexity is high, failed exploitation attempts may be more visible than successful ones through crash loops, WER reports, and anomalous malformed traffic rather than a stable signature.
- TCP/1801
- mqsvc.exe
- Message Queuing
- MSMQ
- Microsoft-Windows-MSMQ
- Microsoft-Windows-MSMQ/Operational
- Microsoft-Windows-MSMQ/End2End
- Service Control Manager
- Windows Error Reporting
- Faulting application name: mqsvc.exe
- Faulting module name: mqsvc.exe
- The Message Queuing service terminated unexpectedly
- The Message Queuing service entered the stopped state
- The Message Queuing service entered the running state
- Application Error
- %SystemRoot%\System32\mqsvc.exe
- C:\Windows\System32\mqsvc.exe
- mqsvc.exe spawned cmd.exe
- mqsvc.exe spawned powershell.exe
- mqsvc.exe spawned wscript.exe
- mqsvc.exe spawned cscript.exe
- mqsvc.exe spawned rundll32.exe
- mqsvc.exe spawned regsvr32.exe
- mqsvc.exe spawned certutil.exe
- mqsvc.exe spawned mshta.exe
What your security team should do
- Inventory all Windows hosts to identify where Microsoft Message Queuing is installed, enabled, and reachable over the network.
- Prioritize patching for MSMQ-enabled Windows Server systems, externally reachable hosts, and systems in sensitive network zones.
- Apply the relevant Microsoft cumulative security updates as soon as available and track completion through centralized patch management.
- Disable or remove MSMQ on hosts that do not explicitly require it.
- Restrict inbound MSMQ traffic, especially TCP 1801, to approved application peers using host firewalls, network firewalls, and segmentation controls.
- Monitor for MSMQ service crashes, abnormal restarts, Windows Error Reporting events, and unexpected inbound connections to MSMQ services.
- Hunt for post-exploitation behavior on MSMQ hosts, including suspicious child processes, new services, scheduled tasks, credential access activity, and unusual outbound connections.
- Add this vulnerability to vulnerability management reporting with elevated priority despite no KEV listing, due to unauthenticated network reachability and potential full system compromise.
The record
Use after free in Microsoft Message Queuing Queue Manager allows an unauthorized attacker to execute code over a network.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-109618 PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort… CWE-416
- CVE-2026-109619 PHP has various global state that temporarily points into request memory. CWE-416
- CVE-2026-112402 Pillow is a Python imaging library. CWE-416
- CVE-2026-112396 Pillow is a Python imaging library. CWE-416
- CVE-2025-55654 A use-after-free in the gf_filter_pid_get_packet function (filter_core/filter_pid.c) of… CWE-416
- CVE-2026-17591 A flaw was found in libarchive. CWE-416
- CVE-2026-92392 During an upload, curl mishandles HTTP/2 `RST_STREAM` received from the server (with… CWE-416
- CVE-2026-109268 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a use after free… CWE-416