Description
CUPS is a standards-based, open-source printing system, and `libppd` can be used for legacy PPD file support. The `libppd` function `ppdCreatePPDFromIPP2` does not sanitize IPP attributes when creating the PPD buffer. When used in combination with other functions such as `cfGetPrinterAttributes5`, can result in user controlled input and ultimately code execution via Foomatic. This vulnerability can be part of an exploit chain leading to remote code execution (RCE), as described in CVE-2024-47176.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenPrinting | libppd | <= 2.1b1 | — |
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.10-2 | — |
| Debian 13 | cups | 2.4.10-2 | — |
| Debian 12 | cups | 2.4.2-3+deb12u8 | DSA-5779-1 |
| Debian 11 | cups | 2.3.3op2-3+deb11u9 | DLA-3904-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | cups | 2.4.7-1.2ubuntu7.3 | USN-7041-1 |
| Ubuntu 24.04 LTS | libppd | 2:2.0.0-0ubuntu4.1 | USN-7045-1 |
| Ubuntu 22.04 LTS | cups | 2.4.1op1-1ubuntu4.11 | USN-7041-1 |
| Ubuntu 20.04 LTS | cups | 2.3.1-9ubuntu1.9 | USN-7041-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | cups | 2.2.7-1ubuntu2.10+esm6 | USN-7041-2 |
| Ubuntu Pro 16.04 LTS | cups | 2.1.3-4ubuntu0.11+esm8 | USN-7041-3 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | cups +7 | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| RHEL 9 | cups-filters +2 | 1.28.7-17.el9_4 | RHSA-2024:7346 |
| RHEL 8 | cups +6 | 1:2.2.6-62.el8_10 | RHSA-2025:0083 |
| RHEL 8 | cups-filters +2 | 1.20.0-35.el8_10 | RHSA-2024:7463 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.2 EUS | cups-filters +2 | 1.28.7-11.el9_2.2 | RHSA-2024:7503 |
| RHEL 9.0 E4S | cups-filters +1 | 1.28.7-10.el9_0.2 | RHSA-2024:7506 |
| RHEL 8.8 EUS | cups-filters +2 | 1.20.0-29.el8_8.3 | RHSA-2024:7462 |
| RHEL 8.6 TUS | cups-filters +1 | 1.20.0-27.el8_6.3 | RHSA-2024:7623 |
| RHEL 8.6 E4S | cups-filters +1 | 1.20.0-27.el8_6.3 | RHSA-2024:7623 |
| RHEL 8.6 AUS | cups-filters +1 | 1.20.0-27.el8_6.3 | RHSA-2024:7623 |
| RHEL 8.4 TUS | cups-filters +1 | 1.20.0-24.el8_4.2 | RHSA-2024:7504 |
| RHEL 8.4 E4S | cups-filters +1 | 1.20.0-24.el8_4.2 | RHSA-2024:7504 |
| RHEL 8.4 AUS | cups-filters +1 | 1.20.0-24.el8_4.2 | RHSA-2024:7504 |
| RHEL 8.2 AUS | cups-filters +1 | 1.20.0-19.el8_2.2 | RHSA-2024:7461 |
| RHEL 7.7 AUS | cups-filters +2 | 1.0.35-26.el7_7.3 | RHSA-2024:7551 |
| RHEL 7 ELS | cups-filters +2 | 1.0.35-29.el7_9.3 | RHSA-2024:7553 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | cups +7 | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 9 | cups-filters +2 | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 8 | cups +6 | 1:2.2.6-62.el8_10 | ALSA-2025:0083 |
| AlmaLinux 8 | cups-filters +2 | 1.20.0-35.el8_10 | ALSA-2024:7463 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | cups | 1:2.3.3op2-31.el9_5 | RLSA-2024:9470 |
| Rocky Linux 9 | cups-filters | 1.28.7-17.el9_4 | RLSA-2024:7346 |
| Rocky Linux 8 | cups | 1:2.2.6-62.el8_10 | RLSA-2025:0083 |
| Rocky Linux 8 | cups-filters | 1.20.0-35.el8_10 | RLSA-2024:7463 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLES 15 SP7 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLES 15 SP6 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLES 15 SP6 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLES 15 SP5 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLES 15 SP5 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLES 15 SP4 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLES 15 SP4 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLES 15 SP3 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLES 15 SP3 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLES for SAP 15 SP5 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLES for SAP 15 SP4 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLES for SAP 15 SP4 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLES for SAP 15 SP3 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLES for SAP 15 SP3 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLE Micro 5.5 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLE Micro 5.4 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLE Micro 5.3 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLE Micro 5.2 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLE HPC 15 SP5 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLE HPC 15 SP5 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLE HPC 15 SP4 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLE HPC 15 SP4 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SLE HPC 15 SP3 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SLE HPC 15 SP3 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SUSE Manager Server LTS 4.3 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SUSE Manager Server LTS 4.3 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SUSE Manager Proxy LTS 4.3 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SUSE Manager Proxy LTS 4.3 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
| SUSE Enterprise Storage 7.1 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| SUSE Enterprise Storage 7.1 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cups-filters | 1.28.17-5.1 | openSUSE-SU-2025:15563-1 |
| openSUSE Leap 16.0 | cups-filters | 1.28.17-bp160.2.1 | openSUSE-SU-2026:21850-1 |
| openSUSE Leap 15.6 | cups | 2.2.7-150000.3.72.1 | SUSE-SU-2025:03261-1 |
| openSUSE Leap 15.6 | cups-filters | 1.25.0-150200.3.22.1 | SUSE-SU-2025:03225-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cups | 2.4.10-r1 | — |
| Alpine v3.23 | cups | 2.4.10-r1 | — |
| Alpine v3.22 | cups | 2.4.10-r1 | — |
| Alpine v3.21 | cups | 2.4.10-r1 | — |
| Alpine v3.20 | cups | 2.4.9-r1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | cups | 2.4.9-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | cups-filters +2 | 1.28.16-3.amzn2023.0.2 | ALAS2023-2024-718 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | cups +7 | 1:2.3.3op2-31.el9_5 | ELSA-2024-9470 |
| Oracle Linux 9 | cups-filters +2 | 1.28.7-17.0.1.el9_4 | ELSA-2024-7346 |
| Oracle Linux 8 | cups +6 | 1:2.2.6-62.el8_10 | ELSA-2025-0083 |
| Oracle Linux 8 | cups-filters +2 | 1.20.0-35.0.1.el8_10 | ELSA-2024-7463 |
| Oracle Linux 7 | cups-filters +2 | 1.0.35-29.0.3.el7_9 | ELSA-2024-7553 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
CUPS IPP Attributes LAN Remote Code Execution
exploit/multi/misc/cups_ipp_remote_code_execution
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 38
- RHSA-2024:7503 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- ALSA-2024:7346 Important: cups-filters security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:9470 Low: cups security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:7463 Important: cups-filters security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:0083 Low: cups security update AlmaLinux Security Advisories · Oct 29, 2026
- openSUSE-SU-2026:21850-1 Security update for cups-filters SUSE / openSUSE Security Updates · Sep 15, 2026
- RHSA-2025:0083 Red Hat Security Advisory: cups security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:9470 Red Hat Security Advisory: cups security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7623 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7553 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7551 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7504 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7506 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7462 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7463 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7461 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:7346 Red Hat Security Advisory: cups-filters security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- USN-7041-3 cups vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- WID-SEC-2024-2240 CUPS: Mehrere Schwachstellen ermöglichen Ausführung von beliebigem Programmcode BSI CERT-Bund (WID) · May 18, 2026
- USN-7045-1 libppd vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-7041-2 cups vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-7041-1 cups vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2025:15563-1 cups-filters-1.28.17-5.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03225-1 Security update for cups-filters SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5779-1 cups - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3904-1 cups - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2025:0083 Low: cups security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2024:7346 Important: cups-filters security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2024:9470 Low: cups security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2024:7463 Important: cups-filters security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2025:03261-1 Security update for cups SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2025-0083 Low: cups security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 9, 2025
- ELSA-2024-9470 Low: cups security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 20, 2024
- ELSA-2024-7553 Important: cups-filters security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 13, 2024
- ALAS2023-2024-718 Important: cups-filters security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 2, 2024
- NCSC-2024-0384 Kwetsbaarheden ontdekt in CUPS NCSC-NL (Netherlands) · Oct 2, 2024
- ELSA-2024-7463 Important: cups-filters security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 1, 2024
- ELSA-2024-7346 Important: cups-filters security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 30, 2024
References
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5
- https://www.cups.org
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I