# CVE-2024-47175: libppd's ppdCreatePPDFromIPP2 function does not sanitize IPP attributes when creating the PPD buffer

- Priority: **Prioritise**
- Reason: Weaponized exploit (Metasploit, 26-09-2024)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-09-26 · Modified: 2025-11-03
- Aliases: ALPINE-CVE-2024-47175, SUSE-SU-2025:03225-1, RHSA-2024:9470, RHSA-2025:0083, UBUNTU-CVE-2024-47175, USN-7041-1, USN-7041-2, USN-7041-3, USN-7045-1, DEBIAN-CVE-2024-47175, DLA-3904-1, DSA-5779-1
- Record: https://cvemate.com/vulnerability/CVE-2024-47175 · JSON: https://cvemate.com/vulnerability/CVE-2024-47175/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 61.695%, percentile 99.189%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, reference, metasploit)

## Affected (first 20 of 38)

- alpine cups (Alpine Linux): \< 2.4.9-r1 \| \< 2.4.10-r1
- debian cups (Debian): \< 2.4.10-2 \| \< 2.3.3op2-3+deb11u9 \| \< 2.4.2-3+deb12u8
- ubuntu cups (Ubuntu): \< 2.1.3-4ubuntu0.11+esm8 \| \< 2.2.7-1ubuntu2.10+esm6 \| \< 2.3.1-9ubuntu1.9 \| \< 2.4.1op1-1ubuntu4.11 \| \< 2.4.7-1.2ubuntu7.3
- ubuntu libppd (Ubuntu): \< 2:2.0.0-0ubuntu4.1
- debian debian\_linux: 11.0
- openprinting libppd: ≤ 2.1b1 \| ≤ 2.0.0 \| 2.1:beta1\*
- opensuse cups-filters&distro=openSUSE Leap 15.6 (openSUSE): \< 1.25.0-150200.3.22.1
- redhat cups (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-client (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-client-debuginfo (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-debuginfo (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-debugsource (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-devel (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-filesystem (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-ipptool (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-ipptool-debuginfo (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-libs (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-libs-debuginfo (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-lpd (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10
- redhat cups-lpd-debuginfo (Red Hat): \< 1:2.3.3op2-31.el9\_5 \| \< 1:2.2.6-62.el8\_10

## References (first 20 of 34)

- <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>
- <http://www.openwall.com/lists/oss-security/2024/09/27/3>
- <https://github.com/OpenPrinting/libppd/commit/d681747ebf12602cb426725eb8ce2753211e2477>
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00047.html>
- <https://security.netapp.com/advisory/ntap-20241011-0001/>
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0016>
- <https://security.alpinelinux.org/vuln/CVE-2024-47175>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202503225-1/>
- <https://bugzilla.suse.com/1230932>
- <https://bugzilla.suse.com/1246533>
- <https://www.suse.com/security/cve/CVE-2024-47175>
- <https://access.redhat.com/errata/RHSA-2024:9470>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2314256>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_9470.json>

---

Data as of 2026-12-05T03:08:49.726Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
