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.
Published: 2026-10-15
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Tue, 20 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*

Sat, 17 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Openprinting
Openprinting cups
Vendors & Products Openprinting
Openprinting cups

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 16 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-93
References
Metrics threat_severity

None

threat_severity

Important


Thu, 15 Oct 2026 17:30:00 +0000

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'}


Subscriptions

Openprinting Cups
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T17:12:58.110Z

Reserved: 2026-06-16T22:10:37.607Z

Link: CVE-2026-55453

cve-icon Vulnrichment

Updated: 2026-10-15T20:24:46.819Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-15T18:17:27.677

Modified: 2026-10-20T19:38:09.283

Link: CVE-2026-55453

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-15T17:11:21Z

Links: CVE-2026-55453 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T17:15:11Z

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')