Skip to main content
VulnerabilityPublished Updated

CVE-2026-39316: In versions 2.4.16 and prior, a use-after-free vulnerability exists in the CUPS scheduler (cupsd)

Affects cupsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-39316· Medium 4.0

Not known to be exploited · CVSS 4.0 Medium · fixed in 2.4.1op1-1ubuntu4.20 : update cups when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
4.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.4.1op1-1ubuntu4.20, 2.4.7-1.2ubuntu7.13, 2.4.12-0ubuntu3.9 +1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=resoluteOther threatsAffected
  • <2.4.16-1ubuntu1.2
Fixed in
  • 2.4.16-1ubuntu1.2
Ubuntu 25.10cupspkg:deb/ubuntu/cups?arch=source&distro=questingOther threatsAffected
  • <2.4.12-0ubuntu3.9
Fixed in
  • 2.4.12-0ubuntu3.9
Ubuntu 24.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=nobleOther threatsAffected
  • <2.4.7-1.2ubuntu7.13
Fixed in
  • 2.4.7-1.2ubuntu7.13
Ubuntu 22.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=jammyOther threatsAffected
  • <2.4.1op1-1ubuntu4.20
Fixed in
  • 2.4.1op1-1ubuntu4.20
Ubuntu Pro 20.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=esm-infra/focalOther threatsAffected
  • 2.2.12-2ubuntu1 – 2.3.1-9ubuntu1.9+esm4
21 affected builds
Fixed in–
Ubuntu Pro 18.04 LTScupspkg:deb/ubuntu/cups?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 2.2.4-7ubuntu2 – 2.2.7-1ubuntu2.10+esm10
27 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…