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

CVE-2024-47175: Openprinting Libppd RCE Vulnerability

CVE-2024-47175 is a remote code execution flaw in Openprinting Libppd where unsanitized IPP attributes enable arbitrary code execution via Foomatic. This post covers the technical details, affected versions, and mitigations.

Published: January 28, 2026

CVE-2024-47175 Overview

CVE-2024-47175 is a critical input validation vulnerability in OpenPrinting's libppd library, which provides legacy PPD (PostScript Printer Description) file support for the CUPS printing system. The vulnerability exists in the ppdCreatePPDFromIPP2 function, which fails to properly sanitize IPP (Internet Printing Protocol) attributes when creating PPD buffers. When combined with other functions such as cfGetPrinterAttributes5, this flaw allows attackers to inject malicious content that can ultimately lead to arbitrary code execution via the Foomatic printing system.

This vulnerability is particularly dangerous as it can be chained with CVE-2024-47176 to form a complete remote code execution (RCE) exploit chain targeting UNIX-based systems running vulnerable CUPS printing services.

Critical Impact

Unauthenticated attackers can achieve remote code execution on vulnerable systems by exploiting the input validation flaw in libppd's PPD buffer generation, potentially compromising print servers and connected infrastructure.

Affected Products

  • OpenPrinting libppd (versions prior to the security patch)
  • OpenPrinting libppd 2.1 beta1
  • Debian Linux 11.0

Discovery Timeline

  • 2024-09-26 - CVE-2024-47175 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2024-47175

Vulnerability Analysis

The vulnerability resides in the ppdCreatePPDFromIPP2 function within the libppd library. This function is responsible for converting IPP printer attributes into PPD format for backward compatibility with legacy printing applications. The core issue is that the function accepts IPP attributes without proper validation or sanitization, allowing attacker-controlled data to be embedded directly into the generated PPD buffer.

When a malicious actor crafts specially formatted IPP responses containing malicious payloads, these payloads pass through the buffer generation process unfiltered. The Foomatic printing system, which processes these PPD files, can then execute arbitrary commands embedded in the malicious content. This attack becomes particularly effective when combined with the cfGetPrinterAttributes5 function, which retrieves printer attributes from potentially untrusted sources.

The attack chain leverages the trust relationship between CUPS components, where the printing subsystem assumes that IPP responses are well-formed and originate from legitimate printer devices.

Root Cause

The root cause of CVE-2024-47175 is improper input validation (CWE-20) in the ppdCreatePPDFromIPP2 function. The function directly incorporates IPP attribute values into the PPD buffer without checking for or escaping potentially dangerous characters or command sequences. This oversight allows injection of malicious content that can be interpreted as executable commands by downstream components in the printing pipeline.

Attack Vector

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

  1. Spoofing or compromising a network printer or print service
  2. Sending malicious IPP responses containing crafted attribute values
  3. The vulnerable libppd function incorporates these values into PPD buffers
  4. When processed by Foomatic or similar components, the malicious payload executes

The following patch demonstrates the security fix applied to prevent PPD generation based on invalid IPP responses:

c
 //
 // PPD cache implementation for libppd.
 //
+// Copyright © 2024 by OpenPrinting
 // Copyright © 2010-2019 by Apple Inc.
 //
 // Licensed under Apache License v2.0.  See the file "LICENSE" for more

Source: GitHub Commit for libppd Update

Detection Methods for CVE-2024-47175

Indicators of Compromise

  • Unusual network traffic to UDP port 631 (CUPS/IPP) from external or unexpected sources
  • Suspicious PPD files with embedded shell commands or unusual content in printer configurations
  • Unexpected processes spawned by the cupsd or Foomatic-related services
  • Log entries indicating printer discovery or registration from unknown IP addresses

Detection Strategies

  • Monitor CUPS and IPP-related network traffic for malformed or suspicious attribute values
  • Implement network segmentation to isolate printing services from untrusted networks
  • Deploy endpoint detection rules to identify command execution attempts originating from printing subsystems
  • Audit system logs for unexpected printer registrations or PPD file modifications

Monitoring Recommendations

  • Enable verbose logging for CUPS and related printing services to capture IPP transaction details
  • Configure intrusion detection systems (IDS) to alert on suspicious IPP traffic patterns
  • Monitor for processes with unusual parent-child relationships involving CUPS components
  • Implement file integrity monitoring on PPD directories and printer configuration files

How to Mitigate CVE-2024-47175

Immediate Actions Required

  • Update libppd to the patched version immediately on all affected systems
  • Disable or restrict network access to the CUPS service (port 631) if not required
  • Block incoming UDP traffic on port 631 from untrusted networks at the firewall level
  • Review and remove any untrusted or automatically discovered printer configurations

Patch Information

OpenPrinting has released a security patch addressing this vulnerability. The fix is available via GitHub Commit d681747ebf12602cb426725eb8ce2753211e2477. Detailed information about the vulnerability and remediation steps can be found in the GitHub Security Advisory GHSA-7xfx-47qg-grp6.

For Debian Linux 11.0 users, refer to the Debian LTS Announcement for distribution-specific update instructions.

Workarounds

  • Disable the cups-browsed service to prevent automatic printer discovery from untrusted sources
  • Configure firewall rules to block UDP port 631 from external networks
  • Implement network segmentation to isolate print servers from general network traffic
  • Manually configure only trusted printers and disable automatic printer discovery features
bash
# Disable cups-browsed service to prevent automatic printer discovery
sudo systemctl stop cups-browsed
sudo systemctl disable cups-browsed

# Block external access to CUPS service
sudo ufw deny from any to any port 631

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenprinting

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability31.53%

  • 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-20

  • NVD-CWE-noinfo
  • Technical References
  • GitHub Security Advisory GHSA-rj88-6mr5-rcw8

  • GitHub Security Advisory GHSA-p9rh-jxmq-gq47

  • GitHub Security Advisory GHSA-w63j-6g73-wmg5

  • CUPS Official Website

  • EvilSocket Blog Post on CUPS Attacks

  • Openwall OSS-Security Mailing List

  • Debian LTS Announcement

  • SonicWall Vulnerability Detail SNWLID-2024-0016

  • NetApp Security Advisory ntap-20241011-0001
  • Vendor Resources
  • GitHub Security Advisory GHSA-7xfx-47qg-grp6

  • GitHub Commit for libppd Update
  • Related CVEs
  • CVE-2024-47176: CUPS cups-browsed RCE Vulnerability

  • CVE-2024-47076: Libcupsfilters Info Disclosure Flaw
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