CVE-2024-47076: IPP Attribute Injection in libcupsfilters cfGetPrinterAttributes5
- Vendor
- Openprinting
CVE-2024-47076 is an improper input-validation vulnerability in libcupsfilters, a library used by CUPS Printer Applications for print-data conversion. The cfGetPrinterAttributes5 function fails to sanitize IPP attributes returned by an IPP server. Attacker-controlled attributes can consequently be passed to other CUPS components, including code that generates PPD files. The flaw affects libcupsfilters through version 2.1b1.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The vulnerability permits malicious IPP-server data to be injected into the CUPS processing path. In the disclosed CUPS attack chain, injected attributes can be incorporated into a PPD file and subsequently used to cause attacker-supplied commands to execute when a print job is sent to the maliciously registered printer. Command execution in that chain is generally under the unprivileged lp account.
Mitigation
If you can’t patch tonight, do this now.
Where printer auto-discovery is unnecessary, disable or remove cups-browsed. Restrict exposure of UDP port 631 and untrusted DNS-SD, mDNS, and Zeroconf traffic. On systems where cups-browsed is required, restrict remote browsing by configuring BrowseRemoteProtocols to exclude cups or to none, as appropriate for the environment, and restart the service. Constrain the lp account using mandatory-access-control and network policies to reduce post-exploitation impact.
Remediation
Patch, then assume compromise.
Update libcupsfilters and the related CUPS packages using vendor or distribution security updates. Fixes were issued for supported Red Hat Enterprise Linux 7, 8, and 9 streams, and security advisories and patches were released by major Linux distributions including SUSE, Debian, Red Hat, and Ubuntu.
Exploits
2 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-47076 exploited in the wild?
- Yes. As of Oct 1, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-47076?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2024-47076, the earliest disclosed Sep 26, 2024.
- Is there a patch for CVE-2024-47076?
- Update libcupsfilters and the related CUPS packages using vendor or distribution security updates. Fixes were issued for supported Red Hat Enterprise Linux 7, 8, and 9 streams, and security advisories and patches were released by major Linux distributions including SUSE, Debian, Red Hat, and Ubuntu.
- What products are affected by CVE-2024-47076?
- Openprinting Libcupsfilters.
- How severe is CVE-2024-47076?
- CVE-2024-47076 has a CVSS v3.1 score of 8.6 (High) and an EPSS score of 79.9% (100th percentile) as of Oct 1, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.