CVE-2026-55453
CUPS ipp backend status-line injection can update queue PPD and lead to conditional RCE as lp via foomatic-rip
At a glance
- Source
- NVD
- EPSS
- EPSS 0.19 % · percentile 9 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-74 — Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-77 — Improper Neutralization of Special Elements used in a Command
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
References
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-7hqf-mfhx-7r3v
- https://github.com/OpenPrinting/cups/commit/806e1b483096c51d59432468f4afdd7387d81dd7
- https://github.com/OpenPrinting/cups/commit/d41cf0616688721e9d435d54118c4c8a36ed596a
- https://github.com/OpenPrinting/cups/releases/tag/v2.4.20
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | GitHub_M |
| CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | NVD · security-advisories@github.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-102207
- GCVE · GCVE-0-2026-55453
Affected configurations (NVD CPE)
cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*< 2.4.20
Affected products
| Product | Versions |
|---|---|
| OpenPrinting · cups | affected < 2.4.20 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |