CVE-2026-34980: OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, in a network-exposed cupsd with a shared target queue, an unauthorized client can send a Print-Job to that shared PostScript queue without authentication. The server accepts a page-border value supplied as textWithoutLanguage, preserves an embedded newline through option escaping and reparse, and then reparses the resulting second-line PPD: text as a trusted scheduler control record. A follow-up raw print job can therefore make the server execute an attacker-chosen existing binary such as /usr/bin/vim as lp. At time of publication, there are no publicly available patches.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-34980?
CVE-2026-34980 is classified as a high severity vulnerability due to its potential for remote code execution.
How do I fix CVE-2026-34980?
To fix CVE-2026-34980, upgrade OpenPrinting CUPS to version 2.4.17 or later.
What versions of OpenPrinting CUPS are affected by CVE-2026-34980?
OpenPrinting CUPS versions 2.4.16 and prior are affected by CVE-2026-34980.
What kind of attacks can exploit CVE-2026-34980?
CVE-2026-34980 can be exploited to execute arbitrary code on the server by sending crafted print job requests.
Is anonymous access to print queues safe in OpenPrinting CUPS?
No, anonymous access to shared PostScript print queues in OpenPrinting CUPS is unsafe and can lead to unauthorized code execution.