A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-38140

CVE-2024-38140: Windows 10 1507 RMCAST RCE Vulnerability

CVE-2024-38140 is a remote code execution vulnerability in the Windows Reliable Multicast Transport Driver (RMCAST) affecting Windows 10 1507. This article covers the technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2024-38140 Overview

CVE-2024-38140 is a remote code execution vulnerability in the Windows Reliable Multicast Transport Driver (RMCAST), the kernel-mode driver (pgm.sys) that implements the Pragmatic General Multicast (PGM) protocol. The flaw is classified as a Use-After-Free [CWE-416] condition that an unauthenticated attacker can trigger over the network. Successful exploitation grants code execution in the context of the Windows kernel. Microsoft published the advisory on August 13, 2024, affecting a broad range of Windows client and server versions. The vulnerability requires no user interaction and no privileges, making it reachable by any host that can deliver crafted multicast traffic to a vulnerable system with an active PGM listener.

Critical Impact

An unauthenticated remote attacker can achieve kernel-level code execution by sending crafted PGM packets to a Windows system running a Message Queuing (MSMQ) service or other component bound to RMCAST.

Affected Products

  • Microsoft Windows 10 (versions 1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (versions 21H2, 22H2, 23H2, 24H2)
  • Microsoft Windows Server 2008, 2012, 2012 R2, 2016, 2019, 2022, and 2022 23H2

Discovery Timeline

  • 2024-08-13 - Microsoft releases security update for CVE-2024-38140
  • 2024-08-13 - CVE-2024-38140 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-38140

Vulnerability Analysis

The Reliable Multicast Transport Driver implements PGM, a multicast transport protocol used by Windows Message Queuing (MSMQ) for reliable one-to-many message delivery. The driver is reachable only when a process binds a socket using AF_INET/SOCK_RDM with the IPPROTO_RM protocol, most commonly through the MSMQ Multicast feature. When that binding exists, the driver parses inbound PGM packets directly in kernel mode.

The vulnerability is a use-after-free [CWE-416] in the packet processing path. The driver references a previously freed object during reassembly or session state management, allowing an attacker who controls the timing and content of PGM traffic to manipulate the freed allocation. Because parsing occurs in kernel context, exploitation results in code execution at ring 0.

Root Cause

The root cause is improper lifetime management of an internal object within pgm.sys. Under specific packet sequences, the driver releases the structure while another code path retains a pointer to it. Subsequent dereference of the dangling pointer reads or writes attacker-influenced memory, enabling kernel memory corruption.

Attack Vector

The attack vector is network-based and requires the target to have a process listening for PGM traffic, typically MSMQ with the Multicasting role enabled. The attacker sends a crafted sequence of PGM packets to the multicast group or directly to the host. No authentication, privileges, or user interaction is required. See Talos Intelligence Vulnerability Report TALOS-2024-2062 for protocol-level technical analysis.

Detection Methods for CVE-2024-38140

Indicators of Compromise

  • Unexpected MSMQ or PGM-related processes spawning child processes or loading unsigned modules after inbound multicast traffic.
  • Kernel crashes referencing pgm.sys in Windows Event Log or memory dumps, which may indicate failed exploitation attempts.
  • Unsolicited PGM traffic (IP protocol 113) from untrusted network segments to hosts running MSMQ.

Detection Strategies

  • Inventory systems with the MSMQ feature installed and confirm whether the Multicasting subcomponent is enabled, which exposes RMCAST.
  • Monitor for inbound IP protocol 113 (PGM) packets to hosts that should not be receiving multicast queuing traffic.
  • Capture and review Windows kernel bugchecks (BSOD codes referencing pgm.sys) for signs of exploitation attempts.

Monitoring Recommendations

  • Alert on creation of listeners using IPPROTO_RM on unexpected hosts.
  • Track changes to the MSMQ service state and registry keys under HKLM\SOFTWARE\Microsoft\MSMQ.
  • Correlate kernel anomalies with network telemetry showing recent PGM traffic to detect probable exploitation windows.

How to Mitigate CVE-2024-38140

Immediate Actions Required

  • Apply the August 2024 Microsoft security update for every affected Windows client and server version listed in the Microsoft Security Update CVE-2024-38140 advisory.
  • Audit all hosts for the MSMQ feature and disable it where it is not required for business operations.
  • Block inbound IP protocol 113 (PGM) at perimeter and internal segmentation firewalls, restricting it to authorized multicast senders only.

Patch Information

Microsoft addressed the use-after-free in pgm.sys through the August 13, 2024 Patch Tuesday cumulative updates. Refer to the Microsoft Security Update CVE-2024-38140 advisory for the specific KB article numbers corresponding to each Windows build. Apply the update through Windows Update, WSUS, or Microsoft Update Catalog.

Workarounds

  • Uninstall the Message Queuing Windows feature if it is not in active use, which removes the attack surface entirely.
  • If MSMQ is required, disable the Multicasting subcomponent under MSMQ feature options to prevent the driver from accepting PGM traffic.
  • Apply host firewall rules to drop inbound PGM (IP protocol 113) traffic from any source other than known multicast peers.
bash
# Configuration example - disable MSMQ feature and block PGM traffic on Windows
# Remove the Message Queuing feature (requires reboot)
DISM /Online /Disable-Feature /FeatureName:MSMQ-Container /Remove

# Alternatively, block inbound PGM traffic (IP protocol 113) at the host firewall
New-NetFirewallRule -DisplayName "Block Inbound PGM (CVE-2024-38140)" `
  -Direction Inbound -Protocol 113 -Action Block

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability5.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416

  • NVD-CWE-noinfo
  • Technical References
  • Talos Intelligence Vulnerability Report TALOS-2024-2062
  • Vendor Resources
  • Microsoft Security Update CVE-2024-38140
  • Related CVEs
  • CVE-2026-33414: Podman HyperV Backend RCE Vulnerability

  • CVE-2026-33826: Windows Active Directory RCE Vulnerability

  • CVE-2026-32183: Windows Snipping Tool RCE Vulnerability

  • CVE-2026-32149: Windows Hyper-V RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English