Description
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, copy_model() in scheduler/ipp.c creates a predictable TempDir/<connection-number>.ppd path in an lp-group-writable directory and opens it as root without O_EXCL or O_NOFOLLOW. Exploitation requires an lp-group process able to write that directory to predict the connection-derived name and plant a symlink before the root open, while a privileged add-printer or modify-printer operation using a model PPD triggers copy_model(). The reporter treats an existing lp foothold and the privileged operation as distinct prerequisites, while the maintainer assesses high privileges because installing the relevant filter or administering the printer requires root or print-administrator access. If the race succeeds, the root scheduler follows the symlink and truncates or overwrites a root-writable target with generated PPD data, compromising file integrity or availability. 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-jj94-x3qh-ffp9
- https://github.com/OpenPrinting/cups/commit/98adfd855950e806508f961d5438ad32e26aac62
- https://github.com/OpenPrinting/cups/commit/f6a11dae0f0f3b748fbca931e237be03ffe8e48e
- https://github.com/OpenPrinting/cups/releases/tag/v2.4.20