Critical Vulnerability in libppd: Potential Remote Code Execution via PPD Manipulation

libppd Updated 03 Oct 2025

Summary

26/09/2024
N/A
Yes i
Unrated
Not published

USN-7045-1: libppd vulnerability. Affects libppd versions < 2:2.0.0-0ubuntu4.1. Fixed in 2:2.0.0-0ubuntu4.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libppd is a library used in Ubuntu systems for handling Printer Description (PPD) files, which define the capabilities of printers. It plays a crucial role in ensuring that print jobs are processed correctly by translating printer-specific features into a format that the operating system can understand. However, a recent vulnerability has been discovered that compromises the integrity of this library, allowing for potential exploitation.

Vulnerability Detail

The vulnerability, identified as CVE-2024-47175, was discovered by Simone Margaritelli. It stems from improper sanitization of Internet Printing Protocol (IPP) data when creating PPD files. This flaw could allow a remote attacker to manipulate PPD files, potentially leading to arbitrary code execution when the affected printer is utilized. The implications of this vulnerability are severe, as it could enable attackers to execute malicious code on the system, compromising its security.

How To Fix

Minimum fixed version

2:2.0.0-0ubuntu4.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libppd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid using the affected libppd library until the package is updated. Additionally, restricting access to printers that utilize this library may help mitigate the risk of exploitation.

Conclusion

The discovery of the vulnerability in libppd highlights the importance of maintaining up-to-date software to protect against potential exploits. Users are strongly encouraged to apply the necessary updates to safeguard their systems from this critical issue.

See every vulnerability recorded for libppd →

Share this vulnerability

FAQ

libppd is a library in Ubuntu that manages Printer Description files, essential for printer functionality.

The vulnerability allows an attacker to manipulate PPD files, potentially leading to arbitrary code execution on the system.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Yes, the patched version of libppd is 2:2.0.0-0ubuntu4.1. Users should update to this version to mitigate the risk.

If you cannot update immediately, consider restricting access to the affected printers and avoid using the libppd library until a patch is applied.

How To Fix

Minimum fixed version

2:2.0.0-0ubuntu4.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libppd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback