Unauthenticated code execution via injected PPD control record
Published Apr 3, 2026 · Updated Apr 3, 2026
Code injection in CUPS 2.4.16 and earlier allows remote attackers to execute an existing binary as lp through a shared PostScript queue. A newline in the page-border value survives option escaping, becomes a trusted PPD control record, and inserts an attacker-selected cupsFilter2 path. Exploitation requires network access to an anonymously writable shared PostScript queue using the legacy PPD path; a second raw job triggers lp-level execution.
Summary
What happened
Code injection in CUPS 2.4.16 and earlier allows remote attackers to execute an existing binary as lp through a shared PostScript queue. A newline in the page-border value survives option escaping, becomes a trusted PPD control record, and inserts an attacker-selected cupsFilter2 path. Exploitation requires network access to an anonymously writable shared PostScript queue using the legacy PPD path; a second raw job triggers lp-level execution.
The record
- CVE
- CVE-2026-34980
- Published
- Apr 3, 2026
- Updated
- Apr 3, 2026
- Vendor
- OpenPrinting
- Product
- CUPS
- Classifications
- CWE-20, T1210
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 3, 2026CVE publishedPublication date reported by the CVE source.
- Apr 3, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 2.4.16
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GHSA-4852-v58g-6cwf reproduction scriptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo