Use After Free in Openprinting Cups
CVE-2026-39316
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.002 (7.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 7th percentile — 7.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Openprinting Cups — versions <= 2.4.16
Weakness classification (CWE)
References
- github.com/OpenPrinting/cups/security/advisories/GHSA-pjv5-prqp-46rg (Exploit, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-39316?
- CVE-2026-39316 is a medium-severity vulnerability in Openprinting Cups, classified under Use After Free. CVSS score: 4.0/10. Published 2026-04-07.
- How severe is CVE-2026-39316?
- Medium severity. CVSS v3 base score is 4.0 out of 10.