CVE-2024-47175libppd's ppdCreatePPDFromIPP2 function does not sanitize IPP attributes when creating…
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.
What to do
Likely to be exploited: EPSS gives a 12% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | cups | Fixed | 2.4.7-1.2ubuntu7.3 | UBUNTU-CVE-2024-47175 |
| Ubuntu 24.04 | libppd | Fixed | 2:2.0.0-0ubuntu4.1 | UBUNTU-CVE-2024-47175 |
| Ubuntu 22.04 | cups | Fixed | 2.4.1op1-1ubuntu4.11 | UBUNTU-CVE-2024-47175 |
| Ubuntu 22.04 | libppd | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | cups | Fixed | 2.3.1-9ubuntu1.9 | UBUNTU-CVE-2024-47175 |
| Ubuntu 20.04 | libppd | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | cups | Fix pending | 2.2.7-1ubuntu2.10+esm6 (Ubuntu Pro) | UBUNTU-CVE-2024-47175 |
| Ubuntu 16.04 | cups | Fix pending | 2.1.3-4ubuntu0.11+esm8 (Ubuntu Pro) | UBUNTU-CVE-2024-47175 |
| Debian 14 | cups | Fixed | 2.4.10-2 | DEBIAN-CVE-2024-47175 |
| Debian 13 | cups | Fixed | 2.4.10-2 | DEBIAN-CVE-2024-47175 |
| Debian 12 | cups | Fixed | 2.4.2-3+deb12u8 | DEBIAN-CVE-2024-47175 |
| Red Hat Enterprise Linux 10 | cups | Not affected | ||
| Red Hat Enterprise Linux 10 | cups-client | Not affected | ||
| Red Hat Enterprise Linux 10 | cups-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | cups-filesystem | Not affected | ||
| Red Hat Enterprise Linux 10 | cups-ipptool | Not affected | ||
| Red Hat Enterprise Linux 10 | cups-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | cups-lpd | Not affected | ||
| Red Hat Enterprise Linux 10 | cups-printerapp | Not affected | ||
| Red Hat Enterprise Linux 10 | libppd | Not affected | ||
| Red Hat Enterprise Linux 9 | cups | Fixed | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| Red Hat Enterprise Linux 9 | cups-client | Fixed | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| Red Hat Enterprise Linux 9 | cups-devel | Fixed | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| Red Hat Enterprise Linux 9 | cups-filesystem | Fixed | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| Red Hat Enterprise Linux 9 | cups-filters | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 9 | cups-filters-devel | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 9 | cups-filters-libs | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 9 | cups-ipptool | Fixed | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| Red Hat Enterprise Linux 9 | cups-libs | Fixed | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| Red Hat Enterprise Linux 9 | cups-lpd | Fixed | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| Red Hat Enterprise Linux 9 | cups-printerapp | Fixed | 1:2.3.3op2-31.el9_5 | RHSA-2024:9470 |
| Red Hat Enterprise Linux 8 | cups | Fixed | 1:2.2.6-62.el8_10 | RHSA-2025:0083 |
| Red Hat Enterprise Linux 8 | cups-client | Fixed | 1:2.2.6-62.el8_10 | RHSA-2025:0083 |
| Red Hat Enterprise Linux 8 | cups-devel | Fixed | 1:2.2.6-62.el8_10 | RHSA-2025:0083 |
| Red Hat Enterprise Linux 8 | cups-filesystem | Fixed | 1:2.2.6-62.el8_10 | RHSA-2025:0083 |
| Red Hat Enterprise Linux 8 | cups-filters | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| Red Hat Enterprise Linux 8 | cups-filters-devel | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| Red Hat Enterprise Linux 8 | cups-filters-libs | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| Red Hat Enterprise Linux 8 | cups-ipptool | Fixed | 1:2.2.6-62.el8_10 | RHSA-2025:0083 |
| Red Hat Enterprise Linux 8 | cups-libs | Fixed | 1:2.2.6-62.el8_10 | RHSA-2025:0083 |
| Red Hat Enterprise Linux 8 | cups-lpd | Fixed | 1:2.2.6-62.el8_10 | RHSA-2025:0083 |
| Red Hat Enterprise Linux 7 | cups | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | cups-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | cups-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | cups-filesystem | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | cups-ipptool | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | cups-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | cups-lpd | Fix pending Fix deferred | ||
| AlmaLinux 9 | cups | Fixed | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 9 | cups-client | Fixed | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 9 | cups-devel | Fixed | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 9 | cups-filesystem | Fixed | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 9 | cups-filters | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 9 | cups-filters-devel | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 9 | cups-filters-libs | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 9 | cups-ipptool | Fixed | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 9 | cups-libs | Fixed | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 9 | cups-lpd | Fixed | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 9 | cups-printerapp | Fixed | 1:2.3.3op2-31.el9_5 | ALSA-2024:9470 |
| AlmaLinux 8 | cups | Fixed | 1:2.2.6-62.el8_10 | ALSA-2025:0083 |
| AlmaLinux 8 | cups-client | Fixed | 1:2.2.6-62.el8_10 | ALSA-2025:0083 |
| AlmaLinux 8 | cups-devel | Fixed | 1:2.2.6-62.el8_10 | ALSA-2025:0083 |
| AlmaLinux 8 | cups-filesystem | Fixed | 1:2.2.6-62.el8_10 | ALSA-2025:0083 |
| AlmaLinux 8 | cups-filters | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| AlmaLinux 8 | cups-filters-devel | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| AlmaLinux 8 | cups-filters-libs | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| AlmaLinux 8 | cups-ipptool | Fixed | 1:2.2.6-62.el8_10 | ALSA-2025:0083 |
| AlmaLinux 8 | cups-libs | Fixed | 1:2.2.6-62.el8_10 | ALSA-2025:0083 |
| AlmaLinux 8 | cups-lpd | Fixed | 1:2.2.6-62.el8_10 | ALSA-2025:0083 |
| Rocky Linux 9 | cups | Fixed | 1:2.3.3op2-31.el9_5 | RLSA-2024:9470 |
| Rocky Linux 9 | cups-filters | Fixed | 0:1.28.7-17.el9_4 | RLSA-2024:7346 |
| Rocky Linux 8 | cups | Fixed | 1:2.2.6-62.el8_10 | RLSA-2025:0083 |
| Rocky Linux 8 | cups-filters | Fixed | 0:1.20.0-35.el8_10 | RLSA-2024:7463 |
| Alpine Linux 3.24 | cups | Fixed | 2.4.10-r1 | ALPINE-CVE-2024-47175 |
| Alpine Linux 3.23 | cups | Fixed | 2.4.10-r1 | ALPINE-CVE-2024-47175 |
| Alpine Linux 3.22 | cups | Fixed | 2.4.10-r1 | ALPINE-CVE-2024-47175 |
| Alpine Linux 3.21 | cups | Fixed | 2.4.10-r1 | ALPINE-CVE-2024-47175 |
| Alpine Linux 3.20 | cups | Fixed | 2.4.9-r1 | ALPINE-CVE-2024-47175 |
| Alpine Linux 3.19 | cups | Fixed | 2.4.9-r1 | ALPINE-CVE-2024-47175 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenPrinting libppd: affected: <= 2.1b1
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.