CVEfocus › CVE database › CVE-2026-39316

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

CVSS 4.0 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-04-07Updated 2026-04-09Assigner: GitHub_M

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.

CWE-416

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
35Fix pending
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04cupsFixed2.4.16-1ubuntu1.2UBUNTU-CVE-2026-39316
Ubuntu 25.10cupsFixed2.4.12-0ubuntu3.9UBUNTU-CVE-2026-39316
Ubuntu 24.04cupsFixed2.4.7-1.2ubuntu7.13UBUNTU-CVE-2026-39316
Ubuntu 22.04cupsFixed2.4.1op1-1ubuntu4.20UBUNTU-CVE-2026-39316
Ubuntu 20.04cupsFix pendingUBUNTU-CVE-2026-39316
Ubuntu 18.04cupsFix pendingUBUNTU-CVE-2026-39316
Ubuntu 16.04cupsFix pendingUBUNTU-CVE-2026-39316
Debian 14cupsFixed2.4.17-1DEBIAN-CVE-2026-39316
Debian 13cupsFix pendingDEBIAN-CVE-2026-39316
Debian 12cupsFix pendingDEBIAN-CVE-2026-39316
Red Hat Enterprise Linux 10cupsFix pending
Fix deferred
Red Hat Enterprise Linux 10cups-clientFix pending
Fix deferred
Red Hat Enterprise Linux 10cups-develFix pending
Fix deferred
Red Hat Enterprise Linux 10cups-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 10cups-ipptoolFix pending
Fix deferred
Red Hat Enterprise Linux 10cups-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10cups-lpdFix pending
Fix deferred
Red Hat Enterprise Linux 10cups-printerappFix pending
Fix deferred
Red Hat Enterprise Linux 9cupsFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-clientFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-develFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-ipptoolFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-lpdFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-printerappFix pending
Fix deferred
Red Hat Enterprise Linux 8cupsFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-clientFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-develFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-ipptoolFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-lpdFix pending
Fix deferred
Red Hat Enterprise Linux 7cupsFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-clientFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-develFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-ipptoolFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-lpdFix pending
Fix deferred
Red Hat Enterprise Linux 6cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-lpdWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-phpWill not fix
Out of support scope
Alpine Linux 3.24cupsFixed2.4.18-r0ALPINE-CVE-2026-39316
Alpine Linux 3.23cupsFixed2.4.18-r0ALPINE-CVE-2026-39316
Alpine Linux 3.22cupsFixed2.4.18-r0ALPINE-CVE-2026-39316
Alpine Linux 3.21cupsFixed2.4.18-r0ALPINE-CVE-2026-39316
Alpine Linux 3.20cupsFixed2.4.18-r0ALPINE-CVE-2026-39316

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.