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

Medium 6.1 Published Updated

An attacker can execute arbitrary binaries as the lp user by sending crafted print jobs to a shared PostScript queue in CUPS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-34980?

CVE-2026-34980 is a medium-severity command injection vulnerability in OpenPrinting cups, published on 3 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2026-34980?

It affects 1 product.

Linux distribution packages (31)
cups AlmaLinux:10All versions1:2.4.10-18.el10_2
cups-client AlmaLinux:10All versions1:2.4.10-18.el10_2
cups-devel AlmaLinux:10All versions1:2.4.10-18.el10_2
cups-filesystem AlmaLinux:10All versions1:2.4.10-18.el10_2
cups-ipptool AlmaLinux:10All versions1:2.4.10-18.el10_2
cups-libs AlmaLinux:10All versions1:2.4.10-18.el10_2
cups-lpd AlmaLinux:10All versions1:2.4.10-18.el10_2
cups-printerapp AlmaLinux:10All versions1:2.4.10-18.el10_2
cups AlmaLinux:8All versions1:2.2.6-68.el8_10
cups-client AlmaLinux:8All versions1:2.2.6-68.el8_10
cups-devel AlmaLinux:8All versions1:2.2.6-68.el8_10
cups-filesystem AlmaLinux:8All versions1:2.2.6-68.el8_10
cups-ipptool AlmaLinux:8All versions1:2.2.6-68.el8_10
cups-libs AlmaLinux:8All versions1:2.2.6-68.el8_10
cups-lpd AlmaLinux:8All versions1:2.2.6-68.el8_10
cups AlmaLinux:9All versions1:2.3.3op2-39.el9_8
cups-client AlmaLinux:9All versions1:2.3.3op2-39.el9_8
cups-devel AlmaLinux:9All versions1:2.3.3op2-39.el9_8
cups-filesystem AlmaLinux:9All versions1:2.3.3op2-39.el9_8
cups-ipptool AlmaLinux:9All versions1:2.3.3op2-39.el9_8
cups-libs AlmaLinux:9All versions1:2.3.3op2-39.el9_8
cups-lpd AlmaLinux:9All versions1:2.3.3op2-39.el9_8
cups-printerapp AlmaLinux:9All versions1:2.3.3op2-39.el9_8
cups Red Hat:enterprise_linux:10.2All versions1:2.4.10-18.el10_2
cups Red Hat:enterprise_linux:8::appstreamAll versions1:2.2.6-68.el8_10
cups Red Hat:enterprise_linux:8::baseosAll versions1:2.2.6-68.el8_10
cups Red Hat:enterprise_linux:9::appstreamAll versions1:2.3.3op2-39.el9_8
cups Red Hat:enterprise_linux:9::baseosAll versions1:2.3.3op2-39.el9_8
cups Rocky Linux:10All versions1:2.4.10-18.el10_2
cups Rocky Linux:8All versions1:2.2.6-68.el8_10
cups Rocky Linux:9All versions1:2.3.3op2-39.el9_8

Products include Openprinting Cups.

How do I fix CVE-2026-34980?

No fix published yet.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-34980 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34980 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as ALPINE-CVE-2026-34980, ALSA-2026:36733, ALSA-2026:39302, ALSA-2026:39316, AZL-81816, BELL-CVE-2026-34980 and 25 more.

Is CVE-2026-34980 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free