Description
cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) >> 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenPrinting | cups-filters | <= 2.0rc1 | — |
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-filters | 1.28.17-3 | — |
| Debian 13 | cups-filters | 1.28.17-3 | — |
| Debian 12 | cups-filters | 1.28.17-3 | — |
| Debian 11 | cups-filters | 1.28.7-1+deb11u2 | DSA-5407-1 |
| Debian 10 | cups-filters | 1.21.6-5+deb10u1 | DLA-3430-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | cups-filters | 1.28.15-0ubuntu1.2 | USN-6083-1 |
| Ubuntu 20.04 LTS | cups-filters | 1.27.4-1ubuntu0.2 | USN-6083-1 |
| Ubuntu 18.04 LTS | cups-filters | 1.20.2-0ubuntu3.3 | USN-6083-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | cups-filters | 1.8.3-2ubuntu3.5+esm1 | USN-6083-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | cups-filters +2 | 1.28.7-11.el9_2.1 | RHSA-2023:3423 |
| RHEL 8 | cups-filters +2 | 1.20.0-29.el8_8.2 | RHSA-2023:3425 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.0 EUS | cups-filters +2 | 1.28.7-10.el9_0.1 | RHSA-2023:3424 |
| RHEL 8.6 EUS | cups-filters +2 | 1.20.0-27.el8_6.1 | RHSA-2023:3426 |
| RHEL 8.4 EUS | cups-filters +2 | 1.20.0-24.el8_4.1 | RHSA-2023:3427 |
| RHEL 8.2 TUS | cups-filters +1 | 1.20.0-19.el8_2.1 | RHSA-2023:3428 |
| RHEL 8.2 E4S | cups-filters +1 | 1.20.0-19.el8_2.1 | RHSA-2023:3428 |
| RHEL 8.2 AUS | cups-filters +1 | 1.20.0-19.el8_2.1 | RHSA-2023:3428 |
| RHEL 8.1 E4S | cups-filters +1 | 1.20.0-18.el8_1.1 | RHSA-2023:3429 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | cups-filters +2 | 1.28.7-11.el9_2.1 | ALSA-2023:3423 |
| AlmaLinux 8 | cups-filters +2 | 1.20.0-29.el8_8.2 | ALSA-2023:3425 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | cups-filters | 1.28.7-11.el9_2.1 | RLSA-2023:3423 |
| Rocky Linux 8 | cups-filters | 1.20.0-29.el8_8.2 | RLSA-2023:3425 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLES 15 SP4 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLES 15 SP3 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLES 15 SP2 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLES 15 SP1 | cups-filters | 1.20.3-150000.3.10.1 | SUSE-SU-2023:2287-1 |
| SLES 15 SP1 | poppler | 0.62.0-150000.4.12.1 | SUSE-SU-2023:2287-1 |
| SLES 15 SP1 | texlive | 2017.20170520-150000.11.20.1 | SUSE-SU-2023:2287-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLES for SAP 15 SP2 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLES for SAP 15 SP1 | cups-filters | 1.20.3-150000.3.10.1 | SUSE-SU-2023:2287-1 |
| SLES for SAP 15 SP1 | poppler | 0.62.0-150000.4.12.1 | SUSE-SU-2023:2287-1 |
| SLES for SAP 15 SP1 | texlive | 2017.20170520-150000.11.20.1 | SUSE-SU-2023:2287-1 |
| SLE Real Time 15 SP3 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLE HPC 15 SP3 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLE HPC 15 SP2 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SLE HPC 15 SP1 | cups-filters | 1.20.3-150000.3.10.1 | SUSE-SU-2023:2287-1 |
| SLE HPC 15 SP1 | poppler | 0.62.0-150000.4.12.1 | SUSE-SU-2023:2287-1 |
| SLE HPC 15 SP1 | texlive | 2017.20170520-150000.11.20.1 | SUSE-SU-2023:2287-1 |
| SUSE Manager Server 4.2 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SUSE Manager Proxy 4.2 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SUSE Enterprise Storage 7.1 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| SUSE Enterprise Storage 7 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cups-filters | 1.28.15-3.1 | openSUSE-SU-2024:12939-1 |
| openSUSE Leap 15.5 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-2 |
| openSUSE Leap 15.4 | cups-filters | 1.25.0-150200.3.6.1 | SUSE-SU-2023:2233-1 |
| openSUSE Leap 15.4 | poppler | 0.62.0-150000.4.12.1 | SUSE-SU-2023:2287-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cups-filters | 1.28.17-r3 | — |
| Alpine v3.23 | cups-filters | 1.28.17-r3 | — |
| Alpine v3.22 | cups-filters | 1.28.17-r3 | — |
| Alpine v3.21 | cups-filters | 1.28.17-r3 | — |
| Alpine v3.20 | cups-filters | 1.28.17-r3 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | cups-filters | 1.28.17-r3 | — |
| Alpine v3.18 | cups-filters | 1.28.17-r2 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | cups-filters +2 | 1.28.16-3.amzn2023.0.1 | ALAS2023-2023-223 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | cups-filters +2 | 1.28.7-11.0.1.el9_2.1 | ELSA-2023-3423 |
| Oracle Linux 8 | cups-filters +2 | 1.20.0-29.0.1.el8_8.2 | ELSA-2023-3425 |
Advisories 24
- ALSA-2023:3423 Important: cups-filters security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:3425 Important: cups-filters security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2023-2917 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2026
- RHSA-2023:3423 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:3424 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:3425 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:3426 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:3427 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-6083-2 cups-filters vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-6083-1 cups-filters vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5407-1 cups-filters - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3430-1 cups-filters - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2023:3425 Important: cups-filters security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2023:3423 Important: cups-filters security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:12939-1 cups-filters-1.28.15-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2287-1 Security update for cups-filters, poppler, texlive SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2233-1 Security update for cups-filters SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2233-2 Security update for cups-filters SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2023:3429 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2023:3428 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- WID-SEC-2023-1245 CUPS: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jan 7, 2024
- ALAS2023-2023-223 Important: cups-filters security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 27, 2023
- ELSA-2023-3425 Important: cups-filters security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 6, 2023
- ELSA-2023-3423 Important: cups-filters security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 6, 2023
References
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-gpxc-v2m8-fr3x
- https://github.com/OpenPrinting/cups-filters/commit/8f274035756c04efeb77eb654e9d4c4447287d65
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNCGL2ZTAS2GFF23QFT55UFWIDMI4ZJK/
- https://lists.debian.org/debian-lts-announce/2023/05/msg00021.html
- https://www.debian.org/security/2023/dsa-5407
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KL2SJMZQ5T5JIH3PMQ2CGCY5TUUE255Y/
- https://security.gentoo.org/glsa/202401-06