# CVE-2026-34980: OpenPrinting CUPS remote code execution in shared PostScript queue

Source: https://junglewise.ai/threats/cve-2026-34980-openprinting-cups-remote-code-execution-in-shared-postscript  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-03. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-34980 · Severity: high · CVSS 7.5 · Published 2026-04-03

OpenPrinting CUPS is a widely used open-source printing system for Linux and Unix-like operating systems. A vulnerability in how it handles shared printer queues allows an unauthenticated attacker to remotely execute arbitrary commands on the system. This could lead to a complete system takeover, unauthorized data access, or service disruption, especially when combined with other known flaws.

Technologies: [OpenPrinting Cups](https://junglewise.ai/threats/technologies/cups). Vendors: [OpenPrinting](https://junglewise.ai/threats/vendors/openprinting).

## Quick answers

**Is CVE-2026-34980 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-34980 being exploited in the wild.

**How severe is CVE-2026-34980?** High severity, with a CVSS score of 7.5, published 3 April 2026.

**Which products and versions are affected?** OpenPrinting Cups <= 2.4.16.

**Is there a fix for CVE-2026-34980?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-34980 attacked?** It is attacked over the network, in an operating system.

**Am I affected by CVE-2026-34980?** Check whether you run OpenPrinting Cups at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A vulnerability in OpenPrinting CUPS (versions 2.4.16 and prior) allows an unauthenticated remote attacker to achieve code execution as the 'lp' user. The flaw exists in the cupsd scheduler when a shared PostScript queue is exposed. An attacker can send a Print-Job with a specially crafted 'page-border' value containing an embedded newline. When the server escapes and later reparses this value, it interprets the second line as a trusted 'PPD:' scheduler control record. By injecting a 'cupsFilter2' entry into the queue's PPD file, the attacker can force the server to execute an arbitrary binary during a subsequent raw print job. This can be chained with other vulnerabilities to escalate privileges to root.

## Affected products

- OpenPrinting CUPS <= 2.4.16

## Timeline

- 2026-03-31: advisory: Initial advisory published by OpenPrinting
- 2026-04-03: disclosed: CVE-2026-34980 assigned and published

## References

- [https://github.com/OpenPrinting/cups/security/advisories/GHSA-4852-v58g-6cwf](https://github.com/OpenPrinting/cups/security/advisories/GHSA-4852-v58g-6cwf)

## Related threats

- [OpenPrinting CUPS path traversal in banner processing](https://junglewise.ai/threats/cve-2026-61702-openprinting-cups-is-an-open-source-printing-system-for-linux-and)
- [OpenPrinting CUPS symlink-based file truncation in scheduler](https://junglewise.ai/threats/cve-2026-55480-openprinting-cups-is-an-open-source-printing-system-for-linux-and)
- [CUPS null pointer dereference in IPP job ticket handling](https://junglewise.ai/threats/cve-2026-107655-a-flaw-was-found-in-cups-when-processing-embedded-job-ticket)
- [OpenPrinting CUPS NULL pointer dereference in cupsdCheckJobs](https://junglewise.ai/threats/cve-2026-107888-openprinting-cups-before-2-4-20-contains-a-null-pointer)
- [CUPS scheduler case-insensitive username comparison in ACL validation](https://junglewise.ai/threats/cve-2026-87876-cups-scheduler-case-insensitive-username-comparison-in-acl)
