Advisory

UBUNTU-CVE-2026-39316

Also known as: CVE-2026-39316

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2026-04-07 17:16 UTC
Modified
2026-07-21 18:31 UTC

Affected packages and fixes

cups

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.4.1op1-1ubuntu4.20 (ecosystem)

Fixed versions

2.4.1op1-1ubuntu4.20

Fix

  • Fixed version 2.4.1op1-1ubuntu4.20
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cups

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.4.7-1.2ubuntu7.13 (ecosystem)

Fixed versions

2.4.7-1.2ubuntu7.13

Fix

  • Fixed version 2.4.7-1.2ubuntu7.13
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cups

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 2.4.12-0ubuntu3.9 (ecosystem)

Fixed versions

2.4.12-0ubuntu3.9

Fix

  • Fixed version 2.4.12-0ubuntu3.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cups

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.4.16-1ubuntu1.2 (ecosystem)

Fixed versions

2.4.16-1ubuntu1.2

Fix

  • Fixed version 2.4.16-1ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences