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

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 11.9%, higher than 97% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-09-26T21:18:25.265Z
- Modified: 2026-06-17T07:56:40.553Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- OpenPrinting libppd: <= 2.1b1; up to 2.1b1; up to 2.0.0; 2.1
- debian debian_linux: 11.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6> (exploit, vendor-advisory)
- <https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I> (exploit, third-party-advisory)
- <https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8> (not-applicable)
- <https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47> (not-applicable)
- <https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5> (not-applicable)
- <https://www.cups.org> (product)
- <http://www.openwall.com/lists/oss-security/2024/09/27/3> (mailing-list)
- <https://github.com/OpenPrinting/libppd/commit/d681747ebf12602cb426725eb8ce2753211e2477> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00047.html> (mailing-list)
- <https://security.netapp.com/advisory/ntap-20241011-0001/>
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0016>

## Sources

- CVE List: [CVE-2024-47175](https://www.cve.org/CVERecord?id=CVE-2024-47175), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2024-47175](https://nvd.nist.gov/vuln/detail/CVE-2024-47175), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47175 · Whole record: https://cve.day/CVE-2024-47175.json · Rebuilt by cve.day 2026-11-25T22:58:45.808Z
