{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34980 exists.","fix":"No fix published yet.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-34980 and fix it if it is affected.\n\nWhat 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34980 exists.\n\nAffected product: OpenPrinting cups. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. 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.\n2. 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.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34980/ (Markdown: https://insights.sbomify.com/CVE-2026-34980/index.md)","id":"CVE-2026-34980","markdown":"https://insights.sbomify.com/CVE-2026-34980/index.md","name":"CVE-2026-34980","record":{"aliases":["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"],"analysis":{"component_type":"server_software","fix_type":"no_fix_stated","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"CUPS printing server","requires_auth":"none","summary":"An attacker can execute arbitrary binaries as the lp user by sending crafted print jobs to a shared PostScript queue in CUPS.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cups","vendor":"openprinting"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":"2026-08-06","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-06T04:45:52Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2026-34980","stars":0,"title":"CVE-2026-34980 - Draft or Todo"}],"tier":"weaponised"},"has_fix":true,"headline":"OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network","id":"CVE-2026-34980","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":31,"n_references":1,"next":{"headline":"whisperX REST API: SSRF in download_from_url() — URL validation happens after HTTP request, extension bypass via .mp3","id":"CVE-2026-34981"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/almalinux/cups","source":"ALSA-2026:39302"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups-client","purl":"pkg:rpm/almalinux/cups-client","source":"ALSA-2026:39302"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/almalinux/cups-devel","source":"ALSA-2026:39302"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups-filesystem","purl":"pkg:rpm/almalinux/cups-filesystem","source":"ALSA-2026:39302"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups-ipptool","purl":"pkg:rpm/almalinux/cups-ipptool","source":"ALSA-2026:39302"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/almalinux/cups-libs","source":"ALSA-2026:39302"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups-lpd","purl":"pkg:rpm/almalinux/cups-lpd","source":"ALSA-2026:39302"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups-printerapp","purl":"pkg:rpm/almalinux/cups-printerapp","source":"ALSA-2026:39302"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/almalinux/cups","source":"ALSA-2026:36733"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-client","purl":"pkg:rpm/almalinux/cups-client","source":"ALSA-2026:36733"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/almalinux/cups-devel","source":"ALSA-2026:36733"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-filesystem","purl":"pkg:rpm/almalinux/cups-filesystem","source":"ALSA-2026:36733"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-ipptool","purl":"pkg:rpm/almalinux/cups-ipptool","source":"ALSA-2026:36733"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/almalinux/cups-libs","source":"ALSA-2026:36733"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-lpd","purl":"pkg:rpm/almalinux/cups-lpd","source":"ALSA-2026:36733"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/almalinux/cups","source":"ALSA-2026:39316"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups-client","purl":"pkg:rpm/almalinux/cups-client","source":"ALSA-2026:39316"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/almalinux/cups-devel","source":"ALSA-2026:39316"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups-filesystem","purl":"pkg:rpm/almalinux/cups-filesystem","source":"ALSA-2026:39316"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups-ipptool","purl":"pkg:rpm/almalinux/cups-ipptool","source":"ALSA-2026:39316"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/almalinux/cups-libs","source":"ALSA-2026:39316"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups-lpd","purl":"pkg:rpm/almalinux/cups-lpd","source":"ALSA-2026:39316"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups-printerapp","purl":"pkg:rpm/almalinux/cups-printerapp","source":"ALSA-2026:39316"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2026:39302"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2026:36733"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2026:36733"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2026:39316"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2026:39316"},{"ecosystem":"Rocky Linux:10","fixed":["1:2.4.10-18.el10_2"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/rocky-linux/cups?distro=rocky-linux-10\u0026epoch=1","source":"RLSA-2026:39302"},{"ecosystem":"Rocky Linux:8","fixed":["1:2.2.6-68.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/rocky-linux/cups?distro=rocky-linux-8\u0026epoch=1","source":"RLSA-2026:36733"},{"ecosystem":"Rocky Linux:9","fixed":["1:2.3.3op2-39.el9_8"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/rocky-linux/cups?distro=rocky-linux-9\u0026epoch=1","source":"RLSA-2026:39316"}],"prev":{"headline":"OpenPrinting CUPS: Heap overflow in `get_options()`","id":"CVE-2026-34979"},"products":["cups"],"published":"2026-04-03","related":[{"cvss_score":8,"headline":"cups has Authentication bypass with AuthType Negotiate","id":"CVE-2025-58060","kev_date_added":null,"published":"2025-09-11"},{"cvss_score":6.5,"headline":"Path traversal in cups","id":"CVE-2026-34978","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":6.5,"headline":"cups: Remote DoS via null dereference","id":"CVE-2025-58364","kev_date_added":null,"published":"2025-09-11"},{"cvss_score":6,"headline":"OpenPrinting CUPS vulnerable to stack based out-of-bound write","id":"CVE-2025-61915","kev_date_added":null,"published":"2025-11-29"},{"cvss_score":5.7,"headline":"CUPS copy_model() creates a predictable PPD tempfile without O_EXCL/O_NOFOLLOW (symlink TOCTOU, lp → root)","id":"CVE-2026-55480","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":5.3,"headline":"OpenPrinting CUPS: root-side banner file disclosure","id":"CVE-2026-61702","kev_date_added":null,"published":"2026-10-15"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-06","vendors":["OpenPrinting"]},"summary":"An attacker can execute arbitrary binaries as the lp user by sending crafted print jobs to a shared PostScript queue in CUPS.","url":"https://insights.sbomify.com/CVE-2026-34980/"}