CVE-2026-39316: CUPS has a use-after-free in `cupsdDeleteTemporaryPrinters` via dangling subscription pointer

Published Apr 7, 2026
·
Updated

CUPS has a use-after-free in cupsdDeleteTemporaryPrinters via dangling subscription pointer

Other sources

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 cupsdsubscriptiont.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.

MITRE

Affected Software

4 affected componentsFixes available
OpenPrinting CUPS<=2.4.16
OpenPrinting CUPS<=2.4.16
Microsoft azl3 cups 2.4.16-1
debian/cups<=2.3.3op2-3+deb11u8, <=2.3.3op2-3+deb11u10, <=2.4.2-3+deb12u9, <=2.4.10-3+deb13u2, <=2.4.10-3+deb13u1
2.4.18-1

Event History

Apr 7, 2026
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software
Apr 9, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Jun 8, 2026
Data Sourced
via Debian·05:05 PM
DescriptionAffected Software
Data Sourced
via Launchpad·05:05 PM
Description
Jun 9, 2026
Data Sourced
via Ubuntu·05:05 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-39316?

CVE-2026-39316 is classified as a critical severity vulnerability due to its potential for exploitation.

2

How does CVE-2026-39316 affect CUPS?

CVE-2026-39316 affects CUPS versions 2.4.16 and earlier, leading to a use-after-free condition that can be exploited.

3

How do I fix CVE-2026-39316?

To fix CVE-2026-39316, upgrade to a version of CUPS newer than 2.4.16 that addresses this vulnerability.

4

What are the potential consequences of exploiting CVE-2026-39316?

Exploitation of CVE-2026-39316 could allow an attacker to execute arbitrary code or crash the CUPS scheduler.

5

Is my system vulnerable to CVE-2026-39316?

If you are running CUPS version 2.4.16 or earlier, your system is vulnerable to CVE-2026-39316.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203