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

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

- **Severity:** Medium 6.1 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Apr 2026
- **Updated:** 6 Apr 2026
- **Also known as:** ALPINE-CVE-2026-34980, ALSA-2026:36733, ALSA-2026:39302, ALSA-2026:39316, AZL-81816, BELL-CVE-2026-34980, CLSA-2026-1776788057, CLSA-2026-1777022893, CLSA-2026-1777026478, CLSA-2026-1777030799, CLSA-2026-1777042487, CLSA-2026-1777392623, CLSA-2026-1777392877, CLSA-2026-1777393200, CLSA-2026-1777480298, CLSA-2026-1777480368, CLSA-2026-1777481673, CLSA-2026-1777541087, DEBIAN-CVE-2026-34980, ECHO-cfca-06f8-1e75, GHSA-4852-v58g-6cwf, RHSA-2026:36733, RHSA-2026:39302, RHSA-2026:39316, RLSA-2026:36733, RLSA-2026:39302, RLSA-2026:39316, ROOT-OS-DEBIAN-12-CVE-2026-34980, ROOT-OS-DEBIAN-13-CVE-2026-34980, UBUNTU-CVE-2026-34980, USN-8578-1

## 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 (Improper Input Validation)

## Which versions are affected by CVE-2026-34980?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `cups` | AlmaLinux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups-client` | AlmaLinux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups-devel` | AlmaLinux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups-filesystem` | AlmaLinux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups-ipptool` | AlmaLinux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups-libs` | AlmaLinux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups-lpd` | AlmaLinux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups-printerapp` | AlmaLinux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups` | AlmaLinux:8 | All versions | 1:2.2.6-68.el8_10 |
| `cups-client` | AlmaLinux:8 | All versions | 1:2.2.6-68.el8_10 |
| `cups-devel` | AlmaLinux:8 | All versions | 1:2.2.6-68.el8_10 |
| `cups-filesystem` | AlmaLinux:8 | All versions | 1:2.2.6-68.el8_10 |
| `cups-ipptool` | AlmaLinux:8 | All versions | 1:2.2.6-68.el8_10 |
| `cups-libs` | AlmaLinux:8 | All versions | 1:2.2.6-68.el8_10 |
| `cups-lpd` | AlmaLinux:8 | All versions | 1:2.2.6-68.el8_10 |
| `cups` | AlmaLinux:9 | All versions | 1:2.3.3op2-39.el9_8 |
| `cups-client` | AlmaLinux:9 | All versions | 1:2.3.3op2-39.el9_8 |
| `cups-devel` | AlmaLinux:9 | All versions | 1:2.3.3op2-39.el9_8 |
| `cups-filesystem` | AlmaLinux:9 | All versions | 1:2.3.3op2-39.el9_8 |
| `cups-ipptool` | AlmaLinux:9 | All versions | 1:2.3.3op2-39.el9_8 |
| `cups-libs` | AlmaLinux:9 | All versions | 1:2.3.3op2-39.el9_8 |
| `cups-lpd` | AlmaLinux:9 | All versions | 1:2.3.3op2-39.el9_8 |
| `cups-printerapp` | AlmaLinux:9 | All versions | 1:2.3.3op2-39.el9_8 |
| `cups` | Red Hat:enterprise_linux:10.2 | All versions | 1:2.4.10-18.el10_2 |
| `cups` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-68.el8_10 |
| `cups` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-68.el8_10 |
| `cups` | Red Hat:enterprise_linux:9::appstream | All versions | 1:2.3.3op2-39.el9_8 |
| `cups` | Red Hat:enterprise_linux:9::baseos | All versions | 1:2.3.3op2-39.el9_8 |
| `cups` | Rocky Linux:10 | All versions | 1:2.4.10-18.el10_2 |
| `cups` | Rocky Linux:8 | All versions | 1:2.2.6-68.el8_10 |
| `cups` | Rocky Linux:9 | All versions | 1:2.3.3op2-39.el9_8 |

Products: Openprinting Cups.

## How do I fix CVE-2026-34980?

No fix published yet.

## 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:

- CVE-2026-34980 - Draft or Todo (github_poc): https://github.com/HORKimhab/CVE-2026-34980

## Other vulnerabilities in OpenPrinting cups

- [CVE-2025-58060](https://insights.sbomify.com/CVE-2025-58060/): cups has Authentication bypass with AuthType Negotiate (high 8.0)
- [CVE-2026-34978](https://insights.sbomify.com/CVE-2026-34978/): Path traversal in cups (medium 6.5)
- [CVE-2025-58364](https://insights.sbomify.com/CVE-2025-58364/): cups: Remote DoS via null dereference (medium 6.5)
- [CVE-2025-61915](https://insights.sbomify.com/CVE-2025-61915/): OpenPrinting CUPS vulnerable to stack based out-of-bound write (medium 6.0)
- [CVE-2026-55480](https://insights.sbomify.com/CVE-2026-55480/): CUPS copy_model() creates a predictable PPD tempfile without O_EXCL/O_NOFOLLOW (symlink TOCTOU, lp → root) (medium 5.7)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-34980 and fix it if it is affected.

What it is: 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.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34980 exists.

Affected product: OpenPrinting cups. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-34980/ (Markdown: https://insights.sbomify.com/CVE-2026-34980/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-34980
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-34980
- OSV: https://osv.dev/vulnerability/CVE-2026-34980

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-34980/
Summaries are generated and may contain mistakes; the official description above is the record.
