{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39314 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-39314 is a medium-severity vulnerability in OpenPrinting cups, published on 7 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-39314 and fix it if it is affected.\n\nWhat it is: CVE-2026-39314 is a medium-severity vulnerability in OpenPrinting cups, published on 7 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-39314 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-39314/ (Markdown: https://insights.sbomify.com/CVE-2026-39314/index.md)","id":"CVE-2026-39314","markdown":"https://insights.sbomify.com/CVE-2026-39314/index.md","name":"CVE-2026-39314","record":{"aliases":["ALPINE-CVE-2026-39314","AZL-81938","BELL-CVE-2026-39314","DEBIAN-CVE-2026-39314","ECHO-b289-5966-d14f","GHSA-pp8w-2g52-7vj7","ROOT-OS-DEBIAN-12-CVE-2026-39314","ROOT-OS-DEBIAN-13-CVE-2026-39314","UBUNTU-CVE-2026-39314"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CUPS printing system","requires_auth":"none","summary":"An unprivileged local user can crash the root CUPS daemon via an integer underflow, causing sustained denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cups","vendor":"openprinting"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"description":"OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, an integer underflow vulnerability in _ppdCreateFromIPP() (cups/ppd-cache.c) allows any unprivileged local user to crash the cupsd root process by supplying a negative job-password-supported IPP attribute. The bounds check only caps the upper bound, so a negative value passes validation, is cast to size_t (wrapping to ~2^64), and is used as the length argument to memset() on a 33-byte stack buffer. This causes an immediate SIGSEGV in the cupsd root process. Combined with systemd's Restart=on-failure, an attacker can repeat the crash for sustained denial of service.","ecosystems":[],"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 has an integer underflow in `_ppdCreateFromIPP` causes root cupsd crash via negative `job-password-supported`","id":"CVE-2026-39314","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Unhead has a hasDangerousProtocol() bypass via leading-zero padded HTML entities in useHeadSafe()","id":"CVE-2026-39315"},"packages":[],"prev":{"headline":"MCP-Framework: Unbounded memory allocation in readRequestBody allows denial of service via HTTP transport","id":"CVE-2026-39313"},"products":["cups"],"published":"2026-04-07","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.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":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2026-06-23","vendors":["OpenPrinting"]},"summary":"An unprivileged local user can crash the root CUPS daemon via an integer underflow, causing sustained denial of service.","url":"https://insights.sbomify.com/CVE-2026-39314/"}