Skip to content
Fencer Vulns
high 8.6

CVE-2024-47175 in the critical feed json

libppd's ppdCreatePPDFromIPP2 function does not sanitize IPP attributes when creating the PPD buffer

published 2024-09-26 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-42297

cvss
8.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
63.6%
EPSS 63.6% chance of exploitation in 30 days, percentile 99.2%
public exploits
1
Metasploit

Summary

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.

Patch / fix

  • cups Debian 12 2.4.2-3+deb12u8
  • cups Debian 14, Debian 13 2.4.10-2

debian advisories DEBIAN-CVE-2024-47175

  • cups Ubuntu 20.04 LTS 2.3.1-9ubuntu1.9
  • cups Ubuntu 22.04 LTS 2.4.1op1-1ubuntu4.11
  • cups Ubuntu 24.04 LTS 2.4.7-1.2ubuntu7.3
  • libppd Ubuntu 24.04 LTS 2:2.0.0-0ubuntu4.1
  • cups Ubuntu Pro 16.04 LTS 2.1.3-4ubuntu0.11+esm8
  • cups Ubuntu Pro 18.04 LTS 2.2.7-1ubuntu2.10+esm6

ubuntu advisories UBUNTU-CVE-2024-47175

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cups RHEL 8 1:2.2.6-62.el8_10
  • cups-lpd RHEL 8 1:2.2.6-62.el8_10
  • cups-libs RHEL 8 1:2.2.6-62.el8_10
  • cups-client RHEL 8 1:2.2.6-62.el8_10
  • cups-ipptool RHEL 8 1:2.2.6-62.el8_10
  • cups-filesystem RHEL 8 1:2.2.6-62.el8_10
  • cups RHEL 9 1:2.3.3op2-31.el9_5
  • cups-lpd RHEL 9 1:2.3.3op2-31.el9_5

red hat advisories RHSA-2025:0083RHSA-2024:9470RHSA-2024:7623RHSA-2024:7551RHSA-2024:7553RHSA-2024:7503

  • cups SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +22 more 2.2.7-150000.3.72.1
  • cups-filters SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +14 more 1.25.0-150200.3.22.1

suse advisories SUSE-SU-2025:03261-1SUSE-SU-2025:03225-1

  • cups-filters openSUSE Leap 16.0 1.28.17-bp160.2.1
  • cups-filters openSUSE Tumbleweed 1.28.17-5.1

opensuse advisories openSUSE-SU-2026:21850-1openSUSE-SU-2025:15563-1

  • cups AlmaLinux 8 1:2.2.6-62.el8_10
  • cups-lpd AlmaLinux 8 1:2.2.6-62.el8_10
  • cups-libs AlmaLinux 8 1:2.2.6-62.el8_10
  • cups-client AlmaLinux 8 1:2.2.6-62.el8_10
  • cups-ipptool AlmaLinux 8 1:2.2.6-62.el8_10
  • cups-filesystem AlmaLinux 8 1:2.2.6-62.el8_10
  • cups AlmaLinux 9 1:2.3.3op2-31.el9_5
  • cups-lpd AlmaLinux 9 1:2.3.3op2-31.el9_5

almalinux advisories ALSA-2025:0083ALSA-2024:9470ALSA-2024:7463ALSA-2024:7346

  • cups Rocky Linux 9 1:2.3.3op2-31.el9_5
  • cups Rocky Linux 8 1:2.2.6-62.el8_10
  • cups-filters Rocky Linux 8 1.20.0-35.el8_10
  • cups-filters Rocky Linux 9 1.28.7-17.el9_4

rocky linux advisories RLSA-2024:9470RLSA-2025:0083RLSA-2024:7463RLSA-2024:7346

  • cups Alpine 3.20, Alpine 3.19 2.4.9-r1
  • cups Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 2.4.10-r1

alpine advisories ALPINE-CVE-2024-47175

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-47175 updated cvss 7.7

cups: libppd: remote command injection via attacker controlled data in PPD file

  • Red Hat Enterprise Linux 7 cups, cups-lpd, cups-libs, cups-client, cups-ipptool, cups-filesystem
    affected: workaround, no fix available “See the security bulletin for a detailed mitigation procedure.”
  • Red Hat CodeReady Linux Builder EUS (v.8.8) cups-filters-devel 1.20.0-29.el8_8.3, cups-filters-debuginfo 1.20.0-29.el8_8.3, cups-filters-debugsource 1.20.0-29.el8_8.3, cups-filters-libs-debuginfo 1.20.0-29.el8_8.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7462
  • Red Hat CodeReady Linux Builder EUS (v.9.2) cups-filters-devel 1.28.7-11.el9_2.2, cups-filters-debuginfo 1.28.7-11.el9_2.2, cups-filters-debugsource 1.28.7-11.el9_2.2, cups-filters-libs-debuginfo 1.28.7-11.el9_2.2
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7503
  • Red Hat Enterprise Linux AppStream (v. 8) cups 2.2.6-62.el8_10, cups-lpd 2.2.6-62.el8_10, cups-client 2.2.6-62.el8_10, cups-ipptool 2.2.6-62.el8_10, cups-filters 1.20.0-35.el8_10, cups-filesystem 2.2.6-62.el8_10, +1 more
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2025:0083
  • Red Hat Enterprise Linux AppStream (v. 9) cups 2.3.3op2-31.el9_5, cups-lpd 2.3.3op2-31.el9_5, cups-filters 1.28.7-17.el9_4, cups-client 2.3.3op2-31.el9_5, cups-ipptool 2.3.3op2-31.el9_5, cups-filesystem 2.3.3op2-31.el9_5, +2 more
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7346
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) cups-filters 1.20.0-19.el8_2.2, cups-filters-libs 1.20.0-19.el8_2.2
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7461
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) cups-filters 1.20.0-24.el8_4.2, cups-filters-libs 1.20.0-24.el8_4.2
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7504
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) cups-filters 1.20.0-27.el8_6.3, cups-filters-libs 1.20.0-27.el8_6.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7623
show 16 more
  • Red Hat Enterprise Linux AppStream E4S (v.8.4) cups-filters 1.20.0-24.el8_4.2, cups-filters-libs 1.20.0-24.el8_4.2
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7504
  • Red Hat Enterprise Linux AppStream E4S (v.8.6) cups-filters 1.20.0-27.el8_6.3, cups-filters-libs 1.20.0-27.el8_6.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7623
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) cups-filters 1.28.7-10.el9_0.2, cups-filters-libs 1.28.7-10.el9_0.2
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7506
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) cups-filters 1.20.0-29.el8_8.3, cups-filters-libs 1.20.0-29.el8_8.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7462
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) cups-filters 1.28.7-11.el9_2.2, cups-filters-libs 1.28.7-11.el9_2.2
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7503
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) cups-filters 1.20.0-24.el8_4.2, cups-filters-libs 1.20.0-24.el8_4.2
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7504
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) cups-filters 1.20.0-27.el8_6.3, cups-filters-libs 1.20.0-27.el8_6.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7623
  • Red Hat Enterprise Linux BaseOS (v. 8) cups 2.2.6-62.el8_10, cups-libs 2.2.6-62.el8_10
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2025:0083
  • Red Hat Enterprise Linux BaseOS (v. 9) cups 2.3.3op2-31.el9_5, cups-libs 2.3.3op2-31.el9_5
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:9470
  • Red Hat Enterprise Linux CRB (v. 8) cups-filters-devel 1.20.0-35.el8_10, cups-filters-debuginfo 1.20.0-35.el8_10, cups-filters-debugsource 1.20.0-35.el8_10, cups-filters-libs-debuginfo 1.20.0-35.el8_10
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7463
  • Red Hat Enterprise Linux CRB (v. 9) cups-filters-devel 1.28.7-17.el9_4, cups-filters-debuginfo 1.28.7-17.el9_4, cups-filters-debugsource 1.28.7-17.el9_4, cups-filters-libs-debuginfo 1.28.7-17.el9_4
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7346
  • Red Hat Enterprise Linux Server (v. 7 ELS) cups-filters 1.0.35-29.el7_9.3, cups-filters-libs 1.0.35-29.el7_9.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7553
  • Red Hat Enterprise Linux Server AUS (v. 7.7) cups-filters 1.0.35-26.el7_7.3, cups-filters-libs 1.0.35-26.el7_7.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7551
  • Red Hat Enterprise Linux Server Optional (v. 7 ELS) cups-filters-devel 1.0.35-29.el7_9.3, cups-filters-debuginfo 1.0.35-29.el7_9.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7553
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.7) cups-filters-devel 1.0.35-26.el7_7.3, cups-filters-debuginfo 1.0.35-26.el7_7.3
    fixed: vendor fix “See the security bulletin for a detailed mitigation procedure.” RHSA-2024:7551
  • Red Hat Enterprise Linux 10 cups, libppd Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/multi/misc/cups_ipp_remote_code_execution)
  2. Published

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

63.61% chance of exploitation in the next 30 days, higher than 99.2% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

CVSS scores

assigned by version score vector
CNA 3.1 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • OpenPrinting libppd

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.