CVE-2026-34980

HIGH LAB

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

Title source: cna
STIX 2.1

Exploitation 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)

github WORKING POC 3 stars
by exploitintel · cpoc
https://github.com/exploitintel/eip-pocs-and-cves/tree/main/CVE-2026-34980

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.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenPrinting CUPS <= 2.4.16
No auth needed
Prerequisites: adjacent network access to CUPS server · shared PostScript printer queue
devstral-2 · analyzed Apr 07, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.0004
EPSS Percentile 11.2%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Lab Environment

EIP LAB
Docker Lab
vulnerable docker pull ghcr.io/exploitintel/cve-2026-34980-vulnerable:latest

Details

CWE
CWE-20
Status published
Products (2)
openprinting/cups < 2.4.16
OpenPrinting/cups <= 2.4.16
Published Apr 03, 2026
Tracked Since Apr 04, 2026