Description
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, copy_banner() in scheduler/ipp.c uses the attacker-controlled IPP attributes-natural-language value as a directory component beneath DataDir/banners when processing a job-sheets banner. The job-sheets value must first match a registered banner basename, and the traversed path must contain a matching reachable basename; selecting an arbitrary target as demonstrated additionally requires pre-positioned path state such as a symlink with that basename. Subject to the scheduler's filesystem and sandbox access, path separators in the language value can escape the intended banner directory, make the root scheduler open the reachable file, and copy its bytes into a job-sheet spool object that a configured backend can deliver to an attacker-observable endpoint. 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-2282 CUPS: Schwachstelle ermöglicht Offenlegung von Informationen 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-gq9p-4w7m-2f5g
- https://github.com/OpenPrinting/cups/commit/08a8a277ce2a8948a1af33552247a1ac53b72df3
- https://github.com/OpenPrinting/cups/commit/6650428234616a97d3298e0e2d4419c62c1339d2
- https://github.com/OpenPrinting/cups/releases/tag/v2.4.20