OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-34980. PoCs published by exploitintel.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-34980, an unauthenticated RCE vulnerability in CUPS <= 2.4.16 via PostScript PPD injection. The PoC demonstrates Phase 1 of the attack chain, achieving code execution as the 'lp' user.
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.
Exploits (1)
This repository contains a functional exploit for CVE-2026-34980, an unauthenticated RCE vulnerability in CUPS <= 2.4.16 via PostScript PPD injection. The PoC demonstrates Phase 1 of the attack chain, achieving code execution as the 'lp' user.
References (1)
Scores
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H