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-38199

CVE-2024-38199: Windows 10 1507 LPD Service RCE Vulnerability

CVE-2024-38199 is a remote code execution vulnerability in Windows Line Printer Daemon Service affecting Windows 10 1507. Attackers can exploit this flaw to execute arbitrary code. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: January 28, 2026

CVE-2024-38199 Overview

CVE-2024-38199 is a critical remote code execution vulnerability affecting the Windows Line Printer Daemon (LPD) Service. This vulnerability allows unauthenticated remote attackers to execute arbitrary code on vulnerable Windows systems by exploiting a use-after-free (CWE-416) condition in the LPD service. The LPD service, when enabled, listens on TCP port 515 and provides network printing capabilities using the Line Printer Remote (LPR) protocol.

Critical Impact

Successful exploitation of this vulnerability allows remote attackers to execute arbitrary code with SYSTEM privileges without authentication, potentially leading to complete system compromise across affected Windows client and server environments.

Affected Products

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

Discovery Timeline

  • August 13, 2024 - CVE-2024-38199 published to NVD
  • August 15, 2024 - Last updated in NVD database

Technical Details for CVE-2024-38199

Vulnerability Analysis

This vulnerability exists within the Windows Line Printer Daemon (LPD) Service component. The root cause is a use-after-free memory corruption vulnerability (CWE-416) that occurs during the processing of print requests. Use-after-free vulnerabilities arise when a program continues to use a pointer after the memory it references has been freed, allowing attackers to potentially control program execution flow.

The LPD service is not installed by default on Windows systems but may be enabled in enterprise environments that require legacy printing support. When enabled, the service exposes TCP port 515 to the network, creating an attack surface that can be exploited remotely without requiring any user interaction or authentication credentials.

Root Cause

The vulnerability stems from improper memory management within the LPD service's request handling code. When processing specially crafted print job requests, the service fails to properly validate and manage memory allocations, leading to a condition where freed memory is subsequently referenced. This use-after-free condition can be exploited by attackers to achieve arbitrary code execution.

Attack Vector

The attack vector for CVE-2024-38199 is network-based, requiring no privileges or user interaction. An attacker can exploit this vulnerability by sending specially crafted LPR protocol requests to a vulnerable system's LPD service on TCP port 515. The attack requires network accessibility to the target system's LPD port, which may be exposed on internal networks or, in misconfigured environments, to the internet.

The exploitation mechanism involves:

  1. Establishing a connection to the target system's LPD service on TCP port 515
  2. Sending malformed LPR protocol requests designed to trigger the use-after-free condition
  3. Manipulating memory layout to gain control of execution flow
  4. Executing arbitrary code with SYSTEM-level privileges

Since the LPD service typically runs with elevated privileges, successful exploitation grants the attacker SYSTEM-level access to the compromised machine, enabling complete control over the affected system.

Detection Methods for CVE-2024-38199

Indicators of Compromise

  • Unexpected network connections to TCP port 515 from external or untrusted sources
  • Anomalous process creation or child processes spawned by the LPD service (LPDSVC.DLL)
  • Unusual memory access patterns or crashes in the Print Spooler service
  • Evidence of exploitation attempts in Windows Event logs related to print services

Detection Strategies

  • Monitor network traffic for unusual patterns on TCP port 515, particularly from external networks
  • Implement endpoint detection rules to identify exploitation of use-after-free conditions in print-related services
  • Deploy network intrusion detection signatures targeting malformed LPR protocol traffic
  • Enable enhanced logging for Windows Print Spooler and related services

Monitoring Recommendations

  • Configure SentinelOne agents to detect behavioral anomalies associated with print service exploitation
  • Establish baseline network traffic patterns for LPD service communications and alert on deviations
  • Monitor for privilege escalation attempts following print service activity
  • Implement file integrity monitoring on critical system files that may be modified post-exploitation

How to Mitigate CVE-2024-38199

Immediate Actions Required

  • Apply the Microsoft security update released in August 2024 immediately to all affected systems
  • Disable the LPD Print Service feature if not required in your environment
  • Block TCP port 515 at network perimeter firewalls to prevent external exploitation attempts
  • Audit systems to identify where LPD service is enabled and assess business necessity

Patch Information

Microsoft has released security updates addressing CVE-2024-38199 as part of the August 2024 Patch Tuesday release cycle. Organizations should apply the relevant patches for their Windows versions immediately. Detailed patch information and download links are available in the Microsoft Security Response Center advisory.

Workarounds

  • Disable the LPD Print Service Windows feature via Control Panel > Programs > Turn Windows features on or off
  • Use firewall rules to restrict access to TCP port 515 to only trusted internal systems that require LPR printing functionality
  • Implement network segmentation to isolate systems running legacy print services from general network access
  • Consider migrating to modern printing protocols such as Internet Printing Protocol (IPP) that do not require LPD
bash
# Disable LPD Print Service feature using PowerShell (Windows Server)
Disable-WindowsOptionalFeature -Online -FeatureName "LPDPrintService"

# Block TCP port 515 using Windows Firewall
netsh advfirewall firewall add rule name="Block LPD Service" dir=in action=block protocol=TCP localport=515

# Verify LPD service status
Get-WindowsOptionalFeature -Online -FeatureName "LPDPrintService"

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 Probability4.54%

  • 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
  • Vendor Resources
  • Microsoft CVE-2024-38199 Advisory
  • 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
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