Use-After-Free Vulnerability in OpenPrinting CUPS Printer System
CVE-2026-39316
4MEDIUM
What is CVE-2026-39316?
OpenPrinting CUPS, an open source printing system for Linux and similar operating systems, is impacted by a use-after-free vulnerability. Specifically, versions 2.4.16 and earlier are susceptible to this flaw, which occurs when temporary printers are deleted automatically. The function cupsdDeleteTemporaryPrinters() calls cupsdDeletePrinter() without expiring subscriptions that reference the printer, resulting in a dangling pointer to freed heap memory. This vulnerability can be exploited to cause a crash of the CUPS daemon, leading to a denial of service. Moreover, with advanced techniques like heap grooming, attackers may leverage this flaw for arbitrary code execution.
Affected Version(s)
cups <= 2.4.16
