{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58364 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-58364 is a medium-severity vulnerability in OpenPrinting cups, published on 11 Sep 2025. 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-2025-58364 and fix it if it is affected.\n\nWhat it is: CVE-2025-58364 is a medium-severity vulnerability in OpenPrinting cups, published on 11 Sep 2025. 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-2025-58364 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-2025-58364/ (Markdown: https://insights.sbomify.com/CVE-2025-58364/index.md)","id":"CVE-2025-58364","markdown":"https://insights.sbomify.com/CVE-2025-58364/index.md","name":"CVE-2025-58364","record":{"aliases":["ALPINE-CVE-2025-58364","ALSA-2025:22063","AZL-67133","AZL-67136","BELL-CVE-2025-58364","CLSA-2025-1759409921","CLSA-2025-1759410214","CLSA-2025-1760984077","CLSA-2025-1765463952","CLSA-2025-1765476676","CLSA-2025-1765477018","DEBIAN-CVE-2025-58364","GHSA-7qx3-r744-6qv4","RHSA-2025:22063","RLSA-2025:22063","UBUNTU-CVE-2025-58364"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CUPS printing system","requires_auth":"none","summary":"Remote attackers can crash CUPS services via null dereference in printer attribute validation, affecting default local network configurations.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cups","vendor":"openprinting"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"},{"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.12 and earlier, an unsafe deserialization and validation of printer attributes causes null dereference in the libcups library. This is a remote DoS vulnerability available in local subnet in default configurations. It can cause the cups \u0026 cups-browsed to crash, on all the machines in local network who are listening for printers (so by default for all regular linux machines). On systems where the vulnerability CVE-2024-47176 (cups-filters 1.x/cups-browsed 2.x vulnerability) was not fixed, and the firewall on the machine does not reject incoming communication to IPP port, and the machine is set to be available to public internet, attack vector \"Network\" is possible. The current versions of CUPS and cups-browsed projects have the attack vector \"Adjacent\" in their default configurations. Version 2.4.13 contains a patch for CVE-2025-58364.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Rocky Linux:8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"cups: Remote DoS via null dereference","id":"CVE-2025-58364","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2025"},"n_packages":28,"n_references":2,"next":{"headline":"XWiki Blog Application: Privilege Escalation (PR) from account through blog content","id":"CVE-2025-58365"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/almalinux/cups","source":"ALSA-2025:22063"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-client","purl":"pkg:rpm/almalinux/cups-client","source":"ALSA-2025:22063"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/almalinux/cups-devel","source":"ALSA-2025:22063"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-filesystem","purl":"pkg:rpm/almalinux/cups-filesystem","source":"ALSA-2025:22063"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-ipptool","purl":"pkg:rpm/almalinux/cups-ipptool","source":"ALSA-2025:22063"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/almalinux/cups-libs","source":"ALSA-2025:22063"},{"ecosystem":"AlmaLinux:8","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-lpd","purl":"pkg:rpm/almalinux/cups-lpd","source":"ALSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-client","purl":"pkg:rpm/redhat/cups-client","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-client-debuginfo","purl":"pkg:rpm/redhat/cups-client-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-debuginfo","purl":"pkg:rpm/redhat/cups-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-debugsource","purl":"pkg:rpm/redhat/cups-debugsource","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-devel","purl":"pkg:rpm/redhat/cups-devel","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-filesystem","purl":"pkg:rpm/redhat/cups-filesystem","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-ipptool","purl":"pkg:rpm/redhat/cups-ipptool","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-ipptool-debuginfo","purl":"pkg:rpm/redhat/cups-ipptool-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-libs-debuginfo","purl":"pkg:rpm/redhat/cups-libs-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-lpd","purl":"pkg:rpm/redhat/cups-lpd","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-lpd-debuginfo","purl":"pkg:rpm/redhat/cups-lpd-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/redhat/cups","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-client-debuginfo","purl":"pkg:rpm/redhat/cups-client-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-debuginfo","purl":"pkg:rpm/redhat/cups-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-debugsource","purl":"pkg:rpm/redhat/cups-debugsource","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-ipptool-debuginfo","purl":"pkg:rpm/redhat/cups-ipptool-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-libs","purl":"pkg:rpm/redhat/cups-libs","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-libs-debuginfo","purl":"pkg:rpm/redhat/cups-libs-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups-lpd-debuginfo","purl":"pkg:rpm/redhat/cups-lpd-debuginfo","source":"RHSA-2025:22063"},{"ecosystem":"Rocky Linux:8","fixed":["1:2.2.6-64.el8_10"],"introduced":["0"],"last_affected":[],"package":"cups","purl":"pkg:rpm/rocky-linux/cups?distro=rocky-linux-8\u0026epoch=1","source":"RLSA-2025:22063"}],"prev":{"headline":"Hono contains a flaw in URL path parsing, potentially leading to path confusion","id":"CVE-2025-58362"},"products":["cups"],"published":"2025-09-11","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.1,"headline":"OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network","id":"CVE-2026-34980","kev_date_added":null,"published":"2026-04-03"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["OpenPrinting"]},"summary":"Remote attackers can crash CUPS services via null dereference in printer attribute validation, affecting default local network configurations.","url":"https://insights.sbomify.com/CVE-2025-58364/"}