CVE-2026-34980
OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network
Description
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.
INFO
Published Date :
April 3, 2026, 10:16 p.m.
Last Modified :
July 24, 2026, 9:10 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Restrict access to shared queues.
- Monitor print job submissions.
- Apply vendor patches when available.
Public PoC/Exploit Available at Github
CVE-2026-34980 has a 4 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-34980.
| URL | Resource |
|---|---|
| https://github.com/OpenPrinting/cups/security/advisories/GHSA-4852-v58g-6cwf | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-34980 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-34980
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CVE writeups and vulnerability research
Cathedral-Grade Security for AI Agents. Attack vectors updated daily. Local-first, zero API cost. MIT licensed.
Python
None
Complete printer penetration testing toolkit with 109 commands across PJL, PostScript & PCL. 4 network protocols, automated discovery, file exfiltration, NVRAM access, attack payloads. Modern Python 3.8+ offensive security tool.
printer-security cybersecurity hacking-tools iot-hacking network-security pret printer-exploitation security-tools snmp-scanner pentest-iot printer-pentest
Python PostScript Shell Mermaid PowerShell Roff C Lua
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-34980 vulnerability anywhere in the article.
-
CybersecurityNews
CUPS Vulnerability Chain Enables Remote Attacker to Execute Malicious Code as Root User
A critical vulnerability chain in the Common Unix Printing System (CUPS) that allows unauthenticated remote attackers to execute arbitrary malicious code with root system privileges. Security research ... Read more
The following table lists the changes that have been made to the
CVE-2026-34980 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 24, 2026
Action Type Old Value New Value Added Translation Title: cups de OpenPrinting, Description: OpenPrinting CUPS es un sistema de impresión de código abierto para Linux y otros sistemas operativos tipo Unix. En las versiones 2.4.16 y anteriores, en un cupsd expuesto a la red con una cola de destino compartida, un cliente no autorizado puede enviar un trabajo de impresión (Print-Job) a esa cola PostScript compartida sin autenticación. El servidor acepta un valor de page-border suministrado como textWithoutLanguage, conserva un salto de línea incrustado a través del escape de opciones y el reanálisis, y luego reanaliza el texto PPD: resultante de la segunda línea como un registro de control de programador de confianza. Un trabajo de impresión en bruto de seguimiento puede, por lo tanto, hacer que el servidor ejecute un binario existente elegido por el atacante, como /usr/bin/vim como lp. En el momento de la publicación, no hay parches disponibles públicamente. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'OpenPrinting', 'product': 'cups', 'versions': [{'status': 'affected', 'version': '<= 2.4.16'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-34980', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-04-06T13:12:31.098814Z'} -
Initial Analysis by [email protected]
Apr. 16, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:* versions up to (including) 2.4.16 Added Reference Type GitHub, Inc.: https://github.com/OpenPrinting/cups/security/advisories/GHSA-4852-v58g-6cwf Types: Exploit, Vendor Advisory -
New CVE Received by [email protected]
Apr. 03, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V4.0 AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-20 Added Reference https://github.com/OpenPrinting/cups/security/advisories/GHSA-4852-v58g-6cwf