Skip to content
Fencer Vulns
high 8.6

CVE-2024-47076 in the critical feed json

libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server

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

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

Summary

CUPS is a standards-based, open-source printing system, and `libcupsfilters` contains the code of the filters of the former `cups-filters` package as library functions to be used for the data format conversion tasks needed in Printer Applications. The `cfGetPrinterAttributes5` function in `libcupsfilters` does not sanitize IPP attributes returned from an IPP server. When these IPP attributes are used, for instance, to generate a PPD file, this can lead to attacker controlled data to be provided to the rest of the CUPS system.

Patch / fix

  • cups-filters Debian 12 1.28.17-3+deb12u1
  • cups-filters Debian 14, Debian 13 1.28.17-5
  • libcupsfilters Debian 14, Debian 13 2.0.0-3

debian advisories DEBIAN-CVE-2024-47076

  • cups-filters Ubuntu 20.04 LTS 1.27.4-1ubuntu0.4
  • cups-filters Ubuntu 22.04 LTS 1.28.15-0ubuntu1.4
  • libcupsfilters Ubuntu 24.04 LTS 2.0.0-0ubuntu7.1

ubuntu advisories UBUNTU-CVE-2024-47076

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-filters RHEL 8 1.20.0-35.el8_10
  • cups-filters-libs RHEL 8 1.20.0-35.el8_10
  • cups-filters RHEL 9 1.28.7-17.el9_4
  • cups-filters-libs RHEL 9 1.28.7-17.el9_4
  • cups-filters RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 1.20.0-27.el8_6.3
  • cups-filters-libs RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 1.20.0-27.el8_6.3
  • cups-filters RHEL 7.7 AUS 1.0.35-26.el7_7.3
  • cups-filters-libs RHEL 7.7 AUS 1.0.35-26.el7_7.3

red hat advisories RHSA-2024:7623RHSA-2024:7551RHSA-2024:7553RHSA-2024:7503RHSA-2024:7504RHSA-2024:7506

  • cups-filters SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +14 more 1.25.0-150200.3.19.2

suse advisories SUSE-SU-2024:3863-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-filters AlmaLinux 8 1.20.0-35.el8_10
  • cups-filters-libs AlmaLinux 8 1.20.0-35.el8_10
  • cups-filters AlmaLinux 9 1.28.7-17.el9_4
  • cups-filters-libs AlmaLinux 9 1.28.7-17.el9_4

almalinux advisories ALSA-2024:7463ALSA-2024:7346

  • 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:7463RLSA-2024:7346

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-47076 updated cvss 8.2

cups-filters: libcupsfilters: `cfGetPrinterAttributes` API does not perform sanitization on returned IPP attributes

  • 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-filters 1.20.0-35.el8_10, cups-filters-libs 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 AppStream (v. 9) cups-filters 1.28.7-17.el9_4, cups-filters-libs 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 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
  • 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
show 13 more
  • 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 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-filters, libcupsfilters
    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
partial
Assessed
2 y ago

Exploit prediction

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

Exploits and checks

  • Metasploit exploit/multi/misc/cups_ipp_remote_code_execution CUPS IPP Attributes LAN Remote Code Execution metasploit exploit, normal rank, 2024-09-26
  • github.com https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5 referenced PoC, tagged "exploit" by a source, unverified
  • evilsocket.net https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I referenced PoC, tagged "exploit" by a source, unverified

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 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Affected products

  • OpenPrinting libcupsfilters

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.