CVE-2026-39316
MEDIUMCUPS <=2.4.16 cupsdDeleteTemporaryPrinters - Use-After-Free
Title source: manualDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/OpenPrinting/cups/security/advisories/GHSA-pjv5-prqp-46rg
Scores
CVSS v3
4.0
EPSS
0.0018
EPSS Percentile
7.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-416
Status
published
Products (2)
openprinting/cups
< 2.4.16
OpenPrinting/cups
<= 2.4.16
Published
Apr 07, 2026
Tracked Since
Apr 07, 2026