Cloudanix VulnDB

CVE-2026-50505

High · 7.5

CVSS

7.5

EPSS

0.7%

Published

Jul 14, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A Windows messaging feature can be abused by someone with limited access to take control of vulnerable computers if the feature is enabled and reachable.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
High
Impact
Remote Code Execution
Component
Network Service
Class
Use After Free
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

This vulnerability is a use-after-free flaw in Windows Message Queuing (MSMQ). An attacker who is already authorized to interact with MSMQ can send specially crafted network messages that cause the MSMQ service to reference freed memory. If exploitation succeeds, the attacker can execute arbitrary code in the context of the vulnerable MSMQ service. The CVSS vector indicates network reachability, low privileges required, no user interaction, high attack complexity, and full confidentiality, integrity, and availability impact.

Why it matters to the business

Systems running Windows clients or servers with MSMQ enabled may be exposed to remote code execution by a low-privileged attacker who can reach the service over the network. Successful exploitation could allow compromise of business applications that rely on message queuing, lateral movement inside the network, data theft, service disruption, or installation of additional malware. Although this vulnerability is not currently listed in CISA KEV and no public exploit maturity is reported, it affects many supported Windows desktop and server versions, so organizations should treat exposed MSMQ services as a priority for patching and network restriction.

How an attack unfolds

An attacker first obtains or uses low-privileged authorization sufficient to communicate with MSMQ on a vulnerable Windows system. They then identify systems where Message Queuing is installed and reachable over the network, commonly by probing MSMQ/RPC-related services. The attacker sends a malformed sequence of MSMQ messages designed to trigger the use-after-free condition in the service. Because exploitation is high complexity, reliable code execution likely requires careful heap shaping, version-specific behavior, and repeated attempts. If successful, the attacker gains code execution under the MSMQ service context, which can then be used to run payloads, pivot to other systems, tamper with queued messages, disrupt dependent applications, or establish persistence.

How to fix it

Apply the Microsoft security update that addresses CVE-2026-50505 for all affected Windows versions, including Windows 10, Windows 11, Windows Server 2012, 2016, 2019, 2022, and 2025. No package-specific fixed versions were provided in the input, so use the applicable Microsoft cumulative update or security-only update for the affected platform. If MSMQ is not required, remove or disable the Message Queuing feature and stop the Message Queuing service. Where MSMQ is required, restrict access to trusted application hosts only, block unnecessary inbound access to TCP 1801 and RPC exposure from untrusted networks, enforce host firewall rules, and limit which accounts can submit or manage queues. Treat internet-exposed or broadly reachable MSMQ services as high priority even though exploitation is currently not known to be widespread.

How to confirm the fix worked

Confirm that the relevant Microsoft security update is installed on every affected Windows host. Validate through Windows Update, enterprise patch management, installed hotfix inventory, or Microsoft Update compliance reporting. Verify whether Message Queuing is installed by checking Windows optional features, installed server roles/features, or the presence and state of the Message Queuing service. Confirm that hosts which do not require MSMQ have the feature removed or the service disabled. For systems that require MSMQ, test that only expected trusted sources can connect to MSMQ ports and RPC endpoints, and verify that firewall policy blocks untrusted access. Run a controlled network scan to identify reachable MSMQ services, especially TCP 1801 and RPC endpoint mapper exposure on TCP 135, and compare results against an approved service inventory.

Typical attack path

  1. Identify Windows hosts with Microsoft Message Queuing installed and reachable over the network.
  2. Confirm the attacker has credentials or authorization sufficient to interact with MSMQ.
  3. Probe exposed MSMQ/RPC endpoints, commonly including TCP 1801 and RPC endpoint mapping on TCP 135.
  4. Send crafted MSMQ traffic intended to manipulate service memory state.
  5. Trigger the use-after-free condition through a malformed message or message sequence.
  6. Achieve code execution in the MSMQ service context if exploitation is successful.
  7. Deploy follow-on tooling, steal data, disrupt messaging workflows, or move laterally.

How to detect it

To determine whether this vulnerability may have already been exploited, review endpoint, network, and Windows logs for suspicious MSMQ activity. Focus on systems where the Message Queuing service is installed or running. Examine Windows System logs for Message Queuing service crashes, restarts, hangs, or unexpected terminations around the time of unusual network connections. Review application and operational MSMQ logs, if enabled, for malformed, failed, or anomalous queue operations from unexpected source hosts or accounts. Analyze firewall, NetFlow, EDR, and network IDS telemetry for unusual inbound connections to TCP 1801 and RPC endpoint mapper activity on TCP 135, especially from user workstations, untrusted segments, or hosts that do not normally submit queue traffic. On endpoints, hunt for abnormal child processes or command execution associated with the MSMQ service process, unexpected files written shortly after MSMQ crashes, suspicious service creation, scheduled tasks, credential access tooling, or lateral movement following MSMQ activity. Because no public exploit maturity or campaign-specific indicators are provided, detection should emphasize behavioral evidence: MSMQ exposure, anomalous authenticated access, service instability, and post-exploitation activity.

  • TCP/1801
  • TCP/135
  • mqsvc.exe
  • Message Queuing
  • MSMQ
  • Service Control Manager
  • The Message Queuing service terminated unexpectedly
  • The Message Queuing service entered the stopped state
  • The Message Queuing service entered the running state
  • Microsoft-Windows-MSMQ
  • Microsoft-Windows-MSMQ/Operational

What your security team should do

  • Prioritize patching Windows servers and workstations with MSMQ enabled, especially systems reachable from broad internal networks or untrusted segments.
  • Inventory all hosts with Microsoft Message Queuing installed or the Message Queuing service running.
  • Disable or remove MSMQ where it is not required by a business application.
  • Restrict inbound access to MSMQ using host and network firewalls; allow only trusted application peers.
  • Review service permissions and queue access controls to ensure only required accounts can interact with queues.
  • Monitor for unusual connections to TCP 1801, RPC endpoint mapping activity, MSMQ service crashes, and unexpected child processes spawned from the MSMQ service context.
  • Increase detection sensitivity for MSMQ-enabled systems until patch compliance is complete.
  • Because the vulnerability was published 28 days ago, verify patch deployment rather than assuming normal update cycles have already remediated exposure.

The record

Use after free in Windows Message Queuing allows an authorized attacker to execute code over a network.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities