Skip to content
OpenAdvisories
High · 8.6 Public exploit CVE-2024-47175 EUVD-2024-42297

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

Published Sep 26, 2024 · Updated Nov 3, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Alpine v3.19 cups 2.4.9-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 cups-filters +2 1.28.16-3.amzn2023.0.2 ALAS2023-2024-718

Oracle Linux

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 38

References