CUPS has a use-after-free in `cupsdDeleteTemporaryPrinters` via dangling subscription pointer
CVE-2026-39316 is fixed in 26 products on 1 platform, first by DEBIAN-CVE-2026-39316, released April 7, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cups · Debian 14 | 2.4.17-1 | DEBIAN-CVE-2026-39316 | Apr 7, 2026 |
| cups · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| cups · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups · sles 15.7 | 2.2.7-150000.3.93.1 | SUSE-SU-2026:2732-1 | Jul 2, 2026 |
| cups-bsd · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups-bsd 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups-bsd · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups-bsd 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups-bsd · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups-bsd 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups-bsd · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups-bsd 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| cups-client · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups-client 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups-client · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups-client 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups-client · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups-client 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups-client · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups-client 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| cups-client · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-client-debuginfo · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-common · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups-common 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups-common · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups-common 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups-common · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups-common 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups-common · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups-common 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| cups-core-drivers · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups-core-drivers 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups-core-drivers · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups-core-drivers 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups-core-drivers · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups-core-drivers 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups-core-drivers · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups-core-drivers 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| cups-daemon · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups-daemon 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups-daemon · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups-daemon 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups-daemon · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups-daemon 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups-daemon · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups-daemon 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| cups-debuginfo · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-debugsource · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-devel · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-filesystem · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-ipp-utils · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups-ipp-utils 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups-ipp-utils · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups-ipp-utils 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups-ipp-utils · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups-ipp-utils 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups-ipp-utils · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups-ipp-utils 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| cups-ipptool · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-ipptool-debuginfo · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-libs · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-libs-debuginfo · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-lpd · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-lpd-debuginfo · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-ppdc · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups-ppdc 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups-ppdc · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups-ppdc 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups-ppdc · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups-ppdc 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups-ppdc · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups-ppdc 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| cups-printerapp · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-printerapp-debuginfo · amzn 2023 | 1:2.4.16-1.amzn2023.0.3 | ALAS2023-2026-1635 | Apr 27, 2026 |
| cups-server-common · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | cups-server-common 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| cups-server-common · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | cups-server-common 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| cups-server-common · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | cups-server-common 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| cups-server-common · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | cups-server-common 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| libcups2 · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | libcups2 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| libcups2t64 · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | libcups2t64 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| libcups2t64 · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | libcups2t64 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| libcups2t64 · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | libcups2t64 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
| libcupsimage2 · Ubuntu 22.04.1 LTS (jammy) | 2.4.1op1-1ubuntu4.20 | libcupsimage2 2.4.1op1-1ubuntu4.20 | Apr 24, 2026 |
| libcupsimage2t64 · Ubuntu 24.04.5 LTS (noble) | 2.4.7-1.2ubuntu7.13 | libcupsimage2t64 2.4.7-1.2ubuntu7.13 | Apr 24, 2026 |
| libcupsimage2t64 · Ubuntu 25.10 (questing) | 2.4.12-0ubuntu3.9 | libcupsimage2t64 2.4.12-0ubuntu3.9 | Apr 24, 2026 |
| libcupsimage2t64 · Ubuntu 26.04.1 LTS (resolute) | 2.4.16-1ubuntu1.2 | libcupsimage2t64 2.4.16-1ubuntu1.2 | Apr 24, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.