CVE-2026-34980
JSON

6.1medium

OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network

Severity
6.1medium CVSS:4.0 by GitHub_M
Exploit likelihood
1.59% (higher than 76% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
OpenPrinting cups<= 2.4.16, up to 2.4.16CVE List, NVD

All scores

GitHub_M6.1medium CVSS:4.0CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34980 changed 2026-04-06CVE Terms of Use
NVDCVE-2026-34980 changed 2026-07-24Public domain