Automated Threat Modeling

Brief Summary: CVE-2026-34329 Heap Overflow in Windows Message Queuing Enables Adjacent Network RCE

A short review of CVE-2026-34329, a heap-based buffer overflow in the Windows Message Queuing (MSMQ) service that lets an unauthenticated attacker on an adjacent network execute code remotely. It covers the patch details, detection methods, and CVSS breakdown.

CVE Analysis

10 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2026-05-12

Brief Summary: CVE-2026-34329 Heap Overflow in Windows Message Queuing Enables Adjacent Network RCE
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

Microsoft's May 2026 Patch Tuesday fixed a heap-based buffer overflow in the Windows Message Queuing (MSMQ) service. An unauthenticated attacker on an adjacent network can use it to get full remote code execution by sending a single crafted message. CVE-2026-34329 has a CVSS 3.1 base score of 8.8, and exploitation is zero-click with no credentials required. For any organization running MSMQ on internal network segments, that makes it a serious lateral-movement risk.

Technical Information

CVE-2026-34329 is classified under CWE-122 (Heap-based Buffer Overflow) and sits in the Windows Message Queuing service, which listens on TCP port 1801 for incoming queue messages. When the MSMQ service processes a specially crafted inbound message, it does not validate the message data properly and writes past the bounds of a heap-allocated buffer. That memory corruption lets an attacker overwrite adjacent heap structures and eventually redirect execution to attacker-controlled code.

CVSS 3.1 Metrics

The full CVSS 3.1 vector string is AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, which gives a base score of 8.8 and a temporal score of 7.7. Each metric breaks down as follows:

MetricValueImplication
Attack VectorAdjacent (A)Attacker must be on the same network segment, switch, or virtual network
Attack ComplexityLow (L)No specialized conditions or race conditions required
Privileges RequiredNone (N)No authentication or credentials needed
User InteractionNone (N)Exploitation is fully autonomous, with no victim action required
ScopeUnchanged (U)Impact is confined to the vulnerable component's security authority
ConfidentialityHigh (H)Complete loss of confidentiality on the target system
IntegrityHigh (H)Complete loss of integrity on the target system
AvailabilityHigh (H)Complete loss of availability on the target system

Attack Flow

Based on the MSRC advisory and supporting analysis, exploitation runs in four steps:

  1. Reconnaissance: The attacker, already on the same network segment as the target, finds a Windows host with the MSMQ service enabled and listening on TCP port 1801. A simple port scan of the local subnet is enough.

  2. Message Construction: The attacker builds an MSMQ message designed to trigger the heap overflow in the service's message parsing routine. The malformed data makes the service write past the allocated heap buffer.

  3. Exploitation: The attacker sends the message to TCP port 1801 on the target, where the MSMQ service (mqsvc.exe) receives it and starts parsing. During parsing, the overflow corrupts adjacent memory, and the attacker gains arbitrary code execution in the context of the MSMQ service process.

  4. Post-Exploitation: From there, the attacker can continue lateral movement, establish persistence, or exfiltrate data from the compromised host.

Scope Considerations

The adjacent-network constraint is the most important factor in assessing risk. This vulnerability cannot be exploited directly from the internet or across routed WAN boundaries. The attacker must share the same Layer 2 network segment as the target. That limit counts for much less in flat networks, in poorly segmented ones, and anywhere an attacker already has initial access (for example, through phishing or a VPN compromise). In those environments the flaw becomes a potent tool for internal propagation. Organizations that rely on MSMQ for inter-service communication across multiple servers on the same VLAN should treat this as a high-priority patch.

Patch Information

Microsoft patched CVE-2026-34329 on May 12, 2026, as part of the May 2026 Patch Tuesday cycle. The MSRC advisory lists the Remediation Level as "Official Fix," which means a complete vendor solution is available. The MSMQ service binary is a closed-source Windows component, so no source-level diff is public. The fix is delivered only through Windows cumulative and security updates. It corrects how the MSMQ service validates and handles incoming message data, which prevents the heap overflow.

Microsoft released updates for a long list of affected Windows products:

Platform(s)KB Article(s)
Windows 11 26H1 (x64, ARM64)KB5089548
Windows 11 24H2 / 25H2 (x64, ARM64)KB5089549 plus hotpatch KB5089466
Windows 11 23H2 (x64, ARM64)KB5087420
Windows 10 21H2 / 22H2 (x64, ARM64, 32 bit)KB5087544
Windows 10 1809 / Server 2019KB5087538
Windows 10 1607 / Server 2016KB5087537
Windows Server 2025KB5087539 plus hotpatch KB5087423
Windows Server 2022KB5087545 plus hotpatch KB5087424
Windows Server 2022, 23H2 (Server Core)KB5087541
Windows Server 2012 R2KB5087471
Windows Server 2012KB5087470

For Windows Server 2025, Server 2022, and Windows 11 24H2/25H2, Microsoft also published Security Hotpatch Updates (the separate KB numbers listed above). On supported configurations, a hotpatch applies the fix without a full system reboot, which is particularly valuable for production servers where downtime has to stay to a minimum.

The MSRC advisory marks all updates as "Customer Action Required," so automatic deployment through Windows Update alone may not be sufficient. Administrators should verify that the relevant KB is installed on every system where the MSMQ service is enabled. Systems without MSMQ enabled are not directly exposed, but they should still get the patch proactively in case the feature is turned on later.

Detection Methods

Detection for CVE-2026-34329 spans vulnerability scanning, network monitoring, and endpoint log analysis.

Vulnerability Scanning with Tenable Nessus

Tenable has published 11 Nessus plugins that detect systems vulnerable to CVE-2026-34329 by checking whether the May 2026 security updates are installed. They are local, credentialed checks that rely on the host's self-reported build number, not on active exploitation:

Nessus Plugin IDTarget SystemKB Article
314341Windows 11 24H2 / 25H2KB5089549
314342Windows 11 26H1KB5089548
314349Windows 11 23H2KB5087420
314353Windows 10 21H2 / 22H2KB5087544
314348Windows 10 1607 / Server 2016KB5087537
314346Windows 10 1809 / Server 2019KB5087538
314352Windows Server 2022 / Azure Stack HCI 22H2KB5087545
314347Windows Server 23H2KB5087541
314355Windows Server 2025KB5087539
314354Windows Server 2012KB5087470
314340Windows Server 2012 R2KB5087471

All plugins belong to the "Windows : Microsoft Bulletins" family and support both standalone Nessus and Nessus Agent sensors.

Identifying Exposed MSMQ Services

The vulnerability only affects systems where the MSMQ service is running. Defenders should enumerate every host in their environment that listens on TCP port 1801, the default MSMQ listener port. Network scanning tools or asset inventory platforms can do this. Even though the attack vector is adjacent, organizations should treat any MSMQ-enabled system as potentially at risk, particularly in flat networks.

Network Traffic Monitoring on TCP Port 1801

CVE-2026-34329 is triggered by a specially crafted network message, so monitoring inbound traffic on TCP port 1801 is a core part of detection. Security teams should review firewall and IDS logs for unexpected or anomalous connections to this port, especially from hosts that do not normally communicate with MSMQ services. Flag any inbound traffic on port 1801 from untrusted or unexpected sources for investigation.

Cisco Talos has released Snort rulesets covering the May 2026 Patch Tuesday cycle:

  • Snort 2 rules: 1:66438 through 1:66445, 1:66451 through 1:66460, and 1:66470 through 1:66476
  • Snort 3 rules: 1:301494 through 1:301497, 1:301500 through 1:301506, 1:66472 through 1:66473, and 1:66476

Administrators should update their Snort Subscriber Ruleset so network-level detection is active while patches are being deployed.

Windows Event Log Hunting

For proactive threat hunting on Windows endpoints, several event log sources can reveal MSMQ-related activity:

  • Windows Security Event ID 5154: Indicates the MSMQ service is listening for incoming connections on port 1801. This confirms a host is exposed.
  • Windows Security Event ID 5156: Logs permitted inbound network connections, so you can see which sources connect to port 1801 and whether those connections are expected.
  • Sysmon Event ID 3 (Network Connection): If Sysmon is deployed, Event ID 3 captures connections and can be filtered for destination port 1801 to track connections to mqsvc.exe.

Comparing these events against known-good baselines for MSMQ communication patterns can surface anomalous activity worth a deeper look.

Scope Note

Microsoft's advisory rates CVE-2026-34329 as "Exploitation Less Likely," and no public exploit code is known. Beyond the general Snort rulesets above, major vendors have not published CVE-specific IDS/IPS signatures, YARA rules, or dedicated IoCs for this CVE. For now, detection comes down to verifying patch levels and monitoring MSMQ network traffic in general.

Affected Systems and Versions

The vulnerability affects all supported Windows client and server operating systems where the MSMQ service can be enabled. Microsoft's released patches confirm the following platforms as affected:

Windows Client:

  • Windows 11 version 26H1 (x64, ARM64)
  • Windows 11 versions 24H2 and 25H2 (x64, ARM64)
  • Windows 11 version 23H2 (x64, ARM64)
  • Windows 10 versions 21H2 and 22H2 (x64, ARM64, 32 bit)
  • Windows 10 version 1809
  • Windows 10 version 1607

Windows Server:

  • Windows Server 2025
  • Windows Server 2022 (including Azure Stack HCI 22H2)
  • Windows Server 2022, 23H2 (Server Core installation)
  • Windows Server 2019
  • Windows Server 2016
  • Windows Server 2012 R2
  • Windows Server 2012

A system is vulnerable only when the MSMQ service is installed and running (listening on TCP port 1801). Systems without the MSMQ feature enabled are not directly exploitable, though Microsoft recommends applying the patch proactively.

Vendor Security History

Microsoft handles security disclosures through the Microsoft Security Response Center (MSRC), which investigates all reports of security vulnerabilities in Microsoft products and coordinates their disclosure. Security updates ship on a predictable monthly schedule, on the second Tuesday of each month. The May 2026 cycle addressed between 120 and 137 vulnerabilities across various products, with 29 classified as critical remote code execution flaws. Several independent sources, including Tenable, Cisco Talos, and BleepingComputer, report that no zero-day vulnerabilities were exploited or publicly disclosed ahead of this release.

MSMQ has a history of high-severity vulnerabilities in Windows, so security teams should keep watching it, particularly in enterprise environments where the service may be enabled on numerous internal servers.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization