CVE Catalog

CVE-2026-39316

MediumCVSS 4.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

OpenPrinting CUPS versions 2.4.16 and prior contain a use-after-free vulnerability in the cupsd scheduler when temporary printers are automatically deleted. cupsdDeleteTemporaryPrinters() calls cupsdDeletePrinter() without first expiring subscriptions referencing the printer, leaving a dangling pointer that is later dereferenced.

Risk Assessment

This can cause a crash (denial of service) of the cupsd daemon and, with heap grooming, potentially enable code execution. It affects printing service availability.

Recommendation

Update CUPS to a version newer than 2.4.16 containing the fix. Restrict access to the cupsd service and monitor for unusual crashes.

Other vulnerabilities in OpenPrinting CUPS

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS