Skip to main content
Public proof of conceptFix available

CVE-2024-47175

A public proof of concept exists; no exploitation attested.

  • Published2024-09-26
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-09-2622:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP
Openprinting libppd
BranchAffectedFixed in
2.0≤ 2.0.0no fix published
2.1= 2.1no fix published
2.1≤ 2.1b1no fix published
Debian debian linux
BranchAffectedFixed in
11.0= 11.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • OpenPrinting libppd
    Affected
    • = <= 2.1b1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-09-26

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cupsUbuntu:Pro:18.04:LTSall versions · fixed in 2.2.7-1ubuntu2.10+esm6
  • cupsUbuntu:Pro:16.04:LTSall versions · fixed in 2.1.3-4ubuntu0.11+esm8
  • cupsUbuntu:24.04:LTSall versions · fixed in 2.4.7-1.2ubuntu7.3
  • cupsUbuntu:22.04:LTSall versions · fixed in 2.4.1op1-1ubuntu4.11
  • cupsUbuntu:20.04:LTSall versions · fixed in 2.3.1-9ubuntu1.9
  • cupsTuxCare:Ubuntu:18.04all versions · fixed in 2.2.7-1ubuntu2.10+tuxcare.els4and 15 other packages
  • cupsTuxCare:Ubuntu:16.04all versions · fixed in 2.1.3-4ubuntu0.11+tuxcare.els6and 18 other packages
  • cupsTuxCare:CentOS:8.5all versions · fixed in 1:2.2.6-40.el8.tuxcare.els4and 6 other packages

104 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-47175 Red Hat Product Security528 products fixed · 8 known affected

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

    cups as a component of Red Hat Enterprise Linux 7 · cups-client as a component of Red Hat Enterprise Linux 7 · cups-devel as a component of Red Hat Enterprise Linux 7 · +5 more

  • RHSA-2025:0083 Red Hat Product Security88 products fixed

    Red Hat Security Advisory: cups security update

  • RHSA-2024:9470 Red Hat Product Security102 products fixed

    Red Hat Security Advisory: cups security update

  • RHSA-2024:7623 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: cups-filters security update

  • RHSA-2024:7553 Red Hat Product Security33 products fixed

    Red Hat Security Advisory: cups-filters security update

  • RHSA-2024:7551 Red Hat Product Security10 products fixed

    Red Hat Security Advisory: cups-filters security update

7 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2025:0083 · 88 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2025:0083 · 88 productsSee the security bulletin for a detailed mitigation procedure.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
1 moduleexploit/multi/misc/cups_ipp_remote_code_executionrank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-09-27
  • CNACVSS 3.18.6known since 2026-10-23
  • NVDCVSS 3.19.8read 2026-10-23
  • CNAweakness (CWE)CWE-20known since 2026-10-23
  • FIRST EPSSEPSS score63.6 %read 2026-11-17
  • Metasploit FrameworkMetasploit modules1known since 2026-11-01
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2024-09-26
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2024-47175?

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.

Is CVE-2024-47175 actively exploited?

A proof-of-concept exploit exists for CVE-2024-47175, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-47175?

CVE-2024-47175 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running cups? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record