REDHAT-BUG-2553616: High severity OpenPrinting CUPS vulnerability

Published Oct 15, 2026
·
Updated

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, the backend/ipp.c quotestring() function preserves carriage-return and line-feed characters in a remote printer-controlled marker-message before reportattr() writes the value to the scheduler status stream. The scheduler can parse an injected newline as a separate PPD: control line and persist an attacker-selected PPD keyword. The reporter demonstrated that a later print job on a Foomatic-backed queue could consume an injected FoomaticRIPCommandLine value and execute in the filter context as lp. This issue is fixed in version 2.4.20.

Affected Software

1 affected component
OpenPrinting CUPS<2.4.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.4.20

Event History

Oct 15, 2026
Data Sourced
via Red Hat·05:25 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker needs control of a remote printer's marker-message so it can include carriage-return or line-feed characters. The injected status data must then be interpreted as a PPD control line, and a later print job must use a Foomatic-backed queue that consumes the attacker-selected FoomaticRIPCommandLine value.

2

Which environments are most exposed?

Systems running OpenPrinting CUPS before 2.4.20 are affected when they use remote printers whose marker messages may be attacker-controlled. The demonstrated command-execution path specifically involves Foomatic-backed print queues.

3

What is the impact of a successful exploit?

A successful injection can persist an attacker-selected PPD keyword. In the demonstrated Foomatic-backed queue scenario, a subsequent print job can execute the injected command in the filter context as the lp user.

4

What can be done if updating immediately is not possible?

The provided information identifies remote printer-controlled marker messages and Foomatic-backed queues as the relevant exposure points. Restricting use of untrusted remote printers and avoiding Foomatic-backed queues would reduce exposure, but the data does not provide a complete workaround.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203