Critical Remote Command Injection Vulnerability in CUPS Package

cups Updated 02 Oct 2025

Summary

12/11/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:9470: Low: cups security update. Affects cups versions < 1:2.3.3op2-31.el9_5. Fixed in 1:2.3.3op2-31.el9_5. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Common UNIX Printing System (CUPS) is a widely used printing system for UNIX-like operating systems, including Linux. It provides a portable printing layer that allows users to manage print jobs and queues. CUPS supports various printing protocols and is essential for enabling printing capabilities in many applications. However, a recent vulnerability has been identified that could allow an attacker to exploit CUPS through maliciously crafted PPD files.

Vulnerability Detail

The vulnerability arises from a remote command injection flaw in the CUPS package, specifically in the libppd component. An attacker can exploit this vulnerability by sending specially crafted data in a PPD file, which could lead to arbitrary command execution on the affected system. This poses a significant risk as it could allow unauthorized access to sensitive data or control over the system, potentially leading to further exploitation.

How To Fix

Minimum fixed version

1:2.3.3op2-31.el9_5

This is the first release that contains the fix.

sudo dnf update cups

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

Workaround

As a temporary workaround, you can restrict access to the CUPS service by configuring your firewall to block incoming connections or by disabling the CUPS service until the package is updated. You can disable the CUPS service with the following command:

sudo systemctl stop cups
sudo systemctl disable cups

Conclusion

The CUPS package has a critical vulnerability that allows remote command injection through malicious PPD files. It is crucial to update to the patched version to mitigate the risk. Users should also consider temporary workarounds while preparing for the update.

See every vulnerability recorded for cups →

Share this vulnerability

FAQ

The vulnerability allows remote command injection, which can lead to unauthorized access and control over the affected system.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Yes, the patched version of the CUPS package is 1:2.3.3op2-31.el9_5. Updating to this version will resolve the vulnerability.

If immediate updating is not possible, consider disabling the CUPS service or restricting access to it as a temporary measure.

For more details, refer to the CVE page linked in the advisory or check the official CUPS documentation.

Related vulnerabilities

Recent vulnerabilities recorded for cups.

How To Fix

Minimum fixed version

1:2.3.3op2-31.el9_5

This is the first release that contains the fix.

sudo dnf update cups

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