OpenPrinting CUPS Heap-Based Buffer Overflow Vulnerability in Scheduler

Vulnerability

A heap-based buffer overflow vulnerability has been identified in OpenPrinting CUPS versions through 2.4.16. The issue arises in the CUPS scheduler when constructing filter option strings from job attributes. The vulnerability allows an attacker who can submit IPP jobs to exploit memory corruption in the CUPS daemon by creating maliciously large 'job-uuid' or 'job-authorization-uri' attributes. This exploitation can lead to a crash of the CUPS daemon, causing a denial-of-service condition, and may potentially be leveraged for arbitrary code execution.

Impact

Exploitation of this vulnerability causes a heap-based buffer overflow in the CUPS daemon, 'cupsd', leading to a segmentation fault and crashing the service. However, such heap-overflow vulnerabilities are often exploitable to execute arbitrary code under the context of the user running the CUPS service.

Reproduction

The vulnerability can be reproduced by sending a crafted IPP 'Print-Job' request that includes oversized 'job-uuid' or 'job-authorization-uri' attributes. This can be done using a Python script that constructs the IPP request with the maliciously large URI values, which are then sent to a CUPS server. The CUPS server will crash due to the induced memory corruption, demonstrating the vulnerability.

Added: Apr 3, 2026, 10:24 PM
Updated: Apr 3, 2026, 10:24 PM

Vulnerability Rating

Custom Algorithm
spread
6.8
impact
3.1
exploitability
6.2
remediation
0.0
relevance
5.2
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.