CVE-2026-55453

CUPS ipp backend status-line injection can update queue PPD and lead to conditional RCE as lp via foomatic-rip

Published Oct 15, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
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 quote_string() function preserves carriage-return and line-feed characters in a remote printer-controlled marker-message before report_attr() 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.

Analysis

AI-generated

Technical impact

OpenPrinting CUPS allows a remote print client to inject carriage–return and line–feed characters into a marker‑message that the scheduler writes to the status stream. The injected newline is interpreted as a separate PPD control line, enabling an attacker to set a chosen PPD keyword. If the printed job later uses a Foomatic‑backed queue, the injected FoomaticRIPCommandLine value is processed by the filter as the user lp, allowing the attacker to execute arbitrary commands in that context. The flaw therefore constitutes a conditional remote code execution path for the account that runs the printer filter, typically lp.

Affected Systems

The vulnerability affects all releases of OpenPrinting CUPS older than version 2.4.20. Any Unix‑like system deploying CUPS that has not applied the 2.4.20 update is potentially exploitable.

Risk and Exploitability

The CVSS score of 3.3 indicates a low overall severity. The EPSS score is less than 1%, indicating a very low likelihood of exploitation. The flaw is not listed in the CISA KEV catalog. The attack vector is remote over the IPP backend; an unauthenticated or authenticated client can send an IPP request that includes the marker message. Once the attacker succeeds, the impact escalates to remote code execution executed as the lp user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to CUPS version 2.4.20 or later to apply the fixed quote_string handling.
  • If an upgrade is not immediately possible, block or restrict external IPP traffic to the printer scheduler or disable the ipp backend to prevent marker‑message injection.
  • After applying a patch or implementing the restriction, confirm that no unexpected PPD keywords or FoomaticRIPCommandLine entries appear in the queue configuration.

Generated by OpenCVE AI on October 16, 2026 at 20:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Openprinting
Openprinting cups
Vendors & Products Openprinting
Openprinting cups
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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 quote_string() function preserves carriage-return and line-feed characters in a remote printer-controlled marker-message before report_attr() 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.
Title CUPS ipp backend status-line injection can update queue PPD and lead to conditional RCE as lp via foomatic-rip
Weaknesses CWE-74
CWE-77
CWE-78
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 16, 2026, 5:12 PM
Reserved
Jun 16, 2026, 10:10 PM
Status
Analyzed
Published
Oct 15, 2026, 6:17 PM
Modified
Oct 20, 2026, 7:38 PM
Severity
Important
Public date
Oct 15, 2026, 5:11 PM