CVE-2026-39316 Details
Description
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.
A use-after-free vulnerability has been identified in OpenPrinting CUPS versions through 2.4.16. The issue arises in the CUPS scheduler when temporary printers are automatically deleted. The function 'cupsdDeleteTemporaryPrinters()' calls 'cupsdDeletePrinter()' without first expiring related subscriptions, leaving a dangling pointer to freed memory. This pointer is later dereferenced at multiple points, causing a crash of the 'cupsd' daemon. With heap grooming, this vulnerability could be exploited for code execution.
No official patch is available for this vulnerability. However, administrators can add authentication requirements for 'CUPS-Create-Local-Printer' in 'cupsd.conf' to prevent exploitation, though this may disrupt normal localhost printing functionality.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenPrinting/cups/security/advisories/GHSA-pjv5-prqp-46rg | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openprinting cups | <= 2.4.16 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | Initial Analysis | [email protected] |
| Apr 7, 2026 | New CVE Received | [email protected] |