The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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 that enables attackers to execute arbitrary code. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: January 28, 2026

CVE-2024-38140 Overview

CVE-2024-38140 is a critical remote code execution vulnerability in the Windows Reliable Multicast Transport Driver (RMCAST). This kernel-level driver handles Pragmatic General Multicast (PGM) protocol operations for reliable multicast data delivery. The vulnerability allows unauthenticated remote attackers to execute arbitrary code in kernel context by sending specially crafted network packets to systems with the MSMQ (Microsoft Message Queuing) service enabled.

Critical Impact

Remote attackers can achieve full system compromise through network-based exploitation without requiring authentication or user interaction, potentially leading to complete takeover of affected Windows systems.

Affected Products

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

Discovery Timeline

  • August 13, 2024 - CVE-2024-38140 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-38140

Vulnerability Analysis

The vulnerability resides in the RMCAST driver (rmcast.sys), a kernel-mode component responsible for implementing the Pragmatic General Multicast (PGM) protocol used by Microsoft Message Queuing (MSMQ) for reliable multicast communications. The flaw is classified as a Use After Free (CWE-416) vulnerability, where the driver improperly handles memory objects during packet processing.

When processing specially crafted PGM packets, the driver fails to properly manage object lifetimes, resulting in a use-after-free condition. This allows an attacker to manipulate freed memory and potentially execute arbitrary code with kernel-level privileges. The vulnerability is particularly dangerous because it operates at the driver level, providing attackers with the highest system privileges upon successful exploitation.

Systems are vulnerable when the MSMQ service is installed and running, which enables PGM protocol support. This service is commonly deployed in enterprise environments for reliable message delivery between applications.

Root Cause

The root cause is a use-after-free vulnerability (CWE-416) in the RMCAST driver's packet processing logic. The driver references a memory object after it has been freed, creating a window for attackers to corrupt memory and gain code execution. This occurs due to improper synchronization or reference counting in the handling of multicast transport data structures.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying target systems with the MSMQ service enabled (listening on PGM multicast ports)
  2. Crafting malicious PGM protocol packets designed to trigger the use-after-free condition
  3. Sending these packets over the network to the vulnerable system
  4. Achieving kernel-level code execution when the freed memory is accessed with attacker-controlled data

The exploitation occurs entirely over the network, making it particularly dangerous in environments where MSMQ services are exposed. Successful exploitation grants the attacker SYSTEM-level privileges, enabling complete compromise of the affected host.

Detection Methods for CVE-2024-38140

Indicators of Compromise

  • Unexpected crashes or blue screens (BSOD) related to rmcast.sys driver
  • Anomalous PGM/multicast traffic patterns on the network targeting MSMQ ports
  • Unusual kernel-mode activity or memory corruption signatures in crash dumps
  • Suspicious processes spawned with SYSTEM privileges following network activity

Detection Strategies

  • Monitor for unusual traffic targeting PGM multicast addresses and MSMQ service ports (typically TCP 1801 and multicast ports)
  • Deploy network intrusion detection signatures for malformed PGM protocol packets
  • Enable Windows Event Logging for MSMQ service and kernel driver events
  • Implement endpoint detection rules for rmcast.sys crash events or abnormal behavior

Monitoring Recommendations

  • Enable kernel crash dump collection to aid forensic analysis of potential exploitation attempts
  • Monitor MSMQ service status and configuration changes across the environment
  • Implement network segmentation to limit exposure of MSMQ services to untrusted networks
  • Use SentinelOne's kernel-level behavioral monitoring to detect post-exploitation activities

How to Mitigate CVE-2024-38140

Immediate Actions Required

  • Apply Microsoft's August 2024 security updates immediately to all affected systems
  • Disable the MSMQ service on systems where it is not required
  • Implement network segmentation to restrict access to MSMQ services from untrusted networks
  • Review firewall rules to block PGM multicast traffic from external sources

Patch Information

Microsoft has released security patches addressing this vulnerability as part of the August 2024 Patch Tuesday updates. The patches are available through Windows Update, WSUS, and the Microsoft Update Catalog. Organizations should prioritize patching given the network-exploitable nature and critical severity of this vulnerability. For detailed patch information and specific KB articles for each affected product, refer to the Microsoft Security Update Guide for CVE-2024-38140.

Workarounds

  • Disable the MSMQ service if not required: Stop-Service MSMQ; Set-Service MSMQ -StartupType Disabled
  • Block PGM multicast traffic at network perimeters and internal firewalls
  • Use Windows Firewall to restrict inbound connections to the MSMQ service
  • Consider disabling the PGM protocol specifically if MSMQ functionality is still needed without multicast support
bash
# Disable MSMQ service (PowerShell)
Stop-Service -Name MSMQ -Force
Set-Service -Name MSMQ -StartupType Disabled

# Verify service is disabled
Get-Service -Name MSMQ | Select-Object Name, Status, StartType

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-31995: Openclaw Command Injection Vulnerability

  • CVE-2026-25190: Windows GDI RCE Vulnerability

  • CVE-2026-25166: Windows System Image Manager RCE Flaw

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

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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