CVE-2026-39316

Publication date 7 April 2026

Last updated 8 June 2026


Ubuntu priority

Cvss 3 Severity Score

4.0 · Medium

Score breakdown

Description

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.

Status

Package Ubuntu Release Status
cups 26.04 LTS resolute
Fixed 2.4.16-1ubuntu1.2
25.10 questing
Fixed 2.4.12-0ubuntu3.9
24.04 LTS noble
Fixed 2.4.7-1.2ubuntu7.13
22.04 LTS jammy
Fixed 2.4.1op1-1ubuntu4.20
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
cups

Severity score breakdown

Parameter Value
Base score 4.0 · Medium
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact Low
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities