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 package | Versions | Reported by |
|---|---|---|
| OpenPrinting cups | <= 2.4.16, up to 2.4.16 | CVE List, NVD |
All scores
| GitHub_M | 6.1medium CVSS:4.0 | CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| https://github.com/OpenPrinting/cups/security/advisories/GHSA-4852-v58g-6cwf | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34980 changed 2026-04-06 | CVE Terms of Use |
| NVD | CVE-2026-34980 changed 2026-07-24 | Public domain |