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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenPrinting | cups | < 2.4.20 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cups | 2.4.20-1 | — |
| Debian 13 | cups | No fix yet | — |
| Debian 12 | cups | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | cups | No fix yet | — |
| Ubuntu 26.04 LTS | cups | No fix yet | — |
| Ubuntu 24.04 LTS | cups | No fix yet | — |
| Ubuntu 22.04 LTS | cups | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | cups | No fix yet | — |
| Ubuntu Pro 18.04 LTS | cups | No fix yet | — |
| Ubuntu Pro 16.04 LTS | cups | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | cups +7 | 2.4.19-4.6.hum1 | RHSA-2026:84421 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cups | 2.4.20-1.1 | openSUSE-SU-2026:12192-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | cups +7 | 1:2.4.20-1.amzn2023.0.1 | ALAS2023-2026-3415 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cups | No fix yet | — |
Advisories 4
- ALAS2023-2026-3415 Moderate: cups security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 9, 2026
- WID-SEC-2026-1968 CUPS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2026
- openSUSE-SU-2026:12192-1 cups-2.4.20-1.1 on GA media SUSE / openSUSE Security Updates · Oct 21, 2026
- RHSA-2026:84421 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
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