{"id":"CVE-2026-39316","published":"2026-04-07T17:00:26Z","modified":"2026-04-09T15:42:40Z","title":"CUPS has a use-after-free in `cupsdDeleteTemporaryPrinters` via dangling subscription pointer","vendor":"OpenPrinting","product":"cups","tier":"tail","description":{"text":"OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a use-after-free vulnerability exists in the CUPS scheduler (cupsd) when temporary printers are automatically deleted. cupsdDeleteTemporaryPrinters() in scheduler/printers.c calls cupsdDeletePrinter() without first expiring subscriptions that reference the printer, leaving cupsd_subscription_t.dest as a dangling pointer to freed heap memory. The dangling pointer is subsequently dereferenced at multiple code sites, causing a crash (denial of service) of the cupsd daemon. With heap grooming, this can be leveraged for code execution.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00193,"percentile":0.05183,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/OpenPrinting/cups/security/advisories/GHSA-pjv5-prqp-46rg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":1.04},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"openprinting","affectedVersions":[{"vendor":"OpenPrinting","product":"cups","versions":["<= 2.4.16"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-09T15:41:44.005836Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-19806","exploited":false,"provenance":"source"}}